• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
  • CompositeEditCommandImpl
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
khtml::CompositeEditCommandImpl Class Referenceabstract

#include <htmlediting_impl.h>

Inheritance diagram for khtml::CompositeEditCommandImpl:
Inheritance graph
[legend]

Public Member Functions

 CompositeEditCommandImpl (DOM::DocumentImpl *)
 
virtual ~CompositeEditCommandImpl ()
 
virtual void doApply ()=0
 
virtual void doReapply ()
 
virtual void doUnapply ()
 
- Public Member Functions inherited from khtml::EditCommandImpl
 EditCommandImpl (DOM::DocumentImpl *)
 
virtual ~EditCommandImpl ()
 
void apply ()
 
virtual DOM::DocumentImpl * document () const
 
DOM::Selection endingSelection () const
 
bool isCompositeStep () const
 
virtual bool isInputTextCommand () const
 
virtual bool isTypingCommand () 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 ()
 
- Public Member Functions inherited from khtml::SharedCommandImpl
 SharedCommandImpl ()
 
virtual ~SharedCommandImpl ()
 

Protected Member Functions

void appendNode (DOM::NodeImpl *parent, DOM::NodeImpl *appendChild)
 
void applyCommandToComposite (PassRefPtr< EditCommandImpl >)
 
DOM::ElementImpl * createTypingStyleElement () const
 
void deleteCollapsibleWhitespace ()
 
void deleteCollapsibleWhitespace (const DOM::Selection &selection)
 
void deleteKeyPressed ()
 
void deleteSelection ()
 
void deleteSelection (const DOM::Selection &selection)
 
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< RefPtr< EditCommandImpl > > m_cmds
 

Additional Inherited Members

- Public Types inherited from khtml::EditCommandImpl
enum  ECommandState { NotApplied, Applied }
 

Detailed Description

Definition at line 137 of file htmlediting_impl.h.

Constructor & Destructor Documentation

khtml::CompositeEditCommandImpl::CompositeEditCommandImpl ( DOM::DocumentImpl *  )

Definition at line 310 of file htmlediting_impl.cpp.

khtml::CompositeEditCommandImpl::~CompositeEditCommandImpl ( )
virtual

Definition at line 315 of file htmlediting_impl.cpp.

Member Function Documentation

void khtml::CompositeEditCommandImpl::appendNode ( DOM::NodeImpl *  parent,
DOM::NodeImpl *  appendChild 
)
protected

Definition at line 395 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::applyCommandToComposite ( PassRefPtr< EditCommandImpl >  cmd)
protected

Definition at line 346 of file htmlediting_impl.cpp.

ElementImpl * khtml::CompositeEditCommandImpl::createTypingStyleElement ( ) const
protected

Definition at line 504 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace ( )
protected

Definition at line 474 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace ( const DOM::Selection &  selection)
protected
void khtml::CompositeEditCommandImpl::deleteKeyPressed ( )
protected
void khtml::CompositeEditCommandImpl::deleteSelection ( )
protected

Definition at line 458 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteSelection ( const DOM::Selection &  selection)
protected
void khtml::CompositeEditCommandImpl::deleteText ( DOM::TextImpl *  node,
long  offset,
long  count 
)
protected

Definition at line 444 of file htmlediting_impl.cpp.

virtual void khtml::CompositeEditCommandImpl::doApply ( )
pure virtual

Implements khtml::EditCommandImpl.

Implemented in khtml::IndentOutdentCommandImpl, khtml::InsertListCommandImpl, khtml::TypingCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::MoveSelectionCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::InputTextCommandImpl, khtml::InputNewlineCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, and khtml::ApplyStyleCommandImpl.

void khtml::CompositeEditCommandImpl::doReapply ( )
virtual

Reimplemented from khtml::EditCommandImpl.

Definition at line 331 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::doUnapply ( )
virtual

Implements khtml::EditCommandImpl.

Definition at line 319 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::inputText ( const DOM::DOMString &  text)
protected

Definition at line 431 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::insertNodeAfter ( DOM::NodeImpl *  insertChild,
DOM::NodeImpl *  refChild 
)
protected

Definition at line 361 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::insertNodeAt ( DOM::NodeImpl *  insertChild,
DOM::NodeImpl *  refChild,
long  offset 
)
protected

Definition at line 372 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::insertNodeBefore ( DOM::NodeImpl *  insertChild,
DOM::NodeImpl *  refChild 
)
protected

Definition at line 355 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::insertText ( DOM::TextImpl *  node,
long  offset,
const DOM::DOMString &  text 
)
protected

Definition at line 438 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::joinTextNodes ( DOM::TextImpl *  text1,
DOM::TextImpl *  text2 
)
protected

Definition at line 425 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::removeCSSProperty ( DOM::CSSStyleDeclarationImpl *  ,
int  property 
)
protected

Definition at line 486 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::removeNode ( DOM::NodeImpl *  removeChild)
protected

Definition at line 401 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::removeNodeAndPrune ( DOM::NodeImpl *  pruneNode,
DOM::NodeImpl *  stopNode = 0 
)
protected

Definition at line 407 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::removeNodeAttribute ( DOM::ElementImpl *  ,
int  attribute 
)
protected

Definition at line 492 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::removeNodePreservingChildren ( DOM::NodeImpl *  node)
protected

Definition at line 413 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::replaceText ( DOM::TextImpl *  node,
long  offset,
long  count,
const DOM::DOMString &  replacementText 
)
protected

Definition at line 450 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::setNodeAttribute ( DOM::ElementImpl *  ,
int  attribute,
const DOM::DOMString &   
)
protected

Definition at line 498 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::splitTextNode ( DOM::TextImpl *  text,
long  offset 
)
protected

Definition at line 419 of file htmlediting_impl.cpp.

Member Data Documentation

QList<RefPtr<EditCommandImpl> > khtml::CompositeEditCommandImpl::m_cmds
protected

Definition at line 176 of file htmlediting_impl.h.


The documentation for this class was generated from the following files:
  • htmlediting_impl.h
  • htmlediting_impl.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal