aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFWriter.hh
diff options
context:
space:
mode:
authorMasamichi Hosoda <trueroad@trueroad.jp>2019-10-01 16:14:59 +0200
committerJay Berkenbilt <ejb@ql.org>2019-10-22 22:16:16 +0200
commit5cf4090aee4a269186e13d902f91e6af3411f4a6 (patch)
treebee68bc5933fb59a3ac3af3395f2c132365e2f5a /include/qpdf/QPDFWriter.hh
parent46ac3e21b362a8d5c7fd45c9c0384a52fc86fb9e (diff)
downloadqpdf-5cf4090aee4a269186e13d902f91e6af3411f4a6.tar.zst
Add QPDFWriter::getRenumberedObjGen()
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 edea3c15..eebc84c3 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -465,6 +465,11 @@ class QPDFWriter
QPDF_DLL
void write();
+ // Return renumbered ObjGen that was written into the final file.
+ // This method can be used after calling write().
+ QPDF_DLL
+ QPDFObjGen getRenumberedObjGen(QPDFObjGen);
+
private:
// flags used by unparseObject
static int const f_stream = 1 << 0;