Poppler Qt4 0.18.1
Public Member Functions
Poppler::TextBox Class Reference

Describes the physical location of text on a document page. More...

#include <poppler-qt4.h>

List of all members.

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

Poppler::TextBox::TextBox ( const QString &  text,
const QRectF &  bBox 
)

The default constructor sets the text and the rectangle that contains the text.

Coordinated for the bBox are in points = 1/72 of an inch.


Member Function Documentation

QRectF Poppler::TextBox::boundingBox ( ) const

Returns the position of the text, in point, i.e., 1/72 of an inch.

Since:
0.8
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: