|
Poppler Qt6 25.11.90
|
#include <poppler-qt6.h>
Public Member Functions | |
| QRectF | boundingBox () const |
| QRectF | charBoundingBox (int i) const |
| bool | hasSpaceAfter () const |
| TextBox * | nextWord () const |
| QString | text () const |
| TextBox (const QString &text, const QRectF &bBox) | |
| ~TextBox () | |
Describes the physical location of text on a document page.
This very simple class describes the physical location of text on the page. It consists of
| Poppler::TextBox::TextBox | ( | const QString & | text, |
| const QRectF & | bBox | ||
| ) |
The default constructor sets the text and the rectangle that contains the text.
Coordinates for the bBox are in points = 1/72 of an inch.
| TextBox * Poppler::TextBox::nextWord | ( | ) | const |
Returns the pointer to the next text box, if there is one.
Otherwise, it returns a null pointer.