khtml::CompositeEditCommandImpl Class Reference
#include <htmlediting_impl.h>
List of all members.
Public Member Functions |
virtual int | commandID () const |
| CompositeEditCommandImpl (DOM::DocumentImpl *) |
virtual void | doApply ()=0 |
virtual void | doReapply () |
virtual void | doUnapply () |
virtual | ~CompositeEditCommandImpl () |
Protected Member Functions |
void | appendNode (DOM::NodeImpl *parent, DOM::NodeImpl *appendChild) |
void | applyCommandToComposite (EditCommand &) |
DOM::ElementImpl * | createTypingStyleElement () const |
void | deleteCollapsibleWhitespace (const DOM::Selection &selection) |
void | deleteCollapsibleWhitespace () |
void | deleteKeyPressed () |
void | deleteSelection (const DOM::Selection &selection) |
void | deleteSelection () |
void | deleteText (DOM::TextImpl *node, long offset, long count) |
void | inputText (const DOM::DOMString &text) |
void | insertNodeAfter (DOM::NodeImpl *insertChild, DOM::NodeImpl *refChild) |
void | insertNodeAt (DOM::NodeImpl *insertChild, DOM::NodeImpl *refChild, long offset) |
void | insertNodeBefore (DOM::NodeImpl *insertChild, DOM::NodeImpl *refChild) |
void | insertText (DOM::TextImpl *node, long offset, const DOM::DOMString &text) |
void | joinTextNodes (DOM::TextImpl *text1, DOM::TextImpl *text2) |
void | removeCSSProperty (DOM::CSSStyleDeclarationImpl *, int property) |
void | removeNode (DOM::NodeImpl *removeChild) |
void | removeNodeAndPrune (DOM::NodeImpl *pruneNode, DOM::NodeImpl *stopNode=0) |
void | removeNodeAttribute (DOM::ElementImpl *, int attribute) |
void | removeNodePreservingChildren (DOM::NodeImpl *node) |
void | replaceText (DOM::TextImpl *node, long offset, long count, const DOM::DOMString &replacementText) |
void | setNodeAttribute (DOM::ElementImpl *, int attribute, const DOM::DOMString &) |
void | splitTextNode (DOM::TextImpl *text, long offset) |
Protected Attributes |
QList< EditCommand > | m_cmds |
Detailed Description
Definition at line 102 of file htmlediting_impl.h.
Constructor & Destructor Documentation
khtml::CompositeEditCommandImpl::CompositeEditCommandImpl |
( |
DOM::DocumentImpl * |
|
) |
|
khtml::CompositeEditCommandImpl::~CompositeEditCommandImpl |
( |
|
) |
[virtual] |
Member Function Documentation
void khtml::CompositeEditCommandImpl::appendNode |
( |
DOM::NodeImpl * |
parent, |
|
|
DOM::NodeImpl * |
appendChild | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::applyCommandToComposite |
( |
EditCommand & |
cmd |
) |
[protected] |
int khtml::CompositeEditCommandImpl::commandID |
( |
|
) |
const [virtual] |
ElementImpl * khtml::CompositeEditCommandImpl::createTypingStyleElement |
( |
|
) |
const [protected] |
void khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace |
( |
const DOM::Selection & |
selection |
) |
[protected] |
void khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace |
( |
|
) |
[protected] |
void khtml::CompositeEditCommandImpl::deleteKeyPressed |
( |
|
) |
[protected] |
void khtml::CompositeEditCommandImpl::deleteSelection |
( |
const DOM::Selection & |
selection |
) |
[protected] |
void khtml::CompositeEditCommandImpl::deleteSelection |
( |
|
) |
[protected] |
void khtml::CompositeEditCommandImpl::deleteText |
( |
DOM::TextImpl * |
node, |
|
|
long |
offset, |
|
|
long |
count | |
|
) |
| | [protected] |
virtual void khtml::CompositeEditCommandImpl::doApply |
( |
|
) |
[pure virtual] |
void khtml::CompositeEditCommandImpl::doReapply |
( |
|
) |
[virtual] |
void khtml::CompositeEditCommandImpl::doUnapply |
( |
|
) |
[virtual] |
void khtml::CompositeEditCommandImpl::inputText |
( |
const DOM::DOMString & |
text |
) |
[protected] |
void khtml::CompositeEditCommandImpl::insertNodeAfter |
( |
DOM::NodeImpl * |
insertChild, |
|
|
DOM::NodeImpl * |
refChild | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::insertNodeAt |
( |
DOM::NodeImpl * |
insertChild, |
|
|
DOM::NodeImpl * |
refChild, |
|
|
long |
offset | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::insertNodeBefore |
( |
DOM::NodeImpl * |
insertChild, |
|
|
DOM::NodeImpl * |
refChild | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::insertText |
( |
DOM::TextImpl * |
node, |
|
|
long |
offset, |
|
|
const DOM::DOMString & |
text | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::joinTextNodes |
( |
DOM::TextImpl * |
text1, |
|
|
DOM::TextImpl * |
text2 | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::removeCSSProperty |
( |
DOM::CSSStyleDeclarationImpl * |
, |
|
|
int |
property | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::removeNode |
( |
DOM::NodeImpl * |
removeChild |
) |
[protected] |
void khtml::CompositeEditCommandImpl::removeNodeAndPrune |
( |
DOM::NodeImpl * |
pruneNode, |
|
|
DOM::NodeImpl * |
stopNode = 0 | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::removeNodeAttribute |
( |
DOM::ElementImpl * |
, |
|
|
int |
attribute | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::removeNodePreservingChildren |
( |
DOM::NodeImpl * |
node |
) |
[protected] |
void khtml::CompositeEditCommandImpl::replaceText |
( |
DOM::TextImpl * |
node, |
|
|
long |
offset, |
|
|
long |
count, |
|
|
const DOM::DOMString & |
replacementText | |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::setNodeAttribute |
( |
DOM::ElementImpl * |
, |
|
|
int |
attribute, |
|
|
const DOM::DOMString & |
| |
|
) |
| | [protected] |
void khtml::CompositeEditCommandImpl::splitTextNode |
( |
DOM::TextImpl * |
text, |
|
|
long |
offset | |
|
) |
| | [protected] |
Member Data Documentation
The documentation for this class was generated from the following files: