aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFWriter.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh
index eebc84c3..06de6a56 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -470,6 +470,11 @@ class QPDFWriter
QPDF_DLL
QPDFObjGen getRenumberedObjGen(QPDFObjGen);
+ // Return XRef entry that was written into the final file.
+ // This method can be used after calling write().
+ QPDF_DLL
+ std::map<QPDFObjGen, QPDFXRefEntry> getWrittenXRefTable();
+
private:
// flags used by unparseObject
static int const f_stream = 1 << 0;