summaryrefslogtreecommitdiffstats
path: root/src/pdf/api/qpdfdocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/api/qpdfdocument.h')
-rw-r--r--src/pdf/api/qpdfdocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdf/api/qpdfdocument.h b/src/pdf/api/qpdfdocument.h
index f80a7832b..54ca687fa 100644
--- a/src/pdf/api/qpdfdocument.h
+++ b/src/pdf/api/qpdfdocument.h
@@ -114,6 +114,7 @@ public:
QImage render(int page, QSize imageSize, QPdfDocumentRenderOptions options = QPdfDocumentRenderOptions());
Q_INVOKABLE QPdfSelection getSelection(int page, QPointF start, QPointF end);
+ Q_INVOKABLE QPdfSelection getSelectionAtIndex(int page, int startIndex, int maxLength);
Q_INVOKABLE QPdfSelection getAllText(int page);
Q_SIGNALS:
@@ -127,6 +128,7 @@ private:
friend class QPdfLinkModelPrivate;
friend class QPdfSearchModel;
friend class QPdfSearchModelPrivate;
+ friend class QQuickPdfSelection;
Q_PRIVATE_SLOT(d, void _q_tryLoadingWithSizeFromContentHeader())
Q_PRIVATE_SLOT(d, void _q_copyFromSequentialSourceDevice())