diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-31 20:20:06 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-31 21:57:45 +0100 |
commit | e3506253f17137d6d4831b4615d74689446da72c (patch) | |
tree | 5357ed44fbbd4be6e41935a8f2d6c43ce2913316 /include | |
parent | b4fb9b4ec3e70945b07436c1f4a6a222c2d28b9f (diff) | |
download | qpdf-e3506253f17137d6d4831b4615d74689446da72c.tar.zst |
Add optional version to --json
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFJob.hh | 2 | ||||
-rw-r--r-- | include/qpdf/auto_job_c_main.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index bedf808e..5a8c88cc 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -595,7 +595,7 @@ class QPDFJob std::list<std::string> attachments_to_remove; std::list<AddAttachment> attachments_to_add; std::list<CopyAttachmentFrom> attachments_to_copy; - bool json; + int json_version; std::set<std::string> json_keys; std::set<std::string> json_objects; bool check; diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh index 3ebc8c7e..42572a3d 100644 --- a/include/qpdf/auto_job_c_main.hh +++ b/include/qpdf/auto_job_c_main.hh @@ -15,7 +15,6 @@ QPDF_DLL Config* flattenRotation(); QPDF_DLL Config* generateAppearances(); QPDF_DLL Config* ignoreXrefStreams(); QPDF_DLL Config* isEncrypted(); -QPDF_DLL Config* json(); QPDF_DLL Config* keepInlineImages(); QPDF_DLL Config* linearize(); QPDF_DLL Config* listAttachments(); @@ -76,3 +75,4 @@ QPDF_DLL Config* objectStreams(char const* parameter); QPDF_DLL Config* passwordMode(char const* parameter); QPDF_DLL Config* removeUnreferencedResources(char const* parameter); QPDF_DLL Config* streamData(char const* parameter); +QPDF_DLL Config* json(char const* parameter); |