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 2015/09/26 14:48:19 UTC
svn commit: r966890 - in /websites/staging/pdfbox/trunk/content: ./
2.0/commandline.html
Author: buildbot
Date: Sat Sep 26 12:48:18 2015
New Revision: 966890
Log:
Staging update by buildbot for pdfbox
Added:
websites/staging/pdfbox/trunk/content/2.0/commandline.html
Modified:
websites/staging/pdfbox/trunk/content/ (props changed)
Propchange: websites/staging/pdfbox/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Sep 26 12:48:18 2015
@@ -1 +1 @@
-1705422
+1705445
Added: websites/staging/pdfbox/trunk/content/2.0/commandline.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/2.0/commandline.html (added)
+++ websites/staging/pdfbox/trunk/content/2.0/commandline.html Sat Sep 26 12:48:18 2015
@@ -0,0 +1,726 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE- 2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <title>Apache PDFBox | Command Line Tools</title>
+
+ <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/FontAwesome/css/font-awesome.css" rel="stylesheet">
+ <link href="/Iconic/iconic fill/iconic_fill.css" rel="stylesheet">
+ <link href="/css/pygments-github.css" rel="stylesheet">
+
+ <link href="/css/site.css" rel="stylesheet">
+
+
+
+
+
+
+ <!-- Twitter Bootstrap and jQuery after this line. -->
+ <script src="//code.jquery.com/jquery-latest.js"></script>
+ <script src="/bootstrap/js/bootstrap.min.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ // collapse tree nodes dynamically to support noscript
+ $('.sidebar-node').addClass('collapsed');
+
+
+ // toggle expand/collapse
+ $('.sidebar-node > a').click(function(e) {
+ $(this).parent().toggleClass('collapsed');
+ e.preventDefault();
+ });
+
+ // preserve expand/collapse across page navigation
+ var path = document.location.pathname;
+ if (path.indexOf('/2.0') == 0) {
+ $('#v2-0').removeClass('collapsed');
+ if (path.indexOf('/2.0/cookbook') == 0) {
+ $('#v2-0-cookbook').removeClass('collapsed');
+ }
+ } else {
+ $('#v1-8').removeClass('collapsed');
+ if (path.indexOf('/1.8/cookbook') == 0) {
+ $('#v1-8-cookbook').removeClass('collapsed');
+ }
+ }
+
+ });
+ </script>
+</head>
+
+<body>
+ <nav class="navbar navbar-default navbar-top">
+ <div class="container">
+ <div class="navbar-header">
+ <a href="/index.html">
+ <img class="logo" src="/images/logo-head.gif">
+ </a>
+ </div>
+ </div>
+ </nav>
+
+ <div class="container">
+
+ <div class="row">
+ <div class="col-xs-3">
+
+ <ul class="sidebar">
+ <li class="sidebar-header">Apache PDFBox</li>
+ <li><a href="/index.html">Overview</a></li>
+ <li><a href="/download.cgi">Downloads</a></li>
+
+ <li class="sidebar-header">Community</li>
+ <li><a href="/support.html">Support</a></li>
+ <li><a href="/mailinglists.html">Mailing Lists</a></li>
+ <li><a href="/team.html">Project Team</a></li>
+
+ <li class="sidebar-header">Documentation</li>
+ <li class="sidebar-node" id="v2-0">
+ <a href="#">2.0.0 (trunk)</a>
+ <ul>
+ <li><a href="/2.0/getting-started.html">Getting Started</a></li>
+ <li><a href="/2.0/examples.html">Examples</a></li>
+ <li><a href="/2.0/dependencies.html">Dependencies</a></li>
+ <li class="sidebar-node" id="v2-0-cookbook">
+ <a href="#">Cookbook</a>
+ <ul>
+ <li><a href="/2.0/cookbook/encryption.html">Document Encryption</a></li>
+ </ul>
+ </li>
+ <li><a href="/2.0/commandline.html">Command Line Tools</a></li>
+ <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
+ </ul>
+ </li>
+ <li class="sidebar-node" id="v1-8">
+ <a href="#">1.8.10</a>
+ <ul>
+ <li><a href="/1.8/architecture.html">Architecture</a></li>
+ <li><a href="/1.8/dependencies.html">Dependencies</a></li>
+ <li class="sidebar-node" id="v1-8-cookbook">
+ <a href="#">Cookbook</a>
+ <ul>
+ <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
+ <li><a href="/1.8/cookbook/textextraction.html">Text Extraction</a></li>
+ <li><a href="/1.8/cookbook/encryption.html">Document Encryption</a></li>
+ <li><a href="/1.8/cookbook/workingwithfonts.html">Working with Fonts</a></li>
+ <li><a href="/1.8/cookbook/workingwithmetadata.html">Working with Metadata</a></li>
+ <li><a href="/1.8/cookbook/workingwithattachments.html">Working with Attachments</a></li>
+ <li><a href="/1.8/cookbook/pdfavalidation.html">PDF/A Validation</a></li>
+ <li><a href="/1.8/cookbook/pdfacreation.html">Creating a PDF/A document</a></li>
+ </ul>
+ </li>
+ <li><a href="/1.8/commandline.html">Command Line Tools</a></li>
+ <li><a href="/docs/1.8.10/javadocs/">API Docs</a></li>
+ <li><a href="/1.8/faq.html">FAQ</a></li>
+ </ul>
+ </li>
+
+ <li class="sidebar-header">Development</li>
+ <li><a href="/building.html">Building from Source</a></li>
+ <li><a href="/codingconventions.html">Coding Conventions</a></li>
+ <li><a href="https://builds.apache.org/view/All/job/PDFBox-trunk/">Jenkins</a></li>
+ <li><a href="https://travis-ci.org/apache/pdfbox">Travis CI</a></li>
+ <li><a href="https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor">SonarQube</a></li>
+ <li><a href="https://issues.apache.org/jira/browse/PDFBOX">JIRA</a></li>
+ <li><a href="/ideas.html">Ideas</a></li>
+ <li><a href="/references.html">External Links</a></li>
+
+ <li class="sidebar-header">Apache Software Foundation</li>
+ <li><a href="http://www.apache.org/">Apache Software Foundation</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">ASF Sponsors</a></li>
+ <li><a href="http://www.apache.org/security/">Security</a></li>
+ </ul>
+ </div>
+ <div class="col-xs-9">
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<h1 id="command-line-tools">Command Line Tools<a class="headerlink" href="#command-line-tools" title="Permanent link">¶</a></h1>
+<p>PDFBox comes with a series of command line utilities. They are available as standard Java applications.</p>
+<p>See the Dependencies page for instructions on how to set your classpath in order to run
+PDFBox tools as Java applications.</p>
+<div class="toc">
+<ul>
+<li><a href="#command-line-tools">Command Line Tools</a><ul>
+<li><a href="#decrypt">Decrypt</a></li>
+<li><a href="#encrypt">Encrypt</a></li>
+<li><a href="#extractText">ExtractText</a></li>
+<li><a href="#overlayPDF">OverlayPDF</a></li>
+<li><a href="#pdfDebugger">PDFDebugger</a></li>
+<li><a href="#pdfMerger">PDFMerger</a></li>
+<li><a href="#pdfReader">PDFReader</a></li>
+<li><a href="#pdfSplit">PDFSplit</a></li>
+<li><a href="#pdfToImage">PDFToImage</a></li>
+<li><a href="#printPDF">PrintPDF</a></li>
+<li><a href="#textToPDF">TextToPDF</a></li>
+<li><a href="#writeDecodeDoc">WriteDecodedDoc</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h2 id="decrypt">Decrypt<a class="headerlink" href="#decrypt" title="Permanent link">¶</a></h2>
+<p>This application will decrypt a PDF document.</p>
+<p>NOTE: You must have the owner password to decrypt the document!</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar Decrypt [OPTIONS] <inputfile> [outputfile]</code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td>Password to the PDF or certificate in keystore.</td>
+</tr>
+<tr>
+<td>-keyStore</td>
+<td>Path to keystore that holds certificate to decrypt the document. This is only required if the document is encrypted with a certificate, otherwise only the password is required.</td>
+</tr>
+<tr>
+<td>-alias</td>
+<td>The alias to the certificate in the keystore.</td>
+</tr>
+<tr>
+<td>inputfile</td>
+<td>The PDF file to decrypt.</td>
+</tr>
+<tr>
+<td>outputfile</td>
+<td>The file to save the decrypted document to. If left blank then it will be the same as the input file.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="encrypt">Encrypt<a class="headerlink" href="#encrypt" title="Permanent link">¶</a></h2>
+<p>This application will encrypt a PDF document.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar Encrypt [OPTIONS] <password> <inputfile></code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-O</td>
+<td></td>
+<td>The owner password to the PDF, ignored if -certFile is specified.</td>
+</tr>
+<tr>
+<td>-U</td>
+<td></td>
+<td>The user password to the PDF, ignored if -certFile is specified.</td>
+</tr>
+<tr>
+<td>-certFile</td>
+<td></td>
+<td>Path to X.509 cert file.</td>
+</tr>
+<tr>
+<td>-canAssemble</td>
+<td>true</td>
+<td>Set the assemble permission.</td>
+</tr>
+<tr>
+<td>-canExtractContent</td>
+<td>true</td>
+<td>Set the extraction permission.</td>
+</tr>
+<tr>
+<td>-canExtractForAccessibility</td>
+<td>true</td>
+<td>Set the extraction permission.</td>
+</tr>
+<tr>
+<td>-canFillInForm</td>
+<td>true</td>
+<td>Set the fill in form permission.</td>
+</tr>
+<tr>
+<td>-canModify</td>
+<td>true</td>
+<td>Set the modify permission.</td>
+</tr>
+<tr>
+<td>-canModifyAnnotations</td>
+<td>true</td>
+<td>Set the modify annots permission.</td>
+</tr>
+<tr>
+<td>-canPrint</td>
+<td>true</td>
+<td>Set the print permission.</td>
+</tr>
+<tr>
+<td>-canPrintDegraded</td>
+<td>true</td>
+<td>Set the print degraded permission.</td>
+</tr>
+<tr>
+<td>-keyLength</td>
+<td>40, 128 or 256</td>
+<td>The number of bits for the encryption key. For 128 and above bits <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html">Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files</a> must be installed.</td>
+</tr>
+<tr>
+<td>inputfile</td>
+<td></td>
+<td>The PDF file to encrypt.</td>
+</tr>
+<tr>
+<td>outputfile</td>
+<td></td>
+<td>The file to save the encrypted document to. If left blank then it will be the same as the input file.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="extractText">ExtractText<a class="headerlink" href="#extractText" title="Permanent link">¶</a></h2>
+<p>This application will extract all text from the given PDF document.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar ExtractText [OPTIONS] <inputfile> [Text file]</code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td></td>
+<td>The password to the PDF document.</td>
+</tr>
+<tr>
+<td>-encoding</td>
+<td>default encoding</td>
+<td>The encoding type of the text file, e.g. ISO-8859-1, UTF-8, UTF-16BE.</td>
+</tr>
+<tr>
+<td>-console</td>
+<td>false</td>
+<td>Send text to console instead of file.</td>
+</tr>
+<tr>
+<td>-html</td>
+<td>false</td>
+<td>Output in HTML format instead of raw text.</td>
+</tr>
+<tr>
+<td>-sort</td>
+<td>false</td>
+<td>Sort the text before writing.</td>
+</tr>
+<tr>
+<td>-ignoreBeads</td>
+<td>false</td>
+<td>Disables the separation by beads.</td>
+</tr>
+<tr>
+<td>-force</td>
+<td>false</td>
+<td>Enables pdfbox to ignore corrupt objects.</td>
+</tr>
+<tr>
+<td>-debug</td>
+<td>false</td>
+<td>Enables debug output about the time consumption of every stage.</td>
+</tr>
+<tr>
+<td>-startPage</td>
+<td>1</td>
+<td>The first page to extract, one based.</td>
+</tr>
+<tr>
+<td>-endPage</td>
+<td>Integer.MAX_INT</td>
+<td>The last page to extract, one based.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="overlayPDF">OverlayPDF<a class="headerlink" href="#overlayPDF" title="Permanent link">¶</a></h2>
+<p>This application will overlay one document with the content of another document</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar OverlayPDF <input.pdf> [OPTIONS] <output.pdf></code></p>
+<table class="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>
+<h2 id="pdfDebugger">PDFDebugger<a class="headerlink" href="#pdfDebugger" title="Permanent link">¶</a></h2>
+<p>This application will take an existing PDF document and allows to analyze and inspect the internal structure</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar PDFDebugger [inputfile]</code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td></td>
+<td>The password to the PDF document.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+<tr>
+<td>inputfile</td>
+<td></td>
+<td>the name of an optional PDF file to open.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="pdfMerger">PDFMerger<a class="headerlink" href="#pdfMerger" title="Permanent link">¶</a></h2>
+<p>This application will take a list of pdf documents and merge them, saving the result in a new document.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar PDFMerger <Source PDF files (2 ..n)> <Target PDF file></code></p>
+<h2 id="pdfReader">PDFReader<a class="headerlink" href="#pdfReader" title="Permanent link">¶</a></h2>
+<p>An application to read PDF documents. This will provide Acrobat Reader like functionality.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar PDFReader [PDF file]</code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td></td>
+<td>The password to the PDF document.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+<tr>
+<td>PDF file</td>
+<td></td>
+<td>the name of an optional PDF file to open</td>
+</tr>
+</tbody>
+</table>
+<h2 id="pdfSplit">PDFSplit<a class="headerlink" href="#pdfSplit" title="Permanent link">¶</a></h2>
+<p>This application will take an existing PDF document and split it into a number of other documents</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar PDFSplit [OPTIONS] <PDF file></code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td></td>
+<td>The password to the PDF document.</td>
+</tr>
+<tr>
+<td>-split</td>
+<td></td>
+<td>Number of pages of every splitted part of the pdf.</td>
+</tr>
+<tr>
+<td>-startPage</td>
+<td></td>
+<td>The page to start at.</td>
+</tr>
+<tr>
+<td>-endPage</td>
+<td></td>
+<td>The page to stop at.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+</tbody>
+</table>
+<p>Examples:</p>
+<ul>
+<li>PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in pieces of 2 pages each except the last which will contain 1 page only.</li>
+<li>PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf containing all pages of the source pdf starting at page 5</li>
+<li>PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide a pdf containing all pages from 5 to 10 of the source pdf</li>
+<li>PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages each</li>
+</ul>
+<h2 id="pdfToImage">PDFToImage<a class="headerlink" href="#pdfToImage" title="Permanent link">¶</a></h2>
+<p>This application will create an image for every page in the PDF document.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar PDFToImage [OPTIONS] <PDF file></code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td></td>
+<td>The password to the PDF document.</td>
+</tr>
+<tr>
+<td>-imageType</td>
+<td>jpg</td>
+<td>The image type to write to. Currently only jpg or png.</td>
+</tr>
+<tr>
+<td>-outputPrefix</td>
+<td>Name of PDF document</td>
+<td>The prefix to the image file.</td>
+</tr>
+<tr>
+<td>-startPage</td>
+<td>1</td>
+<td>The first page to convert, one based.</td>
+</tr>
+<tr>
+<td>-endPage</td>
+<td>Integer.MAX_INT</td>
+<td>The last page to convert, one based.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="printPDF">PrintPDF<a class="headerlink" href="#printPDF" title="Permanent link">¶</a></h2>
+<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>
+
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar PrintPDF [OPTIONS] <inputfile></code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td>The password to decrypt the PDF.</td>
+</tr>
+<tr>
+<td>-silentPrint</td>
+<td>Print the PDF without prompting for a printer.</td>
+</tr>
+<tr>
+<td>inputfile</td>
+<td>The PDF file to print.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="textToPDF">TextToPDF<a class="headerlink" href="#textToPDF" title="Permanent link">¶</a></h2>
+<p>This application will create a PDF document from a text file.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar TextToPDF [OPTIONS] <outputfile> <textfile></code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-standardFont</td>
+<td>Helvetica</td>
+<td>The font to use for the text. Either this or -ttf should be specified but not both.</td>
+</tr>
+<tr>
+<td>-ttf</td>
+<td></td>
+<td>The TTF font to use for the text. Either this or -standardFont should be specified but not both.</td>
+</tr>
+<tr>
+<td>-fontSize</td>
+<td>10</td>
+<td>The size of the font to use.</td>
+</tr>
+</tbody>
+</table>
+<p>The following font names can be used for the parameter <code>standardFont</code>:</p>
+<ul>
+<li>Courier</li>
+<li>Courier-Bold</li>
+<li>Courier-Oblique</li>
+<li>Courier-BoldOblique</li>
+<li>Helvetica</li>
+<li>Helvetica-Bold</li>
+<li>Helvetica-Oblique</li>
+<li>Helvetica-BoldOblique</li>
+<li>Symbol</li>
+<li>Times-Bold</li>
+<li>Times-Roman</li>
+<li>Times-Italic</li>
+<li>Times-BoldItalic</li>
+<li>ZapfDingbats</li>
+</ul>
+<h2 id="writeDecodeDoc">WriteDecodedDoc<a class="headerlink" href="#writeDecodeDoc" title="Permanent link">¶</a></h2>
+<p>An application to decompress PDF documents.</p>
+<p>usage: <code>java -jar pdfbox-app-2.y.z.jar WriteDecodedDoc <input-file> <output-file></code></p>
+<table class="table">
+<thead>
+<tr>
+<th>Command Line Parameter</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>-password</td>
+<td></td>
+<td>The password to the PDF document.</td>
+</tr>
+<tr>
+<td>-nonSeq</td>
+<td>false</td>
+<td>Use the new non sequential parser.</td>
+</tr>
+<tr>
+<td><input-file></td>
+<td></td>
+<td>The PDF file to decompress</td>
+</tr>
+<tr>
+<td><output-file></td>
+<td></td>
+<td>The destination PDF file</td>
+</tr>
+</tbody>
+</table>
+ </div>
+ </div>
+ </div>
+
+ <footer class="footer">
+ <div class="container"
+ <div class="row">
+ <div class="span3">
+ <!-- nothing in here on purpose -->
+ </div>
+ <div class="span9">
+ <p>Copyright © 2009–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+ <br/>Apache PDFBox, PDFBox, Apache, the Apache feather logo and the Apache PDFBox project logos are trademarks of The Apache Software Foundation.</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+</body>
+
+</html>