diff options
author | Masamichi Hosoda <trueroad@trueroad.jp> | 2019-10-01 16:53:50 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-10-22 22:16:16 +0200 |
commit | 50b329ee9f13e0c615fa8d1d637597ab3929e433 (patch) | |
tree | 29c574c80d47a8583280a3e7c1ed57a38aeeb8d9 /include | |
parent | 5cf4090aee4a269186e13d902f91e6af3411f4a6 (diff) | |
download | qpdf-50b329ee9f13e0c615fa8d1d637597ab3929e433.tar.zst |
Add QPDFWriter::getWrittenXRefTable()
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 5 |
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; |