aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index ad84fad5..681d233c 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -431,6 +431,12 @@ class QPDF
QPDF_DLL
void showXRefTable();
+ // Return the approximate number of indirect objects. It is
+ // approximate because not all objects in the file are preserved
+ // in all cases.
+ QPDF_DLL
+ size_t getObjectCount();
+
// Returns a list of indirect objects for every object in the xref
// table. Useful for discovering objects that are not otherwise
// referenced.