You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by bu...@apache.org on 2014/01/05 17:46:14 UTC

svn commit: r892877 - in /websites/staging/pdfbox/trunk/content: ./ commandline/index.html

Author: buildbot
Date: Sun Jan  5 16:46:13 2014
New Revision: 892877

Log:
Staging update by buildbot for pdfbox

Modified:
    websites/staging/pdfbox/trunk/content/   (props changed)
    websites/staging/pdfbox/trunk/content/commandline/index.html

Propchange: websites/staging/pdfbox/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jan  5 16:46:13 2014
@@ -1 +1 @@
-1549023
+1555574

Modified: websites/staging/pdfbox/trunk/content/commandline/index.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/commandline/index.html (original)
+++ websites/staging/pdfbox/trunk/content/commandline/index.html Sun Jan  5 16:46:13 2014
@@ -164,7 +164,7 @@ PDFBox tools as Java applications.</p>
 <li><a href="#decrypt">Decrypt</a></li>
 <li><a href="#encrypt">Encrypt</a></li>
 <li><a href="#extractText">ExtractText</a></li>
-<li><a href="#overlay">Overlay</a></li>
+<li><a href="#overlayPDF">OverlayPDF</a></li>
 <li><a href="#printPDF">PrintPDF</a></li>
 <li><a href="#pdfDebugger">PDFDebugger</a></li>
 <li><a href="#pdfReader">PDFReader</a></li>
@@ -321,7 +321,7 @@ Colorspace(values)=Colorspace(values)</p
 <td>The number of bits for the encryption key.</td>
 </tr>
 <tr>
-<td>inputfile&gt;</td>
+<td>inputfile</td>
 <td>The PDF file to encrypt.</td>
 <td></td>
 </tr>
@@ -401,11 +401,76 @@ Colorspace(values)=Colorspace(values)</p
 </tr>
 </tbody>
 </table>
-<h3 id="overlay">Overlay</h3>
+<h3 id="overlayPDF">OverlayPDF</h3>
 <p>This application will overlay one document with the content of another document</p>
-<p>usage: <code>java -jar pdfbox-app-x.y.z.jar Overlay &lt;overlay.pdf&gt; &lt;document.pdf&gt; &lt;result.pdf&gt;</code></p>
-<p>If the overlay document contains more than one page the pages are overlayed to the document 
-on order e.g. if the document has 10 pages and the overlay contains 2 pages the order is Document: 1234567890 Overlay: 1212121212</p>
+<p>usage: <code>java -jar pdfbox-app-x.y.z.jar OverlayPDF &lt;&lt;input.pdf&gt; [OPTIONS] &lt;output.pdf&gt;</code></p>
+<table>
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>inputfile</td>
+<td></td>
+<td>The PDF file to be overlayed.</td>
+</tr>
+<tr>
+<td><defaultOverlay.pdf></td>
+<td></td>
+<td>Default overlay file.</td>
+</tr>
+<tr>
+<td>-odd <oddPageOverlay.pdf></td>
+<td></td>
+<td>Overlay file used for odd pages.</td>
+</tr>
+<tr>
+<td>-even <evenPageOverlay.pdf></td>
+<td></td>
+<td>Overlay file used for even pages.</td>
+</tr>
+<tr>
+<td>-first <firstPageOverlay.pdf></td>
+<td></td>
+<td>Overlay file used for the first page.</td>
+</tr>
+<tr>
+<td>-last <lastPageOverlay.pdf></td>
+<td></td>
+<td>Overlay file used for the last pages.</td>
+</tr>
+<tr>
+<td>-page <pageNumber> <specificPageOverlay.pdf></td>
+<td></td>
+<td>overlay file used for the given page number, may occur more than once.</td>
+</tr>
+<tr>
+<td>-position</td>
+<td>background</td>
+<td>Where to put the overlay, foreground or background.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+<tr>
+<td>outputfile</td>
+<td></td>
+<td>The resulting pdf file.</td>
+</tr>
+</tbody>
+</table>
+<p>Examples:</p>
+<ul>
+<li>OverlayPDF input.pdf overlay.pdf -nonSeq output.pdf</li>
+<li>OverlayPDF input.pdf defaultOverlay.pdf -page 10 overlayForPage10.pdf -position foreground -nonSeq output.pdf</li>
+<li>OverlayPDF input.pdf -odd oddOverlay.pdf -even evenOverlay.pdf -nonSeq output.pdf</li>
+</ul>
 <h3 id="printPDF">PrintPDF</h3>
 <p>This application will send a pdf document to the printer.</p>
 <p class="alert alert-info">You must have the correct permissions to print the document!</p>