pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject pdfbox-docs git commit: Site checkin for project Apache PDFBox Website
Date Sun, 11 Dec 2016 08:46:13 GMT
Repository: pdfbox-docs
Updated Branches:
  refs/heads/asf-site b9520b6fc -> 1f5ba131b


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/1f5ba131
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/1f5ba131
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/1f5ba131

Branch: refs/heads/asf-site
Commit: 1f5ba131b305afaedd6b2252ed060d9a0e986097
Parents: b9520b6
Author: Maruan Sahyoun <sahyoun@fileaffairs.de>
Authored: Sun Dec 11 09:46:09 2016 +0100
Committer: Maruan Sahyoun <sahyoun@fileaffairs.de>
Committed: Sun Dec 11 09:46:09 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                           |  92 ++++-----
 content/index.html                              |  24 +--
 .../news/2016/12/09/pdfbox-1.8.13-released.html | 200 -------------------
 7 files changed, 140 insertions(+), 340 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/1f5ba131/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
-&lt;&lt;
+<div class="highlighter-rouge"><pre class="highlight"><code>&lt;&lt;
     /Type /Page
     /MediaBox [0 0 612 915]
     /Contents 56 0 R
 &gt;&gt;
-</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/1f5ba131/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 &lt;PDF-file&gt; &lt;output-text-file&gt;
-</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">&lt;</span><span class="n">PDF</span><span class="o">-</span><span class="n">file</span><span class="o">&gt;</span> <span class="o">&lt;</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">&gt;</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:///&lt;path to config file&gt;
-</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">///&lt;path to config file&gt;</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/1f5ba131/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/1f5ba131/content/2.0/faq.html
----------------------------------------------------------------------
diff --git a/content/2.0/faq.html b/content/2.0/faq.html
index de6427a..c12d217 100644
--- a/content/2.0/faq.html
+++ b/content/2.0/faq.html
@@ -175,25 +175,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 &lt;PDF-file&gt; &lt;output-text-file&gt;
-</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">&lt;</span><span class="n">PDF</span><span class="o">-</span><span class="n">file</span><span class="o">&gt;</span> <span class="o">&lt;</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">&gt;</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:///&lt;path to config file&gt;
-</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">///&lt;path to config file&gt;</span>
+</code></pre>
+</div>
 
 <p><a name="threadsafe"></a></p>
 
@@ -213,20 +213,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/1f5ba131/content/download.html
----------------------------------------------------------------------
diff --git a/content/download.html b/content/download.html
index 6917dce..8c3f95a 100644
--- a/content/download.html
+++ b/content/download.html
@@ -137,7 +137,7 @@
 
 <ul>
     <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="#18x">PDFBox 1.8.12 release</a></li>
     <li><a href="#oldreleases">Previous releases</a></li>
     <li><a href="#scm">Latest source from version control</a></li>
     <li><a href="#snapshot">Latest development snapshot build</a></li>
@@ -235,92 +235,92 @@ Alternatively, <a href="http://www.apache.org/mirrors/">view the complete list o
 </ul>
 
 <a name="18x"></a>
-<h3>PDFBox 1.8.13</h3>
+<h3>PDFBox 1.8.12</h3>
 
 <p>
     This is an incremental feature release based on the earlier `1.8.x` releases.
-    See the <a href="http://www.apache.org/dist/pdfbox/1.8.13/RELEASE-NOTES.txt">Release Notes</a> for more details.
+    See the <a href="http://www.apache.org/dist/pdfbox/1.8.12/RELEASE-NOTES.txt">Release Notes</a> for more details.
 </p>
 
 <ul>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/pdfbox-1.8.13-src.zip">pdfbox-1.8.13-src.zip</a> 11MB, source archive
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-1.8.13-src.zip.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-1.8.13-src.zip.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-1.8.13-src.zip.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/pdfbox-1.8.12-src.zip">pdfbox-1.8.12-src.zip</a> 11MB, source archive
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-1.8.12-src.zip.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-1.8.12-src.zip.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-1.8.12-src.zip.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/pdfbox-app-1.8.13.jar">pdfbox-app-1.8.13.jar</a> 10.6MB, pre-built PDFBox standalone binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-app-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-app-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-app-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/pdfbox-app-1.8.12.jar">pdfbox-app-1.8.12.jar</a> 10.6MB, pre-built PDFBox standalone binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-app-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-app-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-app-1.8.12.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/preflight-app-1.8.13.jar">preflight-app-1.8.13.jar</a> 7.1MB, pre-built Preflight standalone binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/preflight-app-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/preflight-app-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/preflight-app-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/preflight-app-1.8.12.jar">preflight-app-1.8.12.jar</a> 7.1MB, pre-built Preflight standalone binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/preflight-app-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/preflight-app-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/preflight-app-1.8.12.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/pdfbox-1.8.13.jar">pdfbox-1.8.13.jar</a> 4.1MB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/pdfbox-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/pdfbox-1.8.12.jar">pdfbox-1.8.12.jar</a> 4.1MB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/pdfbox-1.8.12.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/fontbox-1.8.13.jar">fontbox-1.8.13.jar</a> 219KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/fontbox-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/fontbox-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/fontbox-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/fontbox-1.8.12.jar">fontbox-1.8.12.jar</a> 219KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/fontbox-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/fontbox-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/fontbox-1.8.12.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/jempbox-1.8.13.jar">jempbox-1.8.13.jar</a> 51KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/jempbox-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/jempbox-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/jempbox-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/jempbox-1.8.12.jar">jempbox-1.8.12.jar</a> 51KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/jempbox-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/jempbox-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/jempbox-1.8.12.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/preflight-1.8.13.jar">preflight-1.8.13.jar</a> 298KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/preflight-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/preflight-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/preflight-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/preflight-1.8.12.jar">preflight-1.8.12.jar</a> 298KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/preflight-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/preflight-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/preflight-1.8.12.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/1.8.13/xmpbox-1.8.13.jar">xmpbox-1.8.13.jar</a> 115KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/xmpbox-1.8.13.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/xmpbox-1.8.13.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/1.8.13/xmpbox-1.8.13.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/1.8.12/xmpbox-1.8.12.jar">xmpbox-1.8.12.jar</a> 115KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/xmpbox-1.8.12.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/xmpbox-1.8.12.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/1.8.12/xmpbox-1.8.12.jar.sha">SHA1</a>
     </li>
-            
+
 </ul>
 
 <h3>Verify</h3>
 
 <p>
-    It is essential that you verify the integrity of the downloaded files using the PGP signatures or 
+    It is essential that you verify the integrity of the downloaded files using the PGP signatures or
     MD5 and SHA1 checksums. Please read <a href="http://httpd.apache.org/dev/verification.html">Verifying Apache HTTP Server Releases</a>
     for more information on why you should verify our releases.
 </p>
 
 <p>
-    The PGP signatures can be verified using PGP or GPG. First download the 
-    <a href="http://www.apache.org/dist/pdfbox/KEYS">KEYS</a> file as well as the .asc signature files for the 
+    The PGP signatures can be verified using PGP or GPG. First download the
+    <a href="http://www.apache.org/dist/pdfbox/KEYS">KEYS</a> file as well as the .asc signature files for the
     relevant release packages. Make sure you get these
-    files from the <a href="http://www.apache.org/dist/pdfbox">main distribution directory</a>, rather than 
+    files from the <a href="http://www.apache.org/dist/pdfbox">main distribution directory</a>, rather than
     from a mirror. Then verify the signatures using
 </p>
 
 <pre>
 % pgpk -a KEYS
 % pgpv pdfbox-X.Y.Z-src.zip.asc
-</pre> 
+</pre>
 
 or
 
 <pre>
 % pgp -ka KEYS
 % pgp pdfbox-X.Y.Z-src.zip.asc
-</pre> 
+</pre>
 
 or
 
@@ -333,8 +333,8 @@ or
 <h2>Previous releases</h2>
 
 <p>
-    Previous Apache releases (starting with version `0.8.0-incubating`) are available in the <a href="http://archive.apache.org/dist/pdfbox/">release archive</a>. 
-    Older releases (up to version `0.7.3`) published from SourceForge are still available on 
+    Previous Apache releases (starting with version `0.8.0-incubating`) are available in the <a href="http://archive.apache.org/dist/pdfbox/">release archive</a>.
+    Older releases (up to version `0.7.3`) published from SourceForge are still available on
     <a href="http://sourceforge.net/projects/pdfbox/files/PDFBox/">SourceForge Files</a>.
 </p>
 
@@ -355,7 +355,7 @@ svn checkout http://svn.apache.org/repos/asf/pdfbox/trunk/
     We also have a read-only <a href="http://git.apache.org/">Git mirror</a> which is further mirrored to GitHub as <a href="https://github.com/apache/pdfbox">apache/pdfbox</a>.
 </p>
 
-<a name="#snapshot"></a>
+<a name="snapshot"></a>
 <h2>Latest development snapshot</h2>
 
 <p>
@@ -383,7 +383,7 @@ Section 740.13) for both object code and source code.
 </p>
 
 <ul>
-    <li>Apache PDFBox uses the Java Cryptography Architecture (JCA) and the Bouncy Castle libraries for handling encryption in PDF documents. 
+    <li>Apache PDFBox uses the Java Cryptography Architecture (JCA) and the Bouncy Castle libraries for handling encryption in PDF documents.
         </li>
 </ul>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/1f5ba131/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index a7e60b1..8c77cb1 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 1.8.13 released (2016-12-09)</h2>
+<h2>Apache PDFBox 2.0.3 released (2016-09-17)</h2>
 <p>The Apache PDFBox community is pleased to announce the release of
-Apache PDFBox version 1.8.13.</p>
+Apache PDFBox version 2.0.3. It is available for download at:</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><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&amp;version=12335586">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&amp;version=12336070">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 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>
-
-<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&amp;version=12336070">full release notes</a> for details about this release.</p>
-
 <h3>Apache PDFBox 2.0.2 released (2016-06-09) </h3>
 <p>The Apache PDFBox community is pleased to announce the release of
 Apache PDFBox version 2.0.2. It is available for download at:</p>
@@ -243,6 +235,14 @@ PDFBox 1.8 or earlier an overview about things to look at when switching over. M
 
 <p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&amp;version=12319281">full release notes</a> for details about this release.</p>
 
+<h3>Apache PDFBox 1.8.11 released (2016-01-18) </h3>
+<p>The Apache PDFBox community is pleased to announce the release of
+Apache PDFBox version 1.8.11.</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&amp;version=12333061">full release notes</a> for details about this release.</p>
+
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/1f5ba131/content/news/2016/12/09/pdfbox-1.8.13-released.html
----------------------------------------------------------------------
diff --git a/content/news/2016/12/09/pdfbox-1.8.13-released.html b/content/news/2016/12/09/pdfbox-1.8.13-released.html
deleted file mode 100644
index 6353e76..0000000
--- a/content/news/2016/12/09/pdfbox-1.8.13-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 1.8.13 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 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&amp;version=12335586">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&ndash;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


Mime
View raw message