KHTML
khtml::EditCommandImpl Class Reference
#include <htmlediting_impl.h>

Public Types | |
enum | ECommandState { NotApplied, Applied } |
Public Member Functions | |
void | apply () |
virtual int | commandID () const |
virtual void | doApply ()=0 |
virtual DOM::DocumentImpl * | document () const |
virtual void | doReapply () |
virtual void | doUnapply ()=0 |
EditCommandImpl (DOM::DocumentImpl *) | |
DOM::Selection | endingSelection () const |
bool | isCompositeStep () const |
EditCommandImpl * | parent () const |
void | reapply () |
void | setEndingSelection (const DOM::Selection &s) |
void | setParent (EditCommandImpl *) |
void | setStartingSelection (const DOM::Selection &s) |
void | setState (ECommandState state) |
DOM::Selection | startingSelection () const |
ECommandState | state () const |
void | unapply () |
virtual | ~EditCommandImpl () |
Detailed Description
Definition at line 59 of file htmlediting_impl.h.
Member Enumeration Documentation
Definition at line 70 of file htmlediting_impl.h.
Constructor & Destructor Documentation
khtml::EditCommandImpl::EditCommandImpl | ( | DOM::DocumentImpl * | ) |
khtml::EditCommandImpl::~EditCommandImpl | ( | ) | [virtual] |
Definition at line 235 of file htmlediting_impl.cpp.
Member Function Documentation
void khtml::EditCommandImpl::apply | ( | ) | [virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 245 of file htmlediting_impl.cpp.
int khtml::EditCommandImpl::commandID | ( | ) | const [virtual] |
Implements khtml::SharedCommandImpl.
Reimplemented in khtml::CompositeEditCommandImpl, khtml::AppendNodeCommandImpl, khtml::ApplyStyleCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::DeleteTextCommandImpl, khtml::InputNewlineCommandImpl, khtml::InputTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InsertTextCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::MoveSelectionCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, khtml::SetNodeAttributeCommandImpl, khtml::SplitTextNodeCommandImpl, and khtml::TypingCommandImpl.
Definition at line 240 of file htmlediting_impl.cpp.
virtual void khtml::EditCommandImpl::doApply | ( | ) | [pure virtual] |
Implemented in khtml::CompositeEditCommandImpl, khtml::AppendNodeCommandImpl, khtml::ApplyStyleCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::DeleteTextCommandImpl, khtml::InputNewlineCommandImpl, khtml::InputTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InsertTextCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::MoveSelectionCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, khtml::SetNodeAttributeCommandImpl, khtml::SplitTextNodeCommandImpl, and khtml::TypingCommandImpl.
virtual DOM::DocumentImpl* khtml::EditCommandImpl::document | ( | ) | const [inline, virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 80 of file htmlediting_impl.h.
void khtml::EditCommandImpl::doReapply | ( | ) | [virtual] |
Reimplemented in khtml::CompositeEditCommandImpl.
Definition at line 293 of file htmlediting_impl.cpp.
virtual void khtml::EditCommandImpl::doUnapply | ( | ) | [pure virtual] |
Implemented in khtml::CompositeEditCommandImpl, khtml::AppendNodeCommandImpl, khtml::DeleteTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InsertTextCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::SetNodeAttributeCommandImpl, and khtml::SplitTextNodeCommandImpl.
DOM::Selection khtml::EditCommandImpl::endingSelection | ( | ) | const [inline, virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 83 of file htmlediting_impl.h.
bool khtml::EditCommandImpl::isCompositeStep | ( | ) | const [inline, virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 66 of file htmlediting_impl.h.
EditCommandImpl * khtml::EditCommandImpl::parent | ( | ) | const [virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 318 of file htmlediting_impl.cpp.
void khtml::EditCommandImpl::reapply | ( | ) | [virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 277 of file htmlediting_impl.cpp.
void khtml::EditCommandImpl::setEndingSelection | ( | const DOM::Selection & | s | ) | [virtual] |
Implements khtml::SharedCommandImpl.
void khtml::EditCommandImpl::setParent | ( | EditCommandImpl * | cmd | ) |
Definition at line 323 of file htmlediting_impl.cpp.
void khtml::EditCommandImpl::setStartingSelection | ( | const DOM::Selection & | s | ) | [virtual] |
Implements khtml::SharedCommandImpl.
void khtml::EditCommandImpl::setState | ( | ECommandState | state | ) | [inline] |
Definition at line 86 of file htmlediting_impl.h.
DOM::Selection khtml::EditCommandImpl::startingSelection | ( | ) | const [inline, virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 82 of file htmlediting_impl.h.
ECommandState khtml::EditCommandImpl::state | ( | ) | const [inline] |
Definition at line 85 of file htmlediting_impl.h.
void khtml::EditCommandImpl::unapply | ( | ) | [virtual] |
Implements khtml::SharedCommandImpl.
Definition at line 261 of file htmlediting_impl.cpp.
The documentation for this class was generated from the following files: