aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFWriter.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-03-09 17:27:13 +0100
committerJay Berkenbilt <ejb@ql.org>2009-03-09 17:27:13 +0100
commitf62bec3ee53a377548ec197423efc20d4f4dc206 (patch)
tree0058163a191363e8a5a7b1879206050bef48b579 /include/qpdf/QPDFWriter.hh
parentaa92e1ddb2bc18b45f9d2a09235beaa9da9ac006 (diff)
downloadqpdf-f62bec3ee53a377548ec197423efc20d4f4dc206.tar.zst
update test suite to handle original object ID comments
git-svn-id: svn+q:///qpdf/trunk@663 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf/QPDFWriter.hh')
-rw-r--r--include/qpdf/QPDFWriter.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh
index 217115e8..c354ec30 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -74,6 +74,12 @@ class QPDFWriter
// suites.
void setStaticID(bool);
+ // Suppress inclusion of comments indicating original object IDs
+ // when writing QDF files. This can also be useful for testing,
+ // particularly when using comparison of two qdf files to
+ // determine whether two PDF files have identical content.
+ void setSuppressOriginalObjectIDs(bool);
+
// Preserve encryption. The default is true unless prefilering,
// content normalization, or qdf mode has been selected in which
// case encryption is never preserved. Encryption is also not
@@ -208,6 +214,7 @@ class QPDFWriter
stream_data_e stream_data_mode;
bool qdf_mode;
bool static_id;
+ bool suppress_original_object_ids;
bool direct_stream_lengths;
bool encrypted;
bool preserve_encryption;