summaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFPageDocumentHelper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFPageDocumentHelper.hh')
-rw-r--r--include/qpdf/QPDFPageDocumentHelper.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QPDFPageDocumentHelper.hh b/include/qpdf/QPDFPageDocumentHelper.hh
index d7d4a026..5847e078 100644
--- a/include/qpdf/QPDFPageDocumentHelper.hh
+++ b/include/qpdf/QPDFPageDocumentHelper.hh
@@ -52,6 +52,12 @@ class QPDFPageDocumentHelper: public QPDFDocumentHelper
QPDF_DLL
void pushInheritedAttributesToPage();
+ // This calls QPDFPageObjectHelper::removeUnreferencedResources
+ // for every page in the document. See comments in
+ // QPDFPageObjectHelper.hh for details.
+ QPDF_DLL
+ void removeUnreferencedResources();
+
// Add new page at the beginning or the end of the current pdf.
// The newpage parameter may be either a direct object, an
// indirect object from this QPDF, or an indirect object from