Okular
textpage.h
29 * @short Represents a piece of text on a TextPage, containing its textual representation and its bounding box.
41 * the text entities are reordered to words, lines, and paragraphs, to optimize search and text selection.
45 * A TextEntity is the smallest piece of text, which the user can select, or which can be highlighted.
47 * It would not be possible to select a single glyph of the word, because its bounding box is not known.
96 * For every piece of text, a TextEntity is added, holding the string representation and the bounding box.
99 * A "glyph" is one character in the graphical representation, but the textual representation may consist of multiple characters (like diacritic modifiers).
101 * When the TextPage is added to the Page, the TextEntitys are restructured to optimize text selection.
118 AnyPixelTextAreaInclusionBehaviour, ///< A character is included into text() result if any pixel of his bounding box is in the given area
119 CentralPixelTextAreaInclusionBehaviour ///< A character is included into text() result if the central pixel of his bounding box is in the given area
155 RegularAreaRect *findText(int searchID, const QString &query, SearchDirection direction, Qt::CaseSensitivity caseSensitivity, const RegularAreaRect *area);
CaseSensitivity
NormalizedPoint is a helper class which stores the coordinates of a normalized point.
Definition: area.h:116
TextAreaInclusionBehaviour
Defines the behaviour of adding characters to text() result.
Definition: textpage.h:117
Wrapper around the information needed to generate the selection area There are two assumptions inside...
Definition: misc.h:33
This is a list of NormalizedRect, to describe an area consisting of multiple rectangles using normali...
Definition: area.h:932
A NormalizedRect is a rectangle which can be defined by two NormalizedPoints.
Definition: area.h:188
Represents a piece of text on a TextPage, containing its textual representation and its bounding box.
Definition: textpage.h:51
@ AnyPixelTextAreaInclusionBehaviour
A character is included into text() result if any pixel of his bounding box is in the given area.
Definition: textpage.h:118
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.