From 50b329ee9f13e0c615fa8d1d637597ab3929e433 Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda Date: Tue, 1 Oct 2019 23:53:50 +0900 Subject: Add QPDFWriter::getWrittenXRefTable() --- include/qpdf/QPDFWriter.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 getWrittenXRefTable(); + private: // flags used by unparseObject static int const f_stream = 1 << 0; -- cgit v1.2.3-54-g00ecf