KHTML
khtml_caret_p.h
Go to the documentation of this file.
165 RenderBlock *containingBlock() const { return _box ? static_cast<RenderBlock *>(cb) : cb->containingBlock(); }
410 SeekBoxParams(InlineBox *box, bool outside, bool outsideEnd, RenderObject *obj, CaretBoxIterator &it)
898 RenderTableSection::RowStruct *operator *()
RenderObject * baseObject() const
Returns the base render object which the caret must not advance beyond.
Definition: khtml_caret_p.h:706
KHTMLPart::CaretDisplayPolicy displayNonFocused
Definition: khtml_caret_p.h:70
ErgonomicEditableLineIterator()
Constructs an uninitialized iterator which must be assigned a line iterator before it can be used...
Definition: khtml_caret_p.h:943
static CaretBoxIterator & currentCaretBox()
Whenever a new line iterator is created, it gets a caret box created.
Definition: khtml_caret_p.h:576
int origX
For natural traversal of lines, the original x position is saved, and the actual x is set to the firs...
Definition: khtml_caret_p.h:79
Definition: khtml_caret_p.h:54
bool isOutside() const
returns true when this caret box represents an ouside position of an element.
Definition: khtml_caret_p.h:188
SeekBoxParams(InlineBox *box, bool outside, bool outsideEnd, RenderObject *obj, CaretBoxIterator &it)
Definition: khtml_caret_p.h:410
void peekPrev()
reads ahead the previous node and updates the data structures accordingly
Definition: khtml_caret_p.h:1081
MassDeleter< CaretBoxLine > CaretBoxLineDeleter
Definition: khtml_caret_p.h:475
KAction * copy(const QObject *recvr, const char *slot, QObject *parent)
bool check(const CaretBoxIterator &chit)
checks whether this box matches the given iterator.
Definition: khtml_caret_p.h:432
Represents a render table as a linear list of rows.
Definition: khtml_caret_p.h:868
Definition: khtmlview.h:36
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void peekNext()
reads ahead the next node and updates the data structures accordingly
Definition: khtml_caret_p.h:1066
bool isOutside() const
returns whether this caret box line is outside.
Definition: khtml_caret_p.h:349
Iterates through the editable lines of a document, in a topological order.
Definition: khtml_caret_p.h:929
const Iterator & end() const
Returns a line iterator pointing right after the end of the document.
Definition: khtml_caret_p.h:676
EditableLineIterator(const LineIterator &it, bool fromEnd=false)
Initializes a new iterator.
Definition: khtml_caret_p.h:817
bool isOutsideEnd() const
returns whether this caret box line is at the outside end.
Definition: khtml_caret_p.h:359
bool equalsBox(const InlineBox *box, bool outside, bool outsideEnd) const
compares whether this seek box matches the given specification
Definition: khtml_caret_p.h:415
EditableCharacterIterator(LinearDocument *ld)
constructs a new iterator from the given linear document.
Definition: khtml_caret_p.h:1005
long maxOffset() const
returns the maximum offset for this caret box.
Definition: khtml_caret_p.h:204
bool isInline() const
returns the replaced render object if this caret box represents one, 0 otherwise. ...
Definition: khtml_caret_p.h:175
bool isOutsideEnd()
Returns whether this line represents the outside end of the containing block.
Definition: khtml_caret_p.h:554
LinearDocument * linearDocument() const
returns the associated linear document
Definition: khtml_caret_p.h:520
CaretAdvancePolicy advancePolicy() const
Returns the current caret advance policy.
Definition: khtml_caret_p.h:697
bool operator==(const DOMString &a, const DOMString &b)
Definition: dom_string.cpp:418
Stores objects of a certain type, and calls delete on each of them when this data structure is destro...
Definition: khtml_caret_p.h:102
bool isLineBreak() const
returns true if this caret box represents a line break
Definition: khtml_caret_p.h:181
Iterates over the elements of a caret box line.
Definition: khtml_caret_p.h:221
bool isInlineTextBox() const
returns true if this caret box represents an inline text box.
Definition: khtml_caret_p.h:178
Definition: khtml_caret_p.h:54
long minOffset() const
returns the minimum offset for this caret box.
Definition: khtml_caret_p.h:201
contextual information about the caret which is related to the view.
Definition: khtml_caret_p.h:60
bool isEnd() const
returns true when the end of the document has been reached.
Definition: khtml_caret_p.h:1027
Definition: khtml_caret_p.h:54
TableRowIterator(RenderTableSection *section, int index)
Constructs a new iterator.
Definition: khtml_caret_p.h:886
static long currentModifiedOffset()
Whenever a new line iterator is created, it calculates a modified offset that is to be used with resp...
Definition: khtml_caret_p.h:586
bool isOutside() const
Tells whether the offset is meant to be outside or inside the containing block.
Definition: khtml_caret_p.h:559
EditableCaretBoxIterator(LineIterator &lit, bool fromEnd=false, CaretBoxIterator *it=0)
initializes a new iterator from the given line iterator, beginning with the given caret box iterator...
Definition: khtml_caret_p.h:751
ErgonomicEditableLineIterator(const LineIterator &it, int x)
Initializes a new ergonomic editable line iterator from the given one.
Definition: khtml_caret_p.h:937
Represents the whole document in terms of lines.
Definition: khtml_caret_p.h:622
int chr() const
returns the current character, or -1 if not on a text node, or beyond the end.
Definition: khtml_caret_p.h:1018
Represents a rectangular box within which the caret is located.
Definition: khtml_caret_p.h:126
RenderBlock * containingBlock() const
returns the containing block of this caret box.
Definition: khtml_caret_p.h:165
CaretBox(int x, int y, int w, int h, RenderBox *cb, bool outside, bool outsideEnd)
initializes the caret box from scratch
Definition: khtml_caret_p.h:150
Provides iterating through the document in terms of characters.
Definition: khtml_caret_p.h:984
bool isAdjacent() const
returns true when the current caret box is adjacent to the previously iterated caret box...
Definition: khtml_caret_p.h:769
bool isOutsideEnd() const
returns the position at which the outside is targeted at.
Definition: khtml_caret_p.h:195
const KShortcut & end()
Iterates over the editable inner elements of a caret line box.
Definition: khtml_caret_p.h:742
CaretBox(InlineBox *ibox, bool outside, bool outsideEnd)
initializes the caret box from the given inline box
Definition: khtml_caret_p.h:142
const Iterator & preBegin() const
Returns a line iterator pointing just before the very first line of the document (this is somewhat an...
Definition: khtml_caret_p.h:692
const KShortcut & begin()
bool isEditable(LineIterator &it)
finds out if the current line is editable.
Definition: khtml_caret_p.h:853
Iterates through the editable lines of a document.
Definition: khtml_caret_p.h:807
InlineFlowBox * baseFlowBox() const
returns the base inline flow box which the caret boxes of this caret box line have been constructed f...
Definition: khtml_caret_p.h:338
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat May 13 2017 06:44:28 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat May 13 2017 06:44:28 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.