Okular
textpage.h
30 * @short Represents a piece of text on a TextPage, containing its textual representation and its bounding box.
42 * the text entities are reordered to words, lines, and paragraphs, to optimize search and text selection.
46 * A TextEntity is the smallest piece of text, which the user can select, or which can be highlighted.
48 * It would not be possible to select a single glyph of the word, because its bounding box is not known.
92 * For every piece of text, a TextEntity is added, holding the string representation and the bounding box.
95 * A "glyph" is one character in the graphical representation, but the textual representation may consist of multiple characters (like diacritic modifiers).
97 * When the TextPage is added to the Page, the TextEntitys are restructured to optimize text selection.
114 AnyPixelTextAreaInclusionBehaviour, ///< A character is included into text() result if any pixel of his bounding box is in the given area
115 CentralPixelTextAreaInclusionBehaviour ///< A character is included into text() result if the central pixel of his bounding box is in the given area
116 };
151 RegularAreaRect *findText(int searchID, const QString &query, SearchDirection direction, Qt::CaseSensitivity caseSensitivity, const RegularAreaRect *area);
NormalizedPoint is a helper class which stores the coordinates of a normalized point.
Definition area.h:117
A NormalizedRect is a rectangle which can be defined by two NormalizedPoints.
Definition area.h:189
This is a list of NormalizedRect, to describe an area consisting of multiple rectangles using normali...
Definition area.h:927
Represents a piece of text on a TextPage, containing its textual representation and its bounding box.
Definition textpage.h:53
TextAreaInclusionBehaviour
Defines the behaviour of adding characters to text() result.
Definition textpage.h:113
@ AnyPixelTextAreaInclusionBehaviour
A character is included into text() result if any pixel of his bounding box is in the given area.
Definition textpage.h:114
Wrapper around the information needed to generate the selection area.
Definition misc.h:19
CaseSensitivity
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.