Poppler Qt6 24.12.0
Public Member Functions | List of all members
Poppler::TextBox Class Reference

#include <poppler-qt6.h>

Public Member Functions

QRectF boundingBox () const
 
QRectF charBoundingBox (int i) const
 
bool hasSpaceAfter () const
 
TextBoxnextWord () const
 
QString text () const
 
 TextBox (const QString &text, const QRectF &bBox)
 
 ~TextBox ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TextBox()

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.

Member Function Documentation

◆ nextWord()

TextBox * Poppler::TextBox::nextWord ( ) const

Returns the pointer to the next text box, if there is one.

Otherwise, it returns a null pointer.


The documentation for this class was generated from the following file: