aboutsummaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-08-12 19:22:46 +0200
committerJay Berkenbilt <ejb@ql.org>2017-08-13 04:57:38 +0200
commitcfa2eb97fb9b38d62fd2cd8d54ab59bac503967f (patch)
treee29e4276b80b9fda4049017cdbe8e8bc01b8aa05 /manual
parentd926d7805963901d2c7cd10198f2cb125e363210 (diff)
downloadqpdf-cfa2eb97fb9b38d62fd2cd8d54ab59bac503967f.tar.zst
Add page rotation (fixes #132)
Diffstat (limited to 'manual')
-rw-r--r--manual/qpdf-manual.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml
index d05af020..0266a1dc 100644
--- a/manual/qpdf-manual.xml
+++ b/manual/qpdf-manual.xml
@@ -349,6 +349,26 @@ make
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--rotate=[+|-]angle:page-range</option></term>
+ <listitem>
+ <para>
+ Apply rotation to specified pages. The
+ <option>page-range</option> portion of the option value has
+ the same format as page ranges in <xref
+ linkend="ref.page-selection"/>. The <option>angle</option>
+ portion of the parameter may be either 90, 180, or 270. If
+ preceded by <option>+</option> or <option>-</option>, the
+ angle is added to or subtracted from the specified pages'
+ original rotations. Otherwise the pages' rotations are set to
+ the exact value. For example, the command <command>qpdf in.pdf
+ out.pdf --rotate=+90:2,4,6 --rotate=180:7-8</command> would
+ rotate pages 2, 4, and 6 90 degrees clockwise from their
+ original rotation and force the rotation of pages 7 through 9
+ to 180 degrees regardless of their original rotation.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--pages options --</option></term>
<listitem>
<para>