khtml::EditableInlineBoxIterator Class Reference
Iterates over the editable inner elements of an inline flow box. More...
#include <khtml_caret_p.h>
Inheritance diagram for khtml::EditableInlineBoxIterator:

Public Member Functions | |
EditableInlineBoxIterator (KHTMLPart *part, RenderArena *arena, InlineFlowBox *flowBox, bool fromEnd=false) | |
EditableInlineBoxIterator (LineIterator &lit, bool fromEnd=false, InlineBox *initBox=0) | |
EditableInlineBoxIterator () | |
bool | isAdjacent () const |
EditableInlineBoxIterator & | operator++ () |
EditableInlineBoxIterator & | operator-- () |
Protected Member Functions | |
bool | isEditable (InlineBox *b) |
Protected Attributes | |
KHTMLPart * | m_part |
bool | adjacent |
Detailed Description
Iterates over the editable inner elements of an inline flow box.
The given inline flow box must be a line box. The incrementor will traverse all leaf inline boxes. In contrast to InlineBoxIterator
this iterator only regards inline boxes which are editable.
- Author:
- Leo Savernik
Definition at line 381 of file khtml_caret_p.h.
Constructor & Destructor Documentation
|
creates a new iterator, initialized with the given flow box.
Definition at line 393 of file khtml_caret_p.h. References isEditable(). |
|
initializes a new iterator from the given line iterator, beginning with the given inline box, if specified.
Definition at line 403 of file khtml_caret_p.h. References isEditable(). |
|
empty constructor. Use only to copy another iterator into this one. Definition at line 418 of file khtml_caret_p.h. |
Member Function Documentation
|
returns e. no intervening inline boxes. Definition at line 423 of file khtml_caret_p.h. |
|
increments the iterator to point to the next editable inline box on this line box.
Reimplemented from khtml::InlineBoxIterator. Definition at line 428 of file khtml_caret_p.h. References isEditable(). |
|
decrements the iterator to point to the previous editable inline box on this line box.
Reimplemented from khtml::InlineBoxIterator. Definition at line 440 of file khtml_caret_p.h. References isEditable(). |
|
finds out if the given box is editable.
Definition at line 454 of file khtml_caret_p.h. References KHTMLPart::isCaretMode(), KHTMLPart::isEditable(), and kdDebug(). Referenced by EditableInlineBoxIterator(), operator++(), and operator--(). |
The documentation for this class was generated from the following file: