aboutsummaryrefslogtreecommitdiffstats
path: root/manual/cli.rst
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-08 19:42:16 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-16 19:41:40 +0200
commit4fe2e06b4787ffb639f965ac840b51018308ec07 (patch)
tree667474624e264384d544cbed4324b909478f3450 /manual/cli.rst
parented6130036c65124cb236e709201330404a4b1d72 (diff)
downloadqpdf-4fe2e06b4787ffb639f965ac840b51018308ec07.tar.zst
Add --create-from-json and --update-from-json arguments
Also add stubs for top-level QPDF methods (createFromJSON, updateFromJSON)
Diffstat (limited to 'manual/cli.rst')
-rw-r--r--manual/cli.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/manual/cli.rst b/manual/cli.rst
index 92194e78..57a164cb 100644
--- a/manual/cli.rst
+++ b/manual/cli.rst
@@ -3270,6 +3270,31 @@ Related Options
:samp:`-{nnn}` to create the name of the file that will contain the
data for the stream stream in object :samp:`{nnn}`.
+.. qpdf:option:: --create-from-json=qpdf-json-file
+
+ .. help: create PDF from qpdf JSON
+
+ Create a PDF file from the prior output of qpdf --json. See the
+ "QPDF JSON Format" section of the manual for information about
+ how to use this option.
+
+ This option creates a PDF file from the previous output of ``qpdf
+ --json`` that includes stream data and information about all
+ objects. For information about converting between PDF and JSON,
+ please see :ref:`qpdf-json`.
+
+.. qpdf:option:: --update-from-json=qpdf-json-file
+
+ .. help: update a PDF from qpdf JSON
+
+ Update a PDF file from a JSON file. Please see the "QPDF JSON
+ Format" section of the manual for information about how to use
+ this option.
+
+ This option updates a PDF file from a qpdf JSON file. For a
+ information about how to use this option, please see
+ :ref:`qpdf-json`.
+
.. _test-options:
Options for Testing or Debugging