summaryrefslogtreecommitdiff
path: root/qt4/src/poppler-qt4.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt4/src/poppler-qt4.h')
-rw-r--r--qt4/src/poppler-qt4.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/qt4/src/poppler-qt4.h b/qt4/src/poppler-qt4.h
index af2652d8..ee701aa0 100644
--- a/qt4/src/poppler-qt4.h
+++ b/qt4/src/poppler-qt4.h
@@ -24,6 +24,7 @@
#include <QtCore/QByteArray>
#include <QtCore/QDateTime>
+#include <QtCore/QVector>
#include <QtGui/QPixmap>
#include <QtXml/QDomDocument>
@@ -52,6 +53,7 @@ namespace Poppler {
the text is found.
*/
class TextBox {
+ friend class Page;
public:
/**
The default constructor sets the text and the rectangle the
@@ -71,6 +73,12 @@ namespace Poppler {
*/
const QRectF &boundingBox() const;
+ TextBox *nextWord() const;
+
+ double edge(int i) const;
+
+ bool hasSpaceAfter() const;
+
private:
TextBoxData *m_data;
};