aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-30 20:10:19 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-31 21:57:45 +0100
commitcd30f626fedef7c577766d32e84a65a7f0fbcb7a (patch)
tree0eb08a777a10a8f369d52fae9cb04102194d315b /libqpdf
parenteeffc69d872e16468f3627054dfdad586fafae29 (diff)
downloadqpdf-cd30f626fedef7c577766d32e84a65a7f0fbcb7a.tar.zst
QPDFJob: remove from json a few things that only make sense from CLI
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/qpdf/auto_job_json_init.hh3
-rw-r--r--libqpdf/qpdf/auto_job_schema.hh3
2 files changed, 0 insertions, 6 deletions
diff --git a/libqpdf/qpdf/auto_job_json_init.hh b/libqpdf/qpdf/auto_job_json_init.hh
index eb32fcb8..87489412 100644
--- a/libqpdf/qpdf/auto_job_json_init.hh
+++ b/libqpdf/qpdf/auto_job_json_init.hh
@@ -87,9 +87,7 @@ beginDict("inspect", bindJSON(&Handlers::beginInspect), bindBare(&Handlers::endI
addBare("check", [this]() { c_main->check(); });
addBare("checkLinearization", [this]() { c_main->checkLinearization(); });
addBare("filteredStreamData", [this]() { c_main->filteredStreamData(); });
-addBare("isEncrypted", [this]() { c_main->isEncrypted(); });
addBare("rawStreamData", [this]() { c_main->rawStreamData(); });
-addBare("requiresPassword", [this]() { c_main->requiresPassword(); });
addBare("showEncryption", [this]() { c_main->showEncryption(); });
addBare("showEncryptionKey", [this]() { c_main->showEncryptionKey(); });
addBare("showLinearization", [this]() { c_main->showLinearization(); });
@@ -111,7 +109,6 @@ addChoices("keepFilesOpen", yn_choices, [this](char const* p) { c_main->keepFile
addParameter("keepFilesOpenThreshold", [this](char const* p) { c_main->keepFilesOpenThreshold(p); });
addBare("noWarn", [this]() { c_main->noWarn(); });
addBare("verbose", [this]() { c_main->verbose(); });
-addBare("warningExit0", [this]() { c_main->warningExit0(); });
addBare("ignoreXrefStreams", [this]() { c_main->ignoreXrefStreams(); });
addBare("passwordIsHexKey", [this]() { c_main->passwordIsHexKey(); });
addChoices("passwordMode", password_mode_choices, [this](char const* p) { c_main->passwordMode(p); });
diff --git a/libqpdf/qpdf/auto_job_schema.hh b/libqpdf/qpdf/auto_job_schema.hh
index 94391932..ba5c93df 100644
--- a/libqpdf/qpdf/auto_job_schema.hh
+++ b/libqpdf/qpdf/auto_job_schema.hh
@@ -72,9 +72,7 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"check": "partially check whether PDF is valid",
"checkLinearization": "check linearization tables",
"filteredStreamData": "show filtered stream data",
- "isEncrypted": "silently test whether a file is encrypted",
"rawStreamData": "show raw stream data",
- "requiresPassword": "silently test a file's password",
"showEncryption": "information about encrypted files",
"showEncryptionKey": "show key with showEncryption",
"showLinearization": "show linearization hint tables",
@@ -100,7 +98,6 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"keepFilesOpenThreshold": "set threshold for keepFilesOpen",
"noWarn": "suppress printing of warning messages",
"verbose": "print additional information",
- "warningExit0": "exit 0 even with warnings",
"ignoreXrefStreams": "use xref tables rather than streams",
"passwordIsHexKey": "provide hex-encoded encryption key",
"passwordMode": "tweak how qpdf encodes passwords",