diff options
Diffstat (limited to 'qt5/src/poppler-qt5.h')
-rw-r--r-- | qt5/src/poppler-qt5.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h index 6f360888..d8f13eac 100644 --- a/qt5/src/poppler-qt5.h +++ b/qt5/src/poppler-qt5.h @@ -689,6 +689,21 @@ delete it; */ QList<Annotation*> annotations() const; + + /** + Returns the annotations of the page + + \param subtypes the subtypes of annotations you are interested in + + \note If you call this method twice, you get different objects + pointing to the same annotations (see Annotation). + The caller owns the returned objects and they should be deleted + when no longer required. + + \since 0.28 + */ + QList<Annotation*> annotations(const QSet<Annotation::SubType> &subtypes) const; + /** Adds an annotation to the page |