Repository: pdfbox-docs Updated Branches: refs/heads/asf-site 9a2fbeeed -> b6b6b4ad9
Site checkin for project Apache PDFBox Website Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/b6b6b4ad Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/b6b6b4ad Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/b6b6b4ad Branch: refs/heads/asf-site Commit: b6b6b4ad999f31571e6f199facc8cfff4710335b Parents: 9a2fbee Author: Maruan Sahyoun <sahy...@fileaffairs.de> Authored: Fri Dec 16 17:31:17 2016 +0100 Committer: Maruan Sahyoun <sahy...@fileaffairs.de> Committed: Fri Dec 16 17:31:17 2016 +0100 ---------------------------------------------------------------------- content/1.8/architecture.html | 26 +-- content/1.8/faq.html | 48 ++--- content/2.0/cookbook/encryption.html | 42 ++-- content/2.0/faq.html | 48 ++--- content/download.html | 86 ++++---- content/index.html | 27 +-- .../news/2016/12/16/pdfbox-2.0.4-released.html | 200 ------------------- 7 files changed, 140 insertions(+), 337 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/1.8/architecture.html ---------------------------------------------------------------------- diff --git a/content/1.8/architecture.html b/content/1.8/architecture.html index 27ba0c4..a339df9 100644 --- a/content/1.8/architecture.html +++ b/content/1.8/architecture.html @@ -247,21 +247,21 @@ doesnât provide the functionality needed.</p> <p>A page in a pdf document is represented with a COSDictionary. The entries that are available for a page can be seen in the PDF Reference and an example of a page looks like this:</p> -<p><code class="highlighter-rouge">text -<< +<div class="highlighter-rouge"><pre class="highlight"><code><< /Type /Page /MediaBox [0 0 612 915] /Contents 56 0 R >> -</code></p> +</code></pre> +</div> <p>The information within the dictionary can be accessed using the COS model</p> -<p><code class="highlighter-rouge">java -COSDictionary page = ...; -COSArray mediaBox = (COSArray)page.getDictionaryObject( "MediaBox" ); -System.out.println( "Width:" + mediaBox.get( 3 ) ); -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">COSDictionary</span> <span class="n">page</span> <span class="o">=</span> <span class="o">...;</span> +<span class="n">COSArray</span> <span class="n">mediaBox</span> <span class="o">=</span> <span class="o">(</span><span class="n">COSArray</span><span class="o">)</span><span class="n">page</span><span class="o">.</span><span class="na">getDictionaryObject</span><span class="o">(</span> <span class="s">"MediaBox"</span> <span class="o">);</span> +<span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span> <span class="s">"Width:"</span> <span class="o">+</span> <span class="n">mediaBox</span><span class="o">.</span><span class="na">get</span><span class="o">(</span> <span class="mi">3</span> <span class="o">)</span> <span class="o">);</span> +</code></pre> +</div> <p>As can be seen from that little example the COS model provides a low level API to access information within the PDF. In order to use the COS model successfully a good knowledge of @@ -279,11 +279,11 @@ available to access the attributes.</p> <p>The same code from above to get the page width can be rewritten to use PD Model classes.</p> -<p><code class="highlighter-rouge">java -PDPage page = ...; -PDRectangle mediaBox = page.getMediaBox(); -System.out.println( "Width:" + mediaBox.getWidth() ); -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">PDPage</span> <span class="n">page</span> <span class="o">=</span> <span class="o">...;</span> +<span class="n">PDRectangle</span> <span class="n">mediaBox</span> <span class="o">=</span> <span class="n">page</span><span class="o">.</span><span class="na">getMediaBox</span><span class="o">();</span> +<span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span> <span class="s">"Width:"</span> <span class="o">+</span> <span class="n">mediaBox</span><span class="o">.</span><span class="na">getWidth</span><span class="o">()</span> <span class="o">);</span> +</code></pre> +</div> <p>PD Model objects sit on top of COS model. Typically, the classes in the PD Model will only store a COS object and all setter/getter methods will modify data that is stored in the http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/1.8/faq.html ---------------------------------------------------------------------- diff --git a/content/1.8/faq.html b/content/1.8/faq.html index 84d642f..d332541 100644 --- a/content/1.8/faq.html +++ b/content/1.8/faq.html @@ -156,25 +156,25 @@ <p><a name="log4j"></a> ### I am getting the below Log4J warning message, how do I remove it? ###</p> -<p><code class="highlighter-rouge">java -log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader). -log4j:WARN Please initialize the log4j system properly. -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="nl">log4j:</span><span class="n">WARN</span> <span class="n">No</span> <span class="n">appenders</span> <span class="n">could</span> <span class="n">be</span> <span class="n">found</span> <span class="k">for</span> <span class="n">logger</span> <span class="o">(</span><span class="n">org</span><span class="o">.</span><span class="na">apache</span><span class="o">.</span><span class="na">pdfbox</span><span class="o">.</span><span class="na">util</span><span class="o">.</span><span class="na">ResourceLoader</span><span class="o">).</span> +<span class="nl">log4j:</span><span class="n">WARN</span> <span class="n">Please</span> <span class="n">initialize</span> <span class="n">the</span> <span class="n">log4j</span> <span class="n">system</span> <span class="n">properly</span><span class="o">.</span> +</code></pre> +</div> <p>This message means that you need to configure the log4j logging system. See the <a href="http://logging.apache.org/log4j/1.2/manual.html">log4j documentation</a> for more information.</p> <p>PDFBox comes with a sample log4j configuration file. To use it you set a system property like this</p> -<p><code class="highlighter-rouge">java -java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText <PDF-file> <output-text-file> -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">java</span> <span class="o">-</span><span class="n">Dlog4j</span><span class="o">.</span><span class="na">configuration</span><span class="o">=</span><span class="n">log4j</span><span class="o">.</span><span class="na">xml</span> <span class="n">org</span><span class="o">.</span><span class="na">apache</span><span class="o">.</span><span class="na">pdfbox</span><span class="o">.</span><span class="na">ExtractText</span> <span class="o"><</span><span class="n">PDF</span><span class="o">-</span><span class="n">file</span><span class="o">></span> <span class="o"><</span><span class="n">output</span><span class="o">-</span><span class="n">text</span><span class="o">-</span><span class="n">file</span><span class="o">></span> +</code></pre> +</div> <p>If this is not working for you then you may have to specify the log4j config file using a URL path, like this:</p> -<p><code class="highlighter-rouge">java -log4j.configuration=file:///<path to config file> -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">log4j</span><span class="o">.</span><span class="na">configuration</span><span class="o">=</span><span class="nl">file:</span><span class="c1">///<path to config file></span> +</code></pre> +</div> <p><a name="threadsafe"></a> ### Is PDFBox thread safe? ###</p> @@ -190,20 +190,20 @@ donât then the document will not be closed properly. Also, you must close all PDDocument objects that get created. The following code creates <strong>two</strong> PDDocument objects; one from the ânew PDDocument()â and the second by the load method.</p> -<p><code class="highlighter-rouge">java -PDDocument doc = new PDDocument(); -try -{ - doc = PDDocument.load( "my.pdf" ); -} -finally -{ - if( doc != null ) - { - doc.close(); - } -} -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">PDDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span> +<span class="k">try</span> +<span class="o">{</span> + <span class="n">doc</span> <span class="o">=</span> <span class="n">PDDocument</span><span class="o">.</span><span class="na">load</span><span class="o">(</span> <span class="s">"my.pdf"</span> <span class="o">);</span> +<span class="o">}</span> +<span class="k">finally</span> +<span class="o">{</span> + <span class="k">if</span><span class="o">(</span> <span class="n">doc</span> <span class="o">!=</span> <span class="kc">null</span> <span class="o">)</span> + <span class="o">{</span> + <span class="n">doc</span><span class="o">.</span><span class="na">close</span><span class="o">();</span> + <span class="o">}</span> +<span class="o">}</span> +</code></pre> +</div> <h2 id="text-extraction-1">Text Extraction</h2> http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/2.0/cookbook/encryption.html ---------------------------------------------------------------------- diff --git a/content/2.0/cookbook/encryption.html b/content/2.0/cookbook/encryption.html index b8e0c1c..400f718 100644 --- a/content/2.0/cookbook/encryption.html +++ b/content/2.0/cookbook/encryption.html @@ -139,28 +139,28 @@ <p>This small sample shows how to encrypt a file so that it can be viewed, but not printed..</p> -<p>``` java -PDDocument doc = PDDocument.load(âfilename.pdfâ);</p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">PDDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">PDDocument</span><span class="o">.</span><span class="na">load</span><span class="o">(</span><span class="s">"filename.pdf"</span><span class="o">);</span> -<p>// Define the length of the encryption key. -// Possible values are 40, 128 or 256. -int keyLength = 256;</p> - -<p>AccessPermission ap = new AccessPermission();</p> - -<p>// disable printing, everything else is allowed -ap.setCanPrint(false);</p> - -<p>// owner password (to open the file with all permissions) is â12345â -// user password (to open the file but with restricted permissions, is empty here) -StandardProtectionPolicy spp = new StandardProtectionPolicy(â12345â, ââ, ap); -spp.setEncryptionKeyLength(keyLength); -spp.setPermissions(ap); -doc.protect(spp);</p> - -<p>doc.save(âfilename-encrypted.pdfâ); -doc.close(); -```</p> +<span class="c1">// Define the length of the encryption key.</span> +<span class="c1">// Possible values are 40, 128 or 256.</span> +<span class="kt">int</span> <span class="n">keyLength</span> <span class="o">=</span> <span class="mi">256</span><span class="o">;</span> + +<span class="n">AccessPermission</span> <span class="n">ap</span> <span class="o">=</span> <span class="k">new</span> <span class="n">AccessPermission</span><span class="o">();</span> + +<span class="c1">// disable printing, everything else is allowed</span> +<span class="n">ap</span><span class="o">.</span><span class="na">setCanPrint</span><span class="o">(</span><span class="kc">false</span><span class="o">);</span> + +<span class="c1">// owner password (to open the file with all permissions) is "12345"</span> +<span class="c1">// user password (to open the file but with restricted permissions, is empty here) </span> +<span class="n">StandardProtectionPolicy</span> <span class="n">spp</span> <span class="o">=</span> <span class="k">new</span> <span class="n">StandardProtectionPolicy</span><span class="o">(</span><span class="s">"12345"</span><span class="o">,</span> <span class="s">""</span><span class="o">,</span> <span class="n">ap</span><span class="o">);</span> +<span class="n">spp</span><span class="o">.</span><span class="na">setEncryptionKeyLength</span><span class="o">(</span><span class="n">keyLength</span><span class="o">);</span> +<span class="n">spp</span><span class="o">.</span><span class="na">setPermissions</span><span class="o">(</span><span class="n">ap</span><span class="o">);</span> +<span class="n">doc</span><span class="o">.</span><span class="na">protect</span><span class="o">(</span><span class="n">spp</span><span class="o">);</span> + +<span class="n">doc</span><span class="o">.</span><span class="na">save</span><span class="o">(</span><span class="s">"filename-encrypted.pdf"</span><span class="o">);</span> +<span class="n">doc</span><span class="o">.</span><span class="na">close</span><span class="o">();</span> +</code></pre> +</div> </div> </div> http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/2.0/faq.html ---------------------------------------------------------------------- diff --git a/content/2.0/faq.html b/content/2.0/faq.html index 7939563..2c50285 100644 --- a/content/2.0/faq.html +++ b/content/2.0/faq.html @@ -177,25 +177,25 @@ <h3 id="i-am-getting-the-below-log4j-warning-message-how-do-i-remove-it">I am getting the below Log4J warning message, how do I remove it?</h3> -<p><code class="highlighter-rouge">java -log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader). -log4j:WARN Please initialize the log4j system properly. -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="nl">log4j:</span><span class="n">WARN</span> <span class="n">No</span> <span class="n">appenders</span> <span class="n">could</span> <span class="n">be</span> <span class="n">found</span> <span class="k">for</span> <span class="n">logger</span> <span class="o">(</span><span class="n">org</span><span class="o">.</span><span class="na">apache</span><span class="o">.</span><span class="na">pdfbox</span><span class="o">.</span><span class="na">util</span><span class="o">.</span><span class="na">ResourceLoader</span><span class="o">).</span> +<span class="nl">log4j:</span><span class="n">WARN</span> <span class="n">Please</span> <span class="n">initialize</span> <span class="n">the</span> <span class="n">log4j</span> <span class="n">system</span> <span class="n">properly</span><span class="o">.</span> +</code></pre> +</div> <p>This message means that you need to configure the log4j logging system. See the <a href="http://logging.apache.org/log4j/1.2/manual.html">log4j documentation</a> for more information.</p> <p>PDFBox comes with a sample log4j configuration file. To use it you set a system property like this</p> -<p><code class="highlighter-rouge">java -java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText <PDF-file> <output-text-file> -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">java</span> <span class="o">-</span><span class="n">Dlog4j</span><span class="o">.</span><span class="na">configuration</span><span class="o">=</span><span class="n">log4j</span><span class="o">.</span><span class="na">xml</span> <span class="n">org</span><span class="o">.</span><span class="na">apache</span><span class="o">.</span><span class="na">pdfbox</span><span class="o">.</span><span class="na">ExtractText</span> <span class="o"><</span><span class="n">PDF</span><span class="o">-</span><span class="n">file</span><span class="o">></span> <span class="o"><</span><span class="n">output</span><span class="o">-</span><span class="n">text</span><span class="o">-</span><span class="n">file</span><span class="o">></span> +</code></pre> +</div> <p>If this is not working for you then you may have to specify the log4j config file using a URL path, like this:</p> -<p><code class="highlighter-rouge">java -log4j.configuration=file:///<path to config file> -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">log4j</span><span class="o">.</span><span class="na">configuration</span><span class="o">=</span><span class="nl">file:</span><span class="c1">///<path to config file></span> +</code></pre> +</div> <p><a name="threadsafe"></a></p> @@ -215,20 +215,20 @@ donât then the document will not be closed properly. Also, you must close all PDDocument objects that get created. The following code creates <strong>two</strong> PDDocument objects; one from the ânew PDDocument()â and the second by the load method.</p> -<p><code class="highlighter-rouge">java -PDDocument doc = new PDDocument(); -try -{ - doc = PDDocument.load( "my.pdf" ); -} -finally -{ - if( doc != null ) - { - doc.close(); - } -} -</code></p> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">PDDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span> +<span class="k">try</span> +<span class="o">{</span> + <span class="n">doc</span> <span class="o">=</span> <span class="n">PDDocument</span><span class="o">.</span><span class="na">load</span><span class="o">(</span> <span class="s">"my.pdf"</span> <span class="o">);</span> +<span class="o">}</span> +<span class="k">finally</span> +<span class="o">{</span> + <span class="k">if</span><span class="o">(</span> <span class="n">doc</span> <span class="o">!=</span> <span class="kc">null</span> <span class="o">)</span> + <span class="o">{</span> + <span class="n">doc</span><span class="o">.</span><span class="na">close</span><span class="o">();</span> + <span class="o">}</span> +<span class="o">}</span> +</code></pre> +</div> <h2 id="font-handling-1">Font Handling</h2> http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/download.html ---------------------------------------------------------------------- diff --git a/content/download.html b/content/download.html index 2d8b26f..6a24b7b 100644 --- a/content/download.html +++ b/content/download.html @@ -136,7 +136,7 @@ <p>There are several ways to obtain the PDFBox binaries or sources:</p> <ul> - <li><a href="#20x">PDFBox 2.0.4 release</a></li> + <li><a href="#20x">PDFBox 2.0.3 release</a></li> <li><a href="#18x">PDFBox 1.8.13 release</a></li> <li><a href="#oldreleases">Previous releases</a></li> <li><a href="#scm">Latest source from version control</a></li> @@ -165,72 +165,72 @@ Alternatively, <a href="http://www.apache.org/mirrors/">view the complete list o </form> <a name="20x"></a> -<h3>PDFBox 2.0.4</h3> +<h3>PDFBox 2.0.3</h3> <p>This is an incremental feature release based on the earlier `2.0.x` releases. - See the <a href="http://www.apache.org/dist/pdfbox/2.0.4/RELEASE-NOTES.txt">Release Notes</a> for more details. + See the <a href="http://www.apache.org/dist/pdfbox/2.0.3/RELEASE-NOTES.txt">Release Notes</a> for more details. </p> <ul> <li> - <a href="[preferred]pdfbox/2.0.4/pdfbox-2.0.4-src.zip">pdfbox-2.0.4-src.zip</a> 14MB, source archive - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-2.0.4-src.zip.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-2.0.4-src.zip.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-2.0.4-src.zip.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/pdfbox-2.0.3-src.zip">pdfbox-2.0.3-src.zip</a> 14MB, source archive + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-2.0.3-src.zip.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-2.0.3-src.zip.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-2.0.3-src.zip.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/pdfbox-app-2.0.4.jar">pdfbox-app-2.0.4.jar</a> 7.9MB, pre-built PDFBox standalone binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-app-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-app-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-app-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/pdfbox-app-2.0.3.jar">pdfbox-app-2.0.3.jar</a> 7.9MB, pre-built PDFBox standalone binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-app-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-app-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-app-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/preflight-app-2.0.4.jar">preflight-app-2.0.4.jar</a> 8.5MB, pre-built Preflight standalone binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/preflight-app-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/preflight-app-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/preflight-app-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/preflight-app-2.0.3.jar">preflight-app-2.0.3.jar</a> 8.5MB, pre-built Preflight standalone binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/preflight-app-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/preflight-app-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/preflight-app-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/debugger-app-2.0.4.jar">debugger-app-2.0.4.jar</a> 7.9MB, pre-built Debugger standalone binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/debugger-app-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/debugger-app-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/debugger-app-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/debugger-app-2.0.3.jar">debugger-app-2.0.3.jar</a> 7.9MB, pre-built Debugger standalone binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/debugger-app-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/debugger-app-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/debugger-app-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/pdfbox-2.0.4.jar">pdfbox-2.0.4.jar</a> 2.4MB, pre-built binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/pdfbox-2.0.3.jar">pdfbox-2.0.3.jar</a> 2.4MB, pre-built binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/fontbox-2.0.4.jar">fontbox-2.0.4.jar</a> 1.5MB, pre-built binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/fontbox-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/fontbox-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/fontbox-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/fontbox-2.0.3.jar">fontbox-2.0.3.jar</a> 1.5MB, pre-built binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/fontbox-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/fontbox-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/fontbox-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/preflight-2.0.4.jar">preflight-2.0.4.jar</a> 242KB, pre-built binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/preflight-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/preflight-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/preflight-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/preflight-2.0.3.jar">preflight-2.0.3.jar</a> 242KB, pre-built binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/preflight-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/preflight-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/preflight-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/xmpbox-2.0.4.jar">xmpbox-2.0.4.jar</a> 131KB, pre-built binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/xmpbox-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/xmpbox-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/xmpbox-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/xmpbox-2.0.3.jar">xmpbox-2.0.3.jar</a> 131KB, pre-built binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/xmpbox-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/xmpbox-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/xmpbox-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/pdfbox-tools-2.0.4.jar">pdfbox-tools-2.0.4.jar</a> 68KB, pre-built binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-tools-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-tools-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-tools-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/pdfbox-tools-2.0.3.jar">pdfbox-tools-2.0.3.jar</a> 68KB, pre-built binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-tools-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-tools-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-tools-2.0.3.jar.sha">SHA1</a> </li> <li> - <a href="[preferred]pdfbox/2.0.4/pdfbox-debugger-2.0.4.jar">pdfbox-debugger-2.0.4.jar</a> 218KB, pre-built binary - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-debugger-2.0.4.jar.asc">PGP</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-debugger-2.0.4.jar.md5">MD5</a> - <a href="http://www.apache.org/dist/pdfbox/2.0.4/pdfbox-debugger-2.0.4.jar.sha">SHA1</a> + <a href="[preferred]pdfbox/2.0.3/pdfbox-debugger-2.0.3.jar">pdfbox-debugger-2.0.3.jar</a> 218KB, pre-built binary + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-debugger-2.0.3.jar.asc">PGP</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-debugger-2.0.3.jar.md5">MD5</a> + <a href="http://www.apache.org/dist/pdfbox/2.0.3/pdfbox-debugger-2.0.3.jar.sha">SHA1</a> </li> </ul> http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/index.html ---------------------------------------------------------------------- diff --git a/content/index.html b/content/index.html index fa3697d..a7e60b1 100644 --- a/content/index.html +++ b/content/index.html @@ -140,13 +140,13 @@ Apache PDFBox also includes several command line utilities. Apache PDFBox is published under the Apache License v2.0.</p> -<h2>Apache PDFBox 2.0.4 released (2016-12-16)</h2> +<h2>Apache PDFBox 1.8.13 released (2016-12-09)</h2> <p>The Apache PDFBox community is pleased to announce the release of -Apache PDFBox version 2.0.4. It is available for download at:</p> +Apache PDFBox version 1.8.13.</p> -<p><a href="http://pdfbox.apache.org/download.cgi">http://pdfbox.apache.org/download.cgi</a></p> +<p>The release is available for download at: <a href="http://pdfbox.apache.org/download.cgi">http://pdfbox.apache.org/download.cgi</a></p> -<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12336070">full release notes</a> for details about this release.</p> +<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12335586">full release notes</a> for details about this release.</p> <h2 id="getting-help">Getting Help</h2> @@ -199,14 +199,6 @@ skills. Subscribe to the <a href="/mailinglists.html">Mailing Lists</a> and find <h2 id="news">News</h2> -<h3>Apache PDFBox 1.8.13 released (2016-12-09) </h3> -<p>The Apache PDFBox community is pleased to announce the release of -Apache PDFBox version 1.8.13.</p> - -<p>The release is available for download at: <a href="http://pdfbox.apache.org/download.cgi">http://pdfbox.apache.org/download.cgi</a></p> - -<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12335586">full release notes</a> for details about this release.</p> - <h3>Apache PDFBox 2.0.3 released (2016-09-17) </h3> <p>The Apache PDFBox community is pleased to announce the release of Apache PDFBox version 2.0.3. It is available for download at:</p> @@ -240,6 +232,17 @@ Apache PDFBox version 1.8.12 and 2.0.1. They are available for download at:</p> <p>See the full release notes <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12334652">1.8.12</a> and <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12335342">2.0.1</a> for details about this release.</p> +<h3>Apache PDFBox 2.0.0 released (2016-03-18) </h3> +<p>After more than 3 years of development the Apache PDFBox community is pleased to +announce the release of Apache PDFBox version 2.0.0. It is available for download at:</p> + +<p><a href="http://pdfbox.apache.org/download.cgi">http://pdfbox.apache.org/download.cgi</a></p> + +<p>The <a href="http://pdfbox.apache.org/2.0/migration.html">Migration Guide</a> shall give users coming from +PDFBox 1.8 or earlier an overview about things to look at when switching over. More details to come.</p> + +<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12319281">full release notes</a> for details about this release.</p> + </div> </div> http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/b6b6b4ad/content/news/2016/12/16/pdfbox-2.0.4-released.html ---------------------------------------------------------------------- diff --git a/content/news/2016/12/16/pdfbox-2.0.4-released.html b/content/news/2016/12/16/pdfbox-2.0.4-released.html deleted file mode 100644 index 3716c6a..0000000 --- a/content/news/2016/12/16/pdfbox-2.0.4-released.html +++ /dev/null @@ -1,200 +0,0 @@ -<!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"> - <meta name="description" content="The Apache PDFBox⢠library is an open source Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. Apache PDFBox also includes several command line utilities. Apache PDFBox is published under the Apache License v2.0. -"> - - <title>Apache PDFBox | Apache PDFBox 2.0.4 released</title> - - <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet"> - <link href="/css/pygments-github.css" rel="stylesheet"> - - <link href="/css/site.css" rel="stylesheet"> - - - - - - - -</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> - <p class="pull-right visible-xs"> - <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button> - </p> - </div> - </div> - </nav> - - <div class="container"> - - <div class="row row-offcanvas row-offcanvas-left"> - <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar"> - - <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</a> - <ul> - <li><a href="/2.0/migration.html">Migration Guide</a></li> - <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="/2.0/faq.html">FAQ</a></li> - <li><a href="/docs/2.0.3/javadocs/">API Docs</a></li> - </ul> - </li> - <li class="sidebar-node" id="v1-8"> - <a href="#">1.8</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.12/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="/siteupdate.html">Update the Website</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-12 col-sm-9"> - <p>The Apache PDFBox community is pleased to announce the release of -Apache PDFBox version 2.0.4. It is available for download at:</p> - -<p><a href="http://pdfbox.apache.org/download.cgi">http://pdfbox.apache.org/download.cgi</a></p> - -<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12336070">full release notes</a> for details about this release.</p> - - </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–2016 <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> - - <!-- 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"> - - $(document).ready(function () { - $('[data-toggle="offcanvas"]').click(function () { - $('.row-offcanvas').toggleClass('active') - }); - }); - - $(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('/1.8') == 0) { - $('#v1-8').removeClass('collapsed'); - if (path.indexOf('/1.8/cookbook') == 0) { - $('#v1-8-cookbook').removeClass('collapsed'); - } - } else { - $('#v2-0').removeClass('collapsed'); - if (path.indexOf('/2.0/cookbook') == 0) { - $('#v2-0-cookbook').removeClass('collapsed'); - } - } - - }); - </script> - -</body> - -</html> \ No newline at end of file