From 1258054543d2956081c40b3166e9d5043deb6640 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 26 Jan 2022 13:39:22 -0500 Subject: QPDFJob: eliminate most access to QPDFJob members from ArgParser All that's left now is input and output handling. --- job.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'job.yml') diff --git a/job.yml b/job.yml index 1778dd18..171d1981 100644 --- a/job.yml +++ b/job.yml @@ -68,6 +68,8 @@ options: - overlay - pages - underlay + - empty + - replace-input positional: true bare: - add-attachment @@ -240,6 +242,8 @@ options: no-json: - preserve-unreferenced-resources - job-json-file + - empty + - replace-input json: # The structure of this section defines what the json input to # QPDFJob looks like. If a key starts with underscore or has a value @@ -249,16 +253,16 @@ json: # a "schema" (as in JSON.hh) for the json input to QPDFJob. The # leading underscore is removed. _input: + # QXXXQ need to figure out how to specify input and output _file: _name: "input filename" main.password: password-file: - empty: + _empty: "qxxxq empty" _output: _file: _name: "output filename" - replace-input: - split-pages: + _replace-input: "qxxxq replace input" _options: qdf: preserve-unreferenced: @@ -280,6 +284,7 @@ json: min-version: force-version: progress: + split-pages: encrypt: key-length: "key length: 48, 128, 256" user-password: "user password" -- cgit v1.2.3-54-g00ecf