diff options
Diffstat (limited to 'qt4/src/poppler-page.cc')
-rw-r--r-- | qt4/src/poppler-page.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc index f7c24273..32f6d7e7 100644 --- a/qt4/src/poppler-page.cc +++ b/qt4/src/poppler-page.cc @@ -671,7 +671,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 ) |