summaryrefslogtreecommitdiff
path: root/qt5/src/poppler-page.cc
diff options
context:
space:
mode:
Diffstat (limited to 'qt5/src/poppler-page.cc')
-rw-r--r--qt5/src/poppler-page.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/qt5/src/poppler-page.cc b/qt5/src/poppler-page.cc
index df2ef691..29772147 100644
--- a/qt5/src/poppler-page.cc
+++ b/qt5/src/poppler-page.cc
@@ -653,7 +653,12 @@ QList<Link*> Page::links() const
QList<Annotation*> Page::annotations() const
{
- return AnnotationPrivate::findAnnotations(m_page->page, m_page->parentDoc);
+ return AnnotationPrivate::findAnnotations(m_page->page, m_page->parentDoc, QSet<Annotation::SubType>());
+}
+
+QList<Annotation*> Page::annotations(const QSet<Annotation::SubType> &subtypes) const
+{
+ return AnnotationPrivate::findAnnotations(m_page->page, m_page->parentDoc, subtypes);
}
void Page::addAnnotation( const Annotation *ann )