diff options
Diffstat (limited to 'include/qpdf/QPDFPageObjectHelper.hh')
-rw-r--r-- | include/qpdf/QPDFPageObjectHelper.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QPDFPageObjectHelper.hh b/include/qpdf/QPDFPageObjectHelper.hh index 2d307f34..9226a748 100644 --- a/include/qpdf/QPDFPageObjectHelper.hh +++ b/include/qpdf/QPDFPageObjectHelper.hh @@ -23,6 +23,7 @@ #define __QPDFPAGEOBJECTHELPER_HH__ #include <qpdf/QPDFObjectHelper.hh> +#include <qpdf/QPDFAnnotationObjectHelper.hh> #include <qpdf/DLL.h> @@ -43,6 +44,13 @@ class QPDFPageObjectHelper: public QPDFObjectHelper QPDF_DLL std::map<std::string, QPDFObjectHandle> getPageImages(); + // Return the annotations in the page's "/Annots" list, if any. If + // only_subtype is non-empty, only include annotations of the + // given subtype. + QPDF_DLL + std::vector<QPDFAnnotationObjectHelper> getAnnotations( + std::string const& only_subtype = ""); + // Returns a vector of stream objects representing the content // streams for the given page. This routine allows the caller to // not care whether there are one or more than one content streams |