diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-06-21 22:28:44 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-06-21 22:28:44 +0200 |
commit | 84cd53f5af72f8d1da5c6e73ebf7997243bf0b2c (patch) | |
tree | 54155e5cf5484cfefa5151002a375ca856e27f59 /manual | |
parent | 9d7eef7cc601104cf99fe48fd6789ae94f526cda (diff) | |
download | qpdf-84cd53f5af72f8d1da5c6e73ebf7997243bf0b2c.tar.zst |
Make page range optional in --rotate (fixes #211)
Diffstat (limited to 'manual')
-rw-r--r-- | manual/qpdf-manual.xml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 5287243e..3feb9fda 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -412,22 +412,26 @@ make </listitem> </varlistentry> <varlistentry> - <term><option>--rotate=[+|-]angle:page-range</option></term> + <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. + linkend="ref.page-selection"/>. If the page range is omitted, + the rotation is applied to all pages. 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, and the command <command>qpdf in.pdf + out.pdf --rotate=180</command> would rotate all pages by 180 + degrees. </para> </listitem> </varlistentry> |