aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFWriter.hh
diff options
context:
space:
mode:
authorMasamichi Hosoda <trueroad@trueroad.jp>2019-10-01 16:53:50 +0200
committerJay Berkenbilt <ejb@ql.org>2019-10-22 22:16:16 +0200
commit50b329ee9f13e0c615fa8d1d637597ab3929e433 (patch)
tree29c574c80d47a8583280a3e7c1ed57a38aeeb8d9 /include/qpdf/QPDFWriter.hh
parent5cf4090aee4a269186e13d902f91e6af3411f4a6 (diff)
downloadqpdf-50b329ee9f13e0c615fa8d1d637597ab3929e433.tar.zst
Add QPDFWriter::getWrittenXRefTable()
Diffstat (limited to 'include/qpdf/QPDFWriter.hh')
-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;