You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2017/11/03 06:19:07 UTC

[1/2] pdfbox-docs git commit: Site checkin for project Apache PDFBox Website

Repository: pdfbox-docs
Updated Branches:
  refs/heads/asf-site 440a27724 -> dde2393a4


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/news/2017/11/02/pdfbox-2.0.8-released.html
----------------------------------------------------------------------
diff --git a/content/news/2017/11/02/pdfbox-2.0.8-released.html b/content/news/2017/11/02/pdfbox-2.0.8-released.html
new file mode 100644
index 0000000..1dfac41
--- /dev/null
+++ b/content/news/2017/11/02/pdfbox-2.0.8-released.html
@@ -0,0 +1,225 @@
+<!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.8 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="/">
+            <svg class="pdfbox-brand-toolbox" viewBox="0 0 744.09448819 1052.3622047" xmlns="http://www.w3.org/2000/svg">
+  <g transform="matrix(1.25 0 0 -1.25 -317.14 1018.08)" clip-path="url(#clipPath3375)">
+    <path d="M821.924 376.535L463.24 122.525l-203.83 76.86c23.89 6.02 46.87 15.197 68.335 27.29 60.063 33.835 105.686 88.46 128.282 153.59 2.634 4.66 8.11 6.92 13.265 5.47 4.667-1.31 8.01-5.41 8.353-10.247l-3.572-188.12 334.99 193.957c2.41 1 5.113 1.028 7.54.075 2.315-.907 4.21-2.64 5.32-4.865zm-1.307 97.91l.13-78.324c-.87-2.72-3.342-4.61-6.197-4.75-3.104-.14-5.924 1.8-6.893 4.75l1.29 79.54c.386 2.92 2.893 5.09 5.835 5.04 3.37-.04 6.022-2.89 5.835-6.25z"/>
+    <path d="M751.88 651.666c-.237.002-.48-.022-.723-.077l-363.512-25.15c-10.37-.73-19.583-6.76-24.588-15.87-6.943-12.64-4.677-28.26 5.864-37.72 2.85-2.56 6.22-4.49 8.97-7.16 2.19-2.12 3.93-4.65 5.12-7.45 23.7-26.86 30.3-64.76 17.08-98.05-4.75-11.96-11.97-22.77-21.2-31.73l-73.74 16.1 46.69 115.89c2.01 3.07.64 7.21-2.8 8.49-2.8 1.03-5.91-.34-7.03-3.1L286.49 448.8l-11.79 4.32c-2.097.28-4.21-.39-5.76-1.825-1.16-1.077-1.925-2.516-2.16-4.083l-11.53-189.68c1.66-1.83 4.03-2.85 6.5-2.798 2.533.05 4.913 1.22 6.5 3.197 6.22 22.46 11.216 45.23 14.96 68.22 5.137 31.55 7.91 63.43 8.3 95.39l136.152-15.28c2.396-1.09 5.032-1.56 7.66-1.35 2.75.22 5.396 1.16 7.663 2.73 41.62 19.22 83.375 38.15 125.26 56.79 41.615 18.52 83.36 36.75 125.23 54.68 1.935-.16 3.703-1.16 4.843-2.73 1.266-1.74 1.618-3.99.948-6.04-3.8-3.45-7.333-7.19-10.575-11.17-3.5-4.3-6.65-8.88-9.42-13.69.11-.34.22-.68.35-1.01.32-.85.7-1.68 1.25-2.41 2.42-3.16 7.04-3.55 9.96-.84 8.66 9.71 19.21 17.557 31.01 23.05 10.67 4.97 22.17 7.927 33.
 92 8.717 2.58 1.626 4.23 4.39 4.43 7.437.14 2.06-.41 4.103-1.56 5.815-3.63-.24-7.27.26-10.71 1.47-3.55 1.25-6.81 3.23-9.55 5.815l19.55 78.14c-1.4 1.684-3.13 3.07-5.08 4.06-2.28 1.16-4.81 1.76-7.37 1.746-53.05-4.71-106.21-8.08-159.433-10.11-53.34-2.035-106.73-2.72-160.1-2.056-3.79-.575-6.82 3.092-5.54 6.7.63 1.784 2.31 2.98 4.2 2.996l321.783 26.06c2.094.873 3.99 1.933 5.74 3.18 1.46 1.036 2.987 2.365 2.947 4.34-.034 1.75-1.484 3.09-3.154 3.11zm-23.61-56.02c.952-.32 1.776-.934 2.354-1.755.472-.67.76-1.45.833-2.27l-12.96-35.37c-2.706-3.39-5.87-6.4-9.404-8.92-3.324-2.37-6.945-4.3-10.77-5.73l-260.77-58.65-21.01 80.83 311.727 31.88z"/>
+    <path d="M786.68 627.94c.393-18.97 2.614-37.734 6.564-56.05 3.873-17.958 9.463-35.75 19.087-51.71 3.54-5.854 7.58-11.385 12.08-16.53 1.07-1.608 1.71-3.462 1.86-5.386.14-1.842-.16-3.69-.9-5.385-54.19-15.56-108.32-31.34-162.39-47.35-54.2-16.05-108.33-32.33-162.39-48.85-.23 1.43.04 2.9.78 4.15 1.07 1.81 2.96 2.99 5.06 3.13l271.54 104.43c-4.43 19.56-7.17 39.46-8.19 59.49-.99 19.68-.32 39.4 2.02 58.97.81 4.06 4.63 6.79 8.74 6.24 2.88-.39 5.27-2.4 6.15-5.16z"/>
+  </g>
+</svg>
+
+            <svg class="pdfbox-brand-text" xmlns="http://www.w3.org/2000/svg" style="isolation:isolate" viewBox="0 0 109.81066666651577 30.943999999957384">
+  <path d="M0 .31h6.528q1.792 0 3.157.47 1.366.468 2.475 1.663 1.11 1.194 1.536 2.816.427 1.57.427 4.3 0 2-.256 3.45-.214 1.41-.982 2.64-.896 1.492-2.39 2.345-1.492.81-3.924.81H4.36v11.87H0V.305zm4.352 14.42h2.09q1.323 0 2.05-.383.724-.384 1.065-1.024.342-.683.384-1.622.09-.93.09-2.09 0-1.06-.08-2-.04-.98-.38-1.66-.3-.72-.98-1.11-.68-.43-1.96-.43H4.36v10.32z" fill-rule="evenodd"/>
+  <path d="M17.333.31h6.443q3.712 0 5.675 2.09 1.97 2.048 1.97 5.76v14.208q0 4.267-2.09 6.315-2.05 2.005-5.93 2.005h-6.06V.308zm4.352 26.282h2.006q1.84 0 2.61-.896.77-.94.77-2.9V8.16q0-1.792-.72-2.773-.72-.982-2.64-.982H21.7v22.187z" fill-rule="evenodd"/>
+  <path d="M35.583.31h12.97v4.095h-8.618v9.216h7.51v4.1h-7.51v12.97h-4.352V.31z"/>
+  <path d="M51.417.31h6.357q2.09 0 3.54.64 1.495.64 2.433 1.706.94 1.067 1.323 2.475.427 1.37.427 2.86V9.1q0 1.236-.214 2.09-.17.853-.554 1.493-.39.64-.94 1.152-.56.47-1.28.896 1.53.73 2.26 2.18.72 1.41.72 3.8v1.71q0 4.01-1.97 6.15-1.92 2.13-6.19 2.13H51.4V.31zm4.352 26.026h1.87q1.32 0 2.05-.384.77-.384 1.15-1.067.38-.682.47-1.62.08-.94.08-2.05 0-1.15-.13-2.004-.13-.85-.56-1.4-.386-.6-1.11-.89-.727-.3-1.92-.3h-1.92v9.73zm0-13.568h1.96q2.17 0 2.9-1.067.77-1.1.77-3.2 0-2.04-.86-3.07-.81-1.02-2.99-1.02h-1.79v8.37z" fill-rule="evenodd"/>
+  <path d="M69.027 16.31q0-1.323.17-2.433.17-1.11.64-1.962.768-1.408 2.22-2.262 1.45-.853 3.455-.853t3.456.853q1.45.854 2.22 2.262.468.853.64 1.962.17 1.11.17 2.432v7.12q0 1.32-.17 2.43-.172 1.11-.64 1.96-.77 1.4-2.22 2.26-1.45.85-3.456.85-2.005 0-3.456-.86-1.45-.854-2.22-2.26-.468-.855-.64-1.964-.17-1.11-.17-2.43V16.3zm4.352 7.807q0 1.238.55 1.878.6.597 1.58.597.98 0 1.53-.597.59-.64.59-1.878v-8.49q0-1.238-.6-1.835-.557-.64-1.538-.64-.98 0-1.58.64-.553.597-.553 1.835v8.49z" fill-rule="evenodd"/>
+  <path d="M88.316 19.637L83.24 9.057h4.607l2.688 6.143 2.688-6.144h4.608l-5.16 10.58 5.42 11.052h-4.61l-2.94-6.613-2.94 6.613h-4.61l5.34-11.05z"/>
+  <path d="M102.883 5.28h1.2q.784 0 1.168-.224.4-.24.4-.784 0-.464-.35-.672-.33-.224-.88-.224h-1.53V5.28zm-1.056-2.864h2.56q2.32 0 2.32 1.904 0 .48-.144.816-.128.336-.368.56-.24.224-.56.352-.304.112-.656.16l1.93 2.96h-1.28L103.7 6.24h-.817v2.928h-1.056V2.416zm6.832 3.376q0-.976-.37-1.84-.37-.864-.99-1.504-.63-.64-1.48-1.008-.85-.384-1.81-.384t-1.81.384q-.85.368-1.47 1.008t-1 1.504-.37 1.84q0 .976.364 1.84.37.864.992 1.504t1.47 1.024q.85.368 1.81.368.96 0 1.805-.368.85-.384 1.47-1.024.625-.64.99-1.504.37-.864.37-1.84zm-10.44 0q0-1.2.45-2.256.46-1.056 1.25-1.84t1.84-1.232Q102.82 0 104.02 0t2.255.464q1.056.448 1.84 1.232t1.232 1.84q.464 1.056.464 2.256 0 1.2-.46 2.256-.45 1.056-1.23 1.84t-1.84 1.248q-1.05.448-2.25.448t-2.25-.448q-1.053-.464-1.84-1.248t-1.25-1.84q-.45-1.056-.45-2.256z" fill-rule="evenodd"/>
+</svg>
+
+          </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="https://www.apache.org/licenses">License</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="https://issues.apache.org/jira/browse/PDFBOX">Issue Tracker</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.7/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.13/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://builds.apache.org/analysis/overview?id=org.apache.pdfbox%3Apdfbox-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="https://www.apache.org/">Apache Software Foundation</a></li>
+                    <li><a href="https://www.apache.org/foundation/thanks.html">ASF Sponsors</a></li>
+                    <li><a href="https://www.apache.org/security/">Security</a></li>
+                </ul>
+		<!-- dontation page logo/link-->
+		<a href="https://www.apache.org/foundation/contributing.html"><img width="135" src="https://s.apache.org/SupportApache"></a>
+		<!-- apachecon advert -->
+                <iframe src="https://www.apache.org/ads/buttonbar.html"
+                    style="border-width:0; float: left" frameborder="0" scrolling="no"
+                width="135" height="265"></iframe>
+            </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.8. It is available for download at:</p>
+
+<p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p>
+
+<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&amp;version=12341096">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;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>, Licensed under the <a href="https://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

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/siteupdate.html
----------------------------------------------------------------------
diff --git a/content/siteupdate.html b/content/siteupdate.html
index 6fe4687..656b695 100644
--- a/content/siteupdate.html
+++ b/content/siteupdate.html
@@ -174,31 +174,35 @@
 <h3 id="checkout-from-the-git-repository">Checkout from the Git Repository</h3>
 <p>Before you can edit the site, you need to check it out from the Git repository:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone https://git-wip-us.apache.org/repos/asf/pdfbox-docs
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>git clone https://git-wip-us.apache.org/repos/asf/pdfbox-docs
+</code></pre>
+</div>
 
 <h3 id="local-changes">Local Changes</h3>
 <p>You can now do the changes and additions to the sources of the PDFBox website. To test these locally use</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>jekyll serve
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>jekyll serve
+</code></pre>
+</div>
 
 <p>which will compile the changes and run a local webserver at</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>http://localhost:4000
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>http://localhost:4000
+</code></pre>
+</div>
 
 <h3 id="publish-the-website-for-comitters-only">Publish the Website (For Comitters Only)</h3>
 <p>After you have done the local changes follow these steps to publish the content:</p>
 
 <p>Add the following server configuration in your ~/.m2/settings.xml file</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;server&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;server&gt;</span>
   <span class="nt">&lt;id&gt;</span>pdfbox-site<span class="nt">&lt;/id&gt;</span>
   <span class="nt">&lt;username&gt;</span>** USERNAME **<span class="nt">&lt;/username&gt;</span>
   <span class="nt">&lt;password&gt;</span>** PASSWORD **<span class="nt">&lt;/password&gt;</span>
 <span class="nt">&lt;/server&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p><code class="highlighter-rouge">pdfbox-site</code> is referenced from the PDFBox pom.xml file.</p>
 
@@ -206,21 +210,24 @@
 
 <p>Ensure that the new website content can build locally</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>jekyll build
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>jekyll build
+</code></pre>
+</div>
 
 <p>This will read the sources and generate the new content in the <code class="highlighter-rouge">./staging</code> directory.</p>
 
 <p>When you are happy with the new content update the source repository</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git commit -m "..."
+<div class="highlighter-rouge"><pre class="highlight"><code>git commit -m "..."
 git push origin master
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Upload the new content to the production site</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mvn scm-publish:publish-scm
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>mvn scm-publish:publish-scm
+</code></pre>
+</div>
 
 <p>This will checkout the current content into the <code class="highlighter-rouge">./target</code>directory, apply the changes from <code class="highlighter-rouge">./staging</code> and publish
 the changes to the PDFBox production website.</p>
@@ -230,8 +237,9 @@ the changes to the PDFBox production website.</p>
 
 <p>Run</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ mvn clean javadoc:aggregate scm-publish:publish-scm
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>$ mvn clean javadoc:aggregate scm-publish:publish-scm
+</code></pre>
+</div>
 
 <p>from the <code class="highlighter-rouge">&lt;SVN_ROOT&gt;/../pdfbox</code> directory.</p>
 


[2/2] pdfbox-docs git commit: Site checkin for project Apache PDFBox Website

Posted by le...@apache.org.
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/dde2393a
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/dde2393a
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/dde2393a

Branch: refs/heads/asf-site
Commit: dde2393a460f62f9174eee4224fc6e235bc1ec74
Parents: 440a277
Author: Andreas Lehmkühler <an...@lehmi.de>
Authored: Fri Nov 3 07:19:04 2017 +0100
Committer: Andreas Lehmkühler <an...@lehmi.de>
Committed: Fri Nov 3 07:19:04 2017 +0100

----------------------------------------------------------------------
 content/1.8/architecture.html                   |  15 +-
 content/1.8/cookbook/documentcreation.html      |  10 +-
 content/1.8/cookbook/encryption.html            |   5 +-
 content/1.8/cookbook/fill-form-field.html       |  25 ++-
 content/1.8/cookbook/pdfacreation.html          |  20 +-
 content/1.8/cookbook/pdfavalidation.html        |   5 +-
 content/1.8/cookbook/rendering.html             |   5 +-
 content/1.8/cookbook/textextraction.html        |  10 +-
 .../1.8/cookbook/workingwithattachments.html    |   5 +-
 content/1.8/cookbook/workingwithfonts.html      |  15 +-
 content/1.8/cookbook/workingwithmetadata.html   |  15 +-
 content/1.8/dependencies.html                   |  15 +-
 content/1.8/faq.html                            |  20 +-
 content/2.0/cookbook/encryption.html            |   5 +-
 content/2.0/dependencies.html                   |  15 +-
 content/2.0/faq.html                            |  20 +-
 content/2.0/getting-started.html                |   5 +-
 content/2.0/migration.html                      |  50 +++--
 content/building.html                           |  15 +-
 content/codingconventions.html                  |   5 +-
 content/download.html                           |  86 +++----
 content/index.html                              |  22 +-
 .../news/2017/11/02/pdfbox-2.0.8-released.html  | 225 +++++++++++++++++++
 content/siteupdate.html                         |  40 ++--
 24 files changed, 471 insertions(+), 182 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/architecture.html
----------------------------------------------------------------------
diff --git a/content/1.8/architecture.html b/content/1.8/architecture.html
index c41b680..82fe338 100644
--- a/content/1.8/architecture.html
+++ b/content/1.8/architecture.html
@@ -272,19 +272,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>
 
-<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;&lt;
+<div class="language-text highlighter-rouge"><pre class="highlight"><code>&lt;&lt;
     /Type /Page
     /MediaBox [0 0 612 915]
     /Contents 56 0 R
 &gt;&gt;
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>The information within the dictionary can be accessed using the COS model</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">COSDictionary</span> <span class="n">page</span> <span class="o">=</span> <span class="o">...;</span>
+<div class="language-java 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></div>
+</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
@@ -302,10 +304,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>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDPage</span> <span class="n">page</span> <span class="o">=</span> <span class="o">...;</span>
+<div class="language-java 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></div>
+</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/dde2393a/content/1.8/cookbook/documentcreation.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/documentcreation.html b/content/1.8/cookbook/documentcreation.html
index 8baf77b..616bf16 100644
--- a/content/1.8/cookbook/documentcreation.html
+++ b/content/1.8/cookbook/documentcreation.html
@@ -162,7 +162,7 @@
 
 <p>This small sample shows how to create a new PDF document using PDFBox.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// Create a new empty document</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="c1">// Create a new empty document</span>
 <span class="n">PDDocument</span> <span class="n">document</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span>
 
 <span class="c1">// Create a new blank page and add it to the document</span>
@@ -175,13 +175,14 @@
 <span class="c1">// finally make sure that the document is properly</span>
 <span class="c1">// closed.</span>
 <span class="n">document</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="hello-world-using-a-pdf-base-font">Hello World Using a PDF Base Font</h2>
 
 <p>This small sample shows how to create a new document and print the text “Hello World” using one of the PDF base fonts.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
 <span class="n">PDDocument</span> <span class="n">document</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span>
 <span class="n">PDPage</span> <span class="n">page</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDPage</span><span class="o">();</span>
 <span class="n">document</span><span class="o">.</span><span class="na">addPage</span><span class="o">(</span> <span class="n">page</span> <span class="o">);</span>
@@ -205,7 +206,8 @@
 <span class="c1">// Save the results and ensure that the document is properly closed:</span>
 <span class="n">document</span><span class="o">.</span><span class="na">save</span><span class="o">(</span> <span class="s">"Hello World.pdf"</span><span class="o">);</span>
 <span class="n">document</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/encryption.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/encryption.html b/content/1.8/cookbook/encryption.html
index b0dc50f..7a365f5 100644
--- a/content/1.8/cookbook/encryption.html
+++ b/content/1.8/cookbook/encryption.html
@@ -164,7 +164,7 @@
 
 <p>This small sample shows how to encrypt a file so that it can be viewed, but not printed.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><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>
+<div class="language-java 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>
 
 <span class="c1">// Define the length of the encryption key.</span>
 <span class="c1">// Possible values are 40 or 128 (256 will be available in PDFBox 2.0).</span>
@@ -184,7 +184,8 @@
 
 <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>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/fill-form-field.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/fill-form-field.html b/content/1.8/cookbook/fill-form-field.html
index bc95d2e..77053d7 100644
--- a/content/1.8/cookbook/fill-form-field.html
+++ b/content/1.8/cookbook/fill-form-field.html
@@ -164,48 +164,53 @@ be neccessary to walk through the tree to get an individual field.</p>
 
 <p>Load the PDF document.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:::java
+<div class="highlighter-rouge"><pre class="highlight"><code>:::java
 // load the document
 PDDocument pdfDocument = PDDocument.loadNonSeq(new File(... ), null);
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Get the docoument catalog and the AcroForm which might be contained within.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:::java
+<div class="highlighter-rouge"><pre class="highlight"><code>:::java
 // get the document catalog
 PDDocumentCatalog docCatalog = pdfDocument.getDocumentCatalog();
 PDAcroForm acroForm = docCatalog.getAcroForm();
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Retrieve an individual field and set its value.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:::java
+<div class="highlighter-rouge"><pre class="highlight"><code>:::java
 // as there might not be an AcroForm entry a null check is necessary
 if (acroForm != null)
 {
     PDField field = (PDField) acroForm.getField( "fieldName" );
     field.setValue("new field value");
 }
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>If a field is nested within the form tree a fully qualified name might be provided
 to access the field.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:::java
+<div class="highlighter-rouge"><pre class="highlight"><code>:::java
 // as there might not be an AcroForm entry a null check is neccessary
 if (acroForm != null)
 {
     PDField field = (PDField) acroForm.getField( "fieldsParentName.fieldName" );
     field.setValue("new field value");
 }
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Save and close the filled out form.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:::java
+<div class="highlighter-rouge"><pre class="highlight"><code>:::java
 doc.save(filledForm);
 doc.close();
-</code></pre></div></div>
+</code></pre>
+</div>
 
 
             </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/pdfacreation.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/pdfacreation.html b/content/1.8/cookbook/pdfacreation.html
index 35abef8..b5a260f 100644
--- a/content/1.8/cookbook/pdfacreation.html
+++ b/content/1.8/cookbook/pdfacreation.html
@@ -169,9 +169,10 @@ document. The current example creates a valid PDF/A-1b document.</p>
 <p>The PDF/A specification enforces that the fonts used in the document are present in the PDF File. You
 have to load them. As an example:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">InputStream</span> <span class="n">fontStream</span> <span class="o">=</span> <span class="n">CreatePDFA</span><span class="o">.</span><span class="na">class</span><span class="o">.</span><span class="na">getResourceAsStream</span><span class="o">(</span><span class="s">"/org/apache/pdfbox/resources/ttf/ArialMT.ttf"</span><span class="o">);</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">InputStream</span> <span class="n">fontStream</span> <span class="o">=</span> <span class="n">CreatePDFA</span><span class="o">.</span><span class="na">class</span><span class="o">.</span><span class="na">getResourceAsStream</span><span class="o">(</span><span class="s">"/org/apache/pdfbox/resources/ttf/ArialMT.ttf"</span><span class="o">);</span>
 <span class="n">PDFont</span> <span class="n">font</span> <span class="o">=</span> <span class="n">PDTrueTypeFont</span><span class="o">.</span><span class="na">loadTTF</span><span class="o">(</span><span class="n">doc</span><span class="o">,</span> <span class="n">fontStream</span><span class="o">);</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="include-xmp-metadata-block">Include XMP Metadata Block</h2>
 
@@ -179,21 +180,22 @@ have to load them. As an example:</p>
 of PDF/A specification reached by the document) must be present. These lines create the XMP metadata for a
 PDF/A-1b document:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">XMPMetadata</span> <span class="n">xmp</span> <span class="o">=</span> <span class="k">new</span> <span class="n">XMPMetadata</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">XMPMetadata</span> <span class="n">xmp</span> <span class="o">=</span> <span class="k">new</span> <span class="n">XMPMetadata</span><span class="o">();</span>
 <span class="n">XMPSchemaPDFAId</span> <span class="n">pdfaid</span> <span class="o">=</span> <span class="k">new</span> <span class="n">XMPSchemaPDFAId</span><span class="o">(</span><span class="n">xmp</span><span class="o">);</span>
 <span class="n">xmp</span><span class="o">.</span><span class="na">addSchema</span><span class="o">(</span><span class="n">pdfaid</span><span class="o">);</span>
 <span class="n">pdfaid</span><span class="o">.</span><span class="na">setConformance</span><span class="o">(</span><span class="s">"B"</span><span class="o">);</span>
 <span class="n">pdfaid</span><span class="o">.</span><span class="na">setPart</span><span class="o">(</span><span class="mi">1</span><span class="o">);</span>
 <span class="n">pdfaid</span><span class="o">.</span><span class="na">setAbout</span><span class="o">(</span><span class="s">""</span><span class="o">);</span>
 <span class="n">metadata</span><span class="o">.</span><span class="na">importXMPMetadata</span><span class="o">(</span><span class="n">xmp</span><span class="o">);</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="include-color-profile">Include Color Profile</h2>
 
 <p>It is mandatory to include the color profile used by the document. Different profiles can be used. This 
 example takes one present in pdfbox:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// Create output intent</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="c1">// Create output intent</span>
 <span class="n">InputStream</span> <span class="n">colorProfile</span> <span class="o">=</span> <span class="n">CreatePDFA</span><span class="o">.</span><span class="na">class</span><span class="o">.</span><span class="na">getResourceAsStream</span><span class="o">(</span><span class="s">"/org/apache/pdfbox/resources/pdfa/sRGB Color Space Profile.icm"</span><span class="o">);</span>
 <span class="n">PDOutputIntent</span> <span class="n">oi</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDOutputIntent</span><span class="o">(</span><span class="n">doc</span><span class="o">,</span> <span class="n">colorProfile</span><span class="o">);</span> 
 <span class="n">oi</span><span class="o">.</span><span class="na">setInfo</span><span class="o">(</span><span class="s">"sRGB IEC61966-2.1"</span><span class="o">);</span> 
@@ -201,14 +203,16 @@ example takes one present in pdfbox:</p>
 <span class="n">oi</span><span class="o">.</span><span class="na">setOutputConditionIdentifier</span><span class="o">(</span><span class="s">"sRGB IEC61966-2.1"</span><span class="o">);</span> 
 <span class="n">oi</span><span class="o">.</span><span class="na">setRegistryName</span><span class="o">(</span><span class="s">"http://www.color.org"</span><span class="o">);</span> 
 <span class="n">cat</span><span class="o">.</span><span class="na">addOutputIntent</span><span class="o">(</span><span class="n">oi</span><span class="o">);</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="complete-example">Complete example</h2>
 
 <p>The complete example can be found in pdfbox-example. The source file is</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>src/main/java/org/apache/pdfbox/examples/pdfa/CreatePDFA.java
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>src/main/java/org/apache/pdfbox/examples/pdfa/CreatePDFA.java
+</code></pre>
+</div>
 
 
             </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/pdfavalidation.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/pdfavalidation.html b/content/1.8/cookbook/pdfavalidation.html
index a18e97c..82ca31b 100644
--- a/content/1.8/cookbook/pdfavalidation.html
+++ b/content/1.8/cookbook/pdfavalidation.html
@@ -163,7 +163,7 @@ Check Compliance with PDF/A-1b</p>
 
 <p>This small sample shows how to check the compliance of a file with the PDF/A-1b specification.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">ValidationResult</span> <span class="n">result</span> <span class="o">=</span> <span class="kc">null</span><span class="o">;</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">ValidationResult</span> <span class="n">result</span> <span class="o">=</span> <span class="kc">null</span><span class="o">;</span>
 
 <span class="n">PreflightParser</span> <span class="n">parser</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PreflightParser</span><span class="o">(</span><span class="n">args</span><span class="o">[</span><span class="mi">0</span><span class="o">]);</span>
 <span class="k">try</span>
@@ -210,7 +210,8 @@ Check Compliance with PDF/A-1b</p>
         <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="n">error</span><span class="o">.</span><span class="na">getErrorCode</span><span class="o">()</span> <span class="o">+</span> <span class="s">" : "</span> <span class="o">+</span> <span class="n">error</span><span class="o">.</span><span class="na">getDetails</span><span class="o">());</span>
     <span class="o">}</span>
 <span class="o">}</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="categories-of-validation-error">Categories of Validation Error</h2>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/rendering.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/rendering.html b/content/1.8/cookbook/rendering.html
index bb8badd..760ee91 100644
--- a/content/1.8/cookbook/rendering.html
+++ b/content/1.8/cookbook/rendering.html
@@ -162,7 +162,7 @@
 
 <p>This small sample shows how to render (convert to images) a PDF document using PDFBox.</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:::java
+<div class="highlighter-rouge"><pre class="highlight"><code>:::java
     String filename = "YOURFILENAMEHERE.pdf";
 
     // open the document
@@ -196,7 +196,8 @@
     }
 
     doc.close();
-</code></pre></div></div>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/textextraction.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/textextraction.html b/content/1.8/cookbook/textextraction.html
index 3e25c2e..17ef06a 100644
--- a/content/1.8/cookbook/textextraction.html
+++ b/content/1.8/cookbook/textextraction.html
@@ -175,8 +175,9 @@ org.apache.pdfbox.ExtractText.</p>
 Lucene to be able to index a PDF document it must first be converted to text. PDFBox provides 
 a simple approach for adding PDF documents into a Lucene index.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">Document</span> <span class="n">luceneDocument</span> <span class="o">=</span> <span class="n">LucenePDFDocument</span><span class="o">.</span><span class="na">getDocument</span><span class="o">(</span> <span class="o">...</span> <span class="o">);</span>
-</code></pre></div></div>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">Document</span> <span class="n">luceneDocument</span> <span class="o">=</span> <span class="n">LucenePDFDocument</span><span class="o">.</span><span class="na">getDocument</span><span class="o">(</span> <span class="o">...</span> <span class="o">);</span>
+</code></pre>
+</div>
 
 <p>Now that you hava a Lucene Document object, you can add it to the Lucene index just like 
 you would if it had been created from a text or HTML file. The LucenePDFDocument automatically 
@@ -199,11 +200,12 @@ process. The simplest is to specify the range of pages that you want to be extra
 For example, to only extract text from the second and third pages of the PDF document 
 you could do this:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDFTextStripper</span> <span class="n">stripper</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFTextStripper</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDFTextStripper</span> <span class="n">stripper</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFTextStripper</span><span class="o">();</span>
 <span class="n">stripper</span><span class="o">.</span><span class="na">setStartPage</span><span class="o">(</span> <span class="mi">2</span> <span class="o">);</span>
 <span class="n">stripper</span><span class="o">.</span><span class="na">setEndPage</span><span class="o">(</span> <span class="mi">3</span> <span class="o">);</span>
 <span class="n">stripper</span><span class="o">.</span><span class="na">writeText</span><span class="o">(</span> <span class="o">...</span> <span class="o">);</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>NOTE: The startPage and endPage properties of PDFTextStripper are 1 based and inclusive.</p>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/workingwithattachments.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/workingwithattachments.html b/content/1.8/cookbook/workingwithattachments.html
index 64e1707..326669d 100644
--- a/content/1.8/cookbook/workingwithattachments.html
+++ b/content/1.8/cookbook/workingwithattachments.html
@@ -182,7 +182,7 @@ attribute of the <code class="highlighter-rouge">PDComplexFileSpecification</cod
 menu. PDFBox allows attachments to be added to and extracted from PDF documents. 
 Attachments are part of the named tree that is attached to the document catalog.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDEmbeddedFilesNameTreeNode</span> <span class="n">efTree</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDEmbeddedFilesNameTreeNode</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDEmbeddedFilesNameTreeNode</span> <span class="n">efTree</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDEmbeddedFilesNameTreeNode</span><span class="o">();</span>
 
 <span class="c1">//first create the file specification, which holds the embedded file</span>
 <span class="n">PDComplexFileSpecification</span> <span class="n">fs</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDComplexFileSpecification</span><span class="o">();</span>
@@ -203,7 +203,8 @@ Attachments are part of the named tree that is attached to the document catalog.
 <span class="n">PDDocumentNameDictionary</span> <span class="n">names</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocumentNameDictionary</span><span class="o">(</span> <span class="n">doc</span><span class="o">.</span><span class="na">getDocumentCatalog</span><span class="o">()</span> <span class="o">);</span>
 <span class="n">names</span><span class="o">.</span><span class="na">setEmbeddedFiles</span><span class="o">(</span> <span class="n">efTree</span> <span class="o">);</span>
 <span class="n">doc</span><span class="o">.</span><span class="na">getDocumentCatalog</span><span class="o">().</span><span class="na">setNames</span><span class="o">(</span> <span class="n">names</span> <span class="o">);</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/workingwithfonts.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/workingwithfonts.html b/content/1.8/cookbook/workingwithfonts.html
index 5c450fe..588f9da 100644
--- a/content/1.8/cookbook/workingwithfonts.html
+++ b/content/1.8/cookbook/workingwithfonts.html
@@ -233,7 +233,7 @@
 
 <p>This small sample shows how to create a new document and print the text “Hello World” using one of the PDF base fonts.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
 <span class="n">PDDocument</span> <span class="n">document</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span>
 <span class="n">PDPage</span> <span class="n">page</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDPage</span><span class="o">();</span>
 <span class="n">document</span><span class="o">.</span><span class="na">addPage</span><span class="o">(</span> <span class="n">page</span> <span class="o">);</span>
@@ -257,13 +257,14 @@
 <span class="c1">// Save the results and ensure that the document is properly closed:</span>
 <span class="n">document</span><span class="o">.</span><span class="na">save</span><span class="o">(</span> <span class="s">"Hello World.pdf"</span><span class="o">);</span>
 <span class="n">document</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="hello-world-using-a-truetype-font">Hello World Using a TrueType Font</h2>
 
 <p>This small sample shows how to create a new document and print the text “Hello World” using a TrueType font.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
 <span class="n">PDDocument</span> <span class="n">document</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span>
 <span class="n">PDPage</span> <span class="n">page</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDPage</span><span class="o">();</span>
 <span class="n">document</span><span class="o">.</span><span class="na">addPage</span><span class="o">(</span> <span class="n">page</span> <span class="o">);</span>
@@ -287,7 +288,8 @@
 <span class="c1">// Save the results and ensure that the document is properly closed:</span>
 <span class="n">document</span><span class="o">.</span><span class="na">save</span><span class="o">(</span> <span class="s">"Hello World.pdf"</span><span class="o">);</span>
 <span class="n">document</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>While it is recommended to embed all fonts for greatest portability not all PDF producer 
 applications will do this. When displaying a PDF it is necessary to find an external font to use. 
@@ -301,7 +303,7 @@ use when no mapping exists.</p>
 
 <p>This small sample shows how to create a new document and print the text “Hello World” using a PostScript Type1 font.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="c1">// Create a document and add a page to it</span>
 <span class="n">PDDocument</span> <span class="n">document</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDDocument</span><span class="o">();</span>
 <span class="n">PDPage</span> <span class="n">page</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDPage</span><span class="o">();</span>
 <span class="n">document</span><span class="o">.</span><span class="na">addPage</span><span class="o">(</span> <span class="n">page</span> <span class="o">);</span>
@@ -325,7 +327,8 @@ use when no mapping exists.</p>
 <span class="c1">// Save the results and ensure that the document is properly closed:</span>
 <span class="n">document</span><span class="o">.</span><span class="na">save</span><span class="o">(</span> <span class="s">"Hello World.pdf"</span><span class="o">);</span>
 <span class="n">document</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/cookbook/workingwithmetadata.html
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/workingwithmetadata.html b/content/1.8/cookbook/workingwithmetadata.html
index 2061fdb..bb3e924 100644
--- a/content/1.8/cookbook/workingwithmetadata.html
+++ b/content/1.8/cookbook/workingwithmetadata.html
@@ -170,7 +170,7 @@ Getting basic Metadata</p>
 <p>To set or retrieve basic information about the document the PDDocumentInformation object 
 provides a high level API to that information:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDDocumentInformation</span> <span class="n">info</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="na">getDocumentInformation</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDDocumentInformation</span> <span class="n">info</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="na">getDocumentInformation</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">"Page Count="</span> <span class="o">+</span> <span class="n">document</span><span class="o">.</span><span class="na">getNumberOfPages</span><span class="o">()</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">"Title="</span> <span class="o">+</span> <span class="n">info</span><span class="o">.</span><span class="na">getTitle</span><span class="o">()</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">"Author="</span> <span class="o">+</span> <span class="n">info</span><span class="o">.</span><span class="na">getAuthor</span><span class="o">()</span> <span class="o">);</span>
@@ -181,7 +181,8 @@ provides a high level API to that information:</p>
 <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">"Creation Date="</span> <span class="o">+</span> <span class="n">info</span><span class="o">.</span><span class="na">getCreationDate</span><span class="o">()</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">"Modification Date="</span> <span class="o">+</span> <span class="n">info</span><span class="o">.</span><span class="na">getModificationDate</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">"Trapped="</span> <span class="o">+</span> <span class="n">info</span><span class="o">.</span><span class="na">getTrapped</span><span class="o">()</span> <span class="o">);</span>      
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="accessing-pdf-metadata">Accessing PDF Metadata</h2>
 
@@ -192,19 +193,20 @@ See Adobe Documentation: XMP Specification</p>
 <p>PDF documents can have XML metadata associated with certain objects within a PDF document.
 For example, the following PD Model objects have the ability to contain metadata:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>PDDocumentCatalog
+<div class="highlighter-rouge"><pre class="highlight"><code>PDDocumentCatalog
 PDPage
 PDXObject
 PDICCBased
 PDStream
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>The metadata that is stored in PDF objects conforms to the XMP specification, it is 
 recommended that you review that specification. Currently there is no high level API for 
 managing the XML metadata, PDFBox uses standard java InputStream/OutputStream to retrieve 
 or set the XML metadata.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><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="o">...</span> <span class="o">);</span>
+<div class="language-java 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="o">...</span> <span class="o">);</span>
 <span class="n">PDDocumentCatalog</span> <span class="n">catalog</span> <span class="o">=</span> <span class="n">doc</span><span class="o">.</span><span class="na">getDocumentCatalog</span><span class="o">();</span>
 <span class="n">PDMetadata</span> <span class="n">metadata</span> <span class="o">=</span> <span class="n">catalog</span><span class="o">.</span><span class="na">getMetadata</span><span class="o">();</span>
 
@@ -215,7 +217,8 @@ or set the XML metadata.</p>
 <span class="n">InputStream</span> <span class="n">newXMPData</span> <span class="o">=</span> <span class="o">...;</span>
 <span class="n">PDMetadata</span> <span class="n">newMetadata</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDMetadata</span><span class="o">(</span><span class="n">doc</span><span class="o">,</span> <span class="n">newXMLData</span><span class="o">,</span> <span class="kc">false</span> <span class="o">);</span>
 <span class="n">catalog</span><span class="o">.</span><span class="na">setMetadata</span><span class="o">(</span> <span class="n">newMetadata</span> <span class="o">);</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/dependencies.html
----------------------------------------------------------------------
diff --git a/content/1.8/dependencies.html b/content/1.8/dependencies.html
index 5e8f190..edf0b42 100644
--- a/content/1.8/dependencies.html
+++ b/content/1.8/dependencies.html
@@ -189,12 +189,13 @@ included in the Java platform.</p>
 <p>To add the pdfbox, fontbox, jempbox and commons-logging jars to your application, the easiest thing is to declare the Maven dependency shown below. This gives you the main
 pdfbox library directly and the other required jars as transitive dependencies.</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
   <span class="nt">&lt;groupId&gt;</span>org.apache.pdfbox<span class="nt">&lt;/groupId&gt;</span>
   <span class="nt">&lt;artifactId&gt;</span>pdfbox<span class="nt">&lt;/artifactId&gt;</span>
   <span class="nt">&lt;version&gt;</span>...<span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Set the version field to the latest stable PDFBox version.</p>
 
@@ -217,7 +218,7 @@ pdfbox library directly and the other required jars as transitive dependencies.<
 <p>The most notable such optional feature is support for PDF encryption. Instead of implementing its own encryption algorithms, PDFBox uses libraries from the 
 <a href="http://www.bouncycastle.org/">Legion of the Bouncy Castle</a>. Both the bcprov and bcmail libraries are needed and can be included using the Maven dependencies shown below.</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
   <span class="nt">&lt;groupId&gt;</span>org.bouncycastle<span class="nt">&lt;/groupId&gt;</span>
   <span class="nt">&lt;artifactId&gt;</span>bcprov-jdk15<span class="nt">&lt;/artifactId&gt;</span>
   <span class="nt">&lt;version&gt;</span>1.44<span class="nt">&lt;/version&gt;</span>
@@ -227,19 +228,21 @@ pdfbox library directly and the other required jars as transitive dependencies.<
   <span class="nt">&lt;artifactId&gt;</span>bcmail-jdk15<span class="nt">&lt;/artifactId&gt;</span>
   <span class="nt">&lt;version&gt;</span>1.44<span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h4 id="support-for-bidirectional-languages">Support for Bidirectional Languages</h4>
 <p>Another important optional feature is support for bidirectional languages like Arabic. PDFBox uses the ICU4J library from the 
 <a href="http://site.icu-project.org/">International Components for Unicode</a> (ICU) project to support such languages in PDF documents. To add the ICU4J jar to your project, 
 use the following Maven dependency.</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
   <span class="nt">&lt;groupId&gt;</span>com.ibm.icu<span class="nt">&lt;/groupId&gt;</span>
   <span class="nt">&lt;artifactId&gt;</span>icu4j<span class="nt">&lt;/artifactId&gt;</span>
   <span class="nt">&lt;version&gt;</span>3.8<span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>PDFBox also contains extra support for use with the <a href="http://lucene.apache.org/">Lucene</a> and <a href="http://ant.apache.org/">Ant</a> projects. Since in these cases PDFBox is just an
 add-on feature to these projects, you should first set up your application to use Lucene or Ant and then add PDFBox support as described on this page.</p>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/1.8/faq.html
----------------------------------------------------------------------
diff --git a/content/1.8/faq.html b/content/1.8/faq.html
index 3e410fd..c5cb57f 100644
--- a/content/1.8/faq.html
+++ b/content/1.8/faq.html
@@ -181,22 +181,25 @@
 <p><a name="log4j"></a></p>
 <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>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader).
+<div class="highlighter-rouge"><pre class="highlight"><code>log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader).
 log4j:WARN Please initialize the log4j system properly.
-</code></pre></div></div>
+</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>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText &lt;PDF-file&gt; &lt;output-text-file&gt;
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText &lt;PDF-file&gt; &lt;output-text-file&gt;
+</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>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>log4j.configuration=file:///&lt;path to config file&gt;
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>log4j.configuration=file:///&lt;path to config file&gt;
+</code></pre>
+</div>
 
 <p><a name="threadsafe"></a></p>
 <h3 id="is-pdfbox-thread-safe">Is PDFBox thread safe?</h3>
@@ -212,7 +215,7 @@ 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>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><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>
+<div class="language-java 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>
@@ -224,7 +227,8 @@ PDDocument objects; one from the “new PDDocument()” and the second by the lo
       <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></div>
+</code></pre>
+</div>
 
 <h2 id="text-extraction-1">Text Extraction</h2>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/2.0/cookbook/encryption.html
----------------------------------------------------------------------
diff --git a/content/2.0/cookbook/encryption.html b/content/2.0/cookbook/encryption.html
index 841cd3d..467fa77 100644
--- a/content/2.0/cookbook/encryption.html
+++ b/content/2.0/cookbook/encryption.html
@@ -164,7 +164,7 @@
 
 <p>This small sample shows how to encrypt a file so that it can be viewed, but not printed.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><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="k">new</span> <span class="n">File</span><span class="o">(</span><span class="s">"filename.pdf"</span><span class="o">));</span>
+<div class="language-java 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="k">new</span> <span class="n">File</span><span class="o">(</span><span class="s">"filename.pdf"</span><span class="o">));</span>
 
 <span class="c1">// Define the length of the encryption key.</span>
 <span class="c1">// Possible values are 40, 128 or 256.</span>
@@ -184,7 +184,8 @@
 
 <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>
+</code></pre>
+</div>
 
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/2.0/dependencies.html
----------------------------------------------------------------------
diff --git a/content/2.0/dependencies.html b/content/2.0/dependencies.html
index 0a8fb3c..abd6042 100644
--- a/content/2.0/dependencies.html
+++ b/content/2.0/dependencies.html
@@ -188,12 +188,13 @@ included in the Java platform.</p>
 <h3 id="include-dependencies-using-maven">Include Dependencies Using Maven</h3>
 <p>To add the pdfbox, fontbox, xmpbox and commons-logging jars to your application, the easiest thing is to declare the Maven dependency shown below. This gives you the main pdfbox library directly and the other required jars as transitive dependencies.</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.pdfbox<span class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>pdfbox<span class="nt">&lt;/artifactId&gt;</span>
     <span class="nt">&lt;version&gt;</span>...<span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Set the version field to the latest stable PDFBox version.</p>
 
@@ -223,7 +224,7 @@ There is a know issue when using the JBIG2-Image-Decoder as an ImageIO Plugin. T
 
 <p>Encrypting and sigining PDFs requires the <em>bcprov</em>, <em>bcmail</em> and <em>bcpkix</em> libraries from the <a href="http://www.bouncycastle.org/">Legion of the Bouncy Castle</a>. These can be included in your Maven project using the following dependencies:</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.bouncycastle<span class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>bcprov-jdk15on<span class="nt">&lt;/artifactId&gt;</span>
     <span class="nt">&lt;version&gt;</span>1.54<span class="nt">&lt;/version&gt;</span>
@@ -240,14 +241,16 @@ There is a know issue when using the JBIG2-Image-Decoder as an ImageIO Plugin. T
     <span class="nt">&lt;artifactId&gt;</span>bcpkix-jdk15on<span class="nt">&lt;/artifactId&gt;</span>
     <span class="nt">&lt;version&gt;</span>1.54<span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h3 id="java-cryptography-extension-jce">Java Cryptography Extension (JCE)</h3>
 
 <p>256-bit AES encryption requires a JDK with “unlimited strength” cryptography, which requires extra files to be installed. For JDK 7, see <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html">Java Cryptography Extension (JCE)</a>. If these files are not installed, building PDFBox will throw an exception with the following message:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>JCE unlimited strength jurisdiction policy files are not installed
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>JCE unlimited strength jurisdiction policy files are not installed
+</code></pre>
+</div>
 
 <h2 id="dependencies-for-ant-builds">Dependencies for Ant Builds</h2>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/2.0/faq.html
----------------------------------------------------------------------
diff --git a/content/2.0/faq.html b/content/2.0/faq.html
index 7107342..e5651d2 100644
--- a/content/2.0/faq.html
+++ b/content/2.0/faq.html
@@ -203,22 +203,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>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader).
+<div class="highlighter-rouge"><pre class="highlight"><code>log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader).
 log4j:WARN Please initialize the log4j system properly.
-</code></pre></div></div>
+</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>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText &lt;PDF-file&gt; &lt;output-text-file&gt;
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText &lt;PDF-file&gt; &lt;output-text-file&gt;
+</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>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>log4j.configuration=file:///&lt;path to config file&gt;
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>log4j.configuration=file:///&lt;path to config file&gt;
+</code></pre>
+</div>
 
 <p><a name="threadsafe"></a></p>
 
@@ -238,7 +241,7 @@ 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>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><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>
+<div class="language-java 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>
@@ -250,7 +253,8 @@ PDDocument objects; one from the “new PDDocument()” and the second by the lo
       <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></div>
+</code></pre>
+</div>
 
 <h2 id="font-handling-1">Font Handling</h2>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/2.0/getting-started.html
----------------------------------------------------------------------
diff --git a/content/2.0/getting-started.html b/content/2.0/getting-started.html
index 8ade6d1..1fa8fd3 100644
--- a/content/2.0/getting-started.html
+++ b/content/2.0/getting-started.html
@@ -162,12 +162,13 @@
 
 <p>To use the latest release you’ll need to add the following dependency:</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
+<div class="language-xml highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;dependency&gt;</span>
   <span class="nt">&lt;groupId&gt;</span>org.apache.pdfbox<span class="nt">&lt;/groupId&gt;</span>
   <span class="nt">&lt;artifactId&gt;</span>pdfbox<span class="nt">&lt;/artifactId&gt;</span>
   <span class="nt">&lt;version&gt;</span>2.0.4<span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="pdfbox-and-java-8">PDFBox and Java 8</h2>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/2.0/migration.html
----------------------------------------------------------------------
diff --git a/content/2.0/migration.html b/content/2.0/migration.html
index d22111a..e8446c0 100644
--- a/content/2.0/migration.html
+++ b/content/2.0/migration.html
@@ -222,8 +222,9 @@ results when switching to PDFBox 2.0.0.</p>
 
 <p>TrueType fonts shall now be loaded using</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDType0Font</span><span class="o">.</span><span class="na">load</span>
-</code></pre></div></div>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDType0Font</span><span class="o">.</span><span class="na">load</span>
+</code></pre>
+</div>
 
 <p>to leverage that.</p>
 
@@ -253,34 +254,37 @@ and so on. The <code class="highlighter-rouge">add</code> method now supports al
 
 <p>Prior to PDFBox 2.0 parsing the page content was done using</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDStream</span> <span class="n">contents</span> <span class="o">=</span> <span class="n">page</span><span class="o">.</span><span class="na">getContents</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDStream</span> <span class="n">contents</span> <span class="o">=</span> <span class="n">page</span><span class="o">.</span><span class="na">getContents</span><span class="o">();</span>
 <span class="n">PDFStreamParser</span> <span class="n">parser</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFStreamParser</span><span class="o">(</span><span class="n">contents</span><span class="o">.</span><span class="na">getStream</span><span class="o">());</span>
 <span class="n">parser</span><span class="o">.</span><span class="na">parse</span><span class="o">();</span>
 <span class="n">List</span><span class="o">&lt;</span><span class="n">Object</span><span class="o">&gt;</span> <span class="n">tokens</span> <span class="o">=</span> <span class="n">parser</span><span class="o">.</span><span class="na">getTokens</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>With PDFBox 2.0 the code is reduced to</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDFStreamParser</span> <span class="n">parser</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFStreamParser</span><span class="o">(</span><span class="n">page</span><span class="o">);</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDFStreamParser</span> <span class="n">parser</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFStreamParser</span><span class="o">(</span><span class="n">page</span><span class="o">);</span>
 <span class="n">parser</span><span class="o">.</span><span class="na">parse</span><span class="o">();</span>
 <span class="n">List</span><span class="o">&lt;</span><span class="n">Object</span><span class="o">&gt;</span> <span class="n">tokens</span> <span class="o">=</span> <span class="n">parser</span><span class="o">.</span><span class="na">getTokens</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>In addition this also works if the page content is defined as an <strong>array of content streams</strong>.</p>
 
 <h3 id="iterating-pages">Iterating Pages</h3>
 <p>With PDFBox 2.0.0 the prefered way to iterate through the pages of a document is</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">for</span><span class="o">(</span><span class="n">PDPage</span> <span class="n">page</span> <span class="o">:</span> <span class="n">document</span><span class="o">.</span><span class="na">getPages</span><span class="o">())</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="k">for</span><span class="o">(</span><span class="n">PDPage</span> <span class="n">page</span> <span class="o">:</span> <span class="n">document</span><span class="o">.</span><span class="na">getPages</span><span class="o">())</span>
 <span class="o">{</span>
     <span class="o">...</span> <span class="o">(</span><span class="k">do</span> <span class="n">something</span><span class="o">)</span>
 <span class="o">}</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h3 id="pdf-rendering">PDF Rendering</h3>
 <p>With PDFBox 2.0.0 <code class="highlighter-rouge">PDPage.convertToImage</code> and <code class="highlighter-rouge">PDFImageWriter</code> have been removed. Instead the new <code class="highlighter-rouge">PDFRenderer</code> class shall be used.</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDDocument</span> <span class="n">document</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="k">new</span> <span class="n">File</span><span class="o">(</span><span class="n">pdfFilename</span><span class="o">));</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDDocument</span> <span class="n">document</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="k">new</span> <span class="n">File</span><span class="o">(</span><span class="n">pdfFilename</span><span class="o">));</span>
 <span class="n">PDFRenderer</span> <span class="n">pdfRenderer</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFRenderer</span><span class="o">(</span><span class="n">document</span><span class="o">);</span>
 <span class="kt">int</span> <span class="n">pageCounter</span> <span class="o">=</span> <span class="mi">0</span><span class="o">;</span>
 <span class="k">for</span> <span class="o">(</span><span class="n">PDPage</span> <span class="n">page</span> <span class="o">:</span> <span class="n">document</span><span class="o">.</span><span class="na">getPages</span><span class="o">())</span>
@@ -292,7 +296,8 @@ and so on. The <code class="highlighter-rouge">add</code> method now supports al
     <span class="n">ImageIOUtil</span><span class="o">.</span><span class="na">writeImage</span><span class="o">(</span><span class="n">bim</span><span class="o">,</span> <span class="n">pdfFilename</span> <span class="o">+</span> <span class="s">"-"</span> <span class="o">+</span> <span class="o">(</span><span class="n">pageCounter</span><span class="o">++)</span> <span class="o">+</span> <span class="s">".png"</span><span class="o">,</span> <span class="mi">300</span><span class="o">);</span>
 <span class="o">}</span>
 <span class="n">document</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p><code class="highlighter-rouge">ImageIOUtil</code> has been moved into the <code class="highlighter-rouge">org.apache.pdfbox.tools.imageio</code> package. This is in the <code class="highlighter-rouge">pdfbox-tools</code> download. If you are using maven, the <code class="highlighter-rouge">artifactId</code> has the same name.</p>
 
@@ -323,19 +328,21 @@ https://bugs.openjdk.java.net/browse/JDK-8041125</p>
 
 <p>Users of <code class="highlighter-rouge">PDFPrinter.silentPrint()</code> should now use this code:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PrinterJob</span> <span class="n">job</span> <span class="o">=</span> <span class="n">PrinterJob</span><span class="o">.</span><span class="na">getPrinterJob</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PrinterJob</span> <span class="n">job</span> <span class="o">=</span> <span class="n">PrinterJob</span><span class="o">.</span><span class="na">getPrinterJob</span><span class="o">();</span>
 <span class="n">job</span><span class="o">.</span><span class="na">setPageable</span><span class="o">(</span><span class="k">new</span> <span class="n">PDFPageable</span><span class="o">(</span><span class="n">document</span><span class="o">));</span>
 <span class="n">job</span><span class="o">.</span><span class="na">print</span><span class="o">();</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>While users of <code class="highlighter-rouge">PDFPrinter.print()</code> should now use this code:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PrinterJob</span> <span class="n">job</span> <span class="o">=</span> <span class="n">PrinterJob</span><span class="o">.</span><span class="na">getPrinterJob</span><span class="o">();</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PrinterJob</span> <span class="n">job</span> <span class="o">=</span> <span class="n">PrinterJob</span><span class="o">.</span><span class="na">getPrinterJob</span><span class="o">();</span>
 <span class="n">job</span><span class="o">.</span><span class="na">setPageable</span><span class="o">(</span><span class="k">new</span> <span class="n">PDFPageable</span><span class="o">(</span><span class="n">document</span><span class="o">));</span>
 <span class="k">if</span> <span class="o">(</span><span class="n">job</span><span class="o">.</span><span class="na">printDialog</span><span class="o">())</span> <span class="o">{</span>
     <span class="n">job</span><span class="o">.</span><span class="na">print</span><span class="o">();</span>
 <span class="o">}</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Advanced use case examples can be found in th examples package under org/apache/pdfbox/examples/printing/Printing.java</p>
 
@@ -343,7 +350,7 @@ https://bugs.openjdk.java.net/browse/JDK-8041125</p>
 <p>In 1.8, to get the text colors, one method was to pass an expanded .properties file to the PDFStripper constructor. To achieve the same
 in PDFBox 2.0 you can extend <code class="highlighter-rouge">PDFTextStripper</code>and add the following <code class="highlighter-rouge">Operators</code> to the constructor:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetStrokingColorSpace</span><span class="o">());</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetStrokingColorSpace</span><span class="o">());</span>
 <span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetNonStrokingColorSpace</span><span class="o">());</span>
 <span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetStrokingDeviceCMYKColor</span><span class="o">());</span>
 <span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetNonStrokingDeviceCMYKColor</span><span class="o">());</span>
@@ -355,7 +362,8 @@ in PDFBox 2.0 you can extend <code class="highlighter-rouge">PDFTextStripper</co
 <span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetStrokingColorN</span><span class="o">());</span>
 <span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetNonStrokingColor</span><span class="o">());</span>
 <span class="n">addOperator</span><span class="o">(</span><span class="k">new</span> <span class="n">SetNonStrokingColorN</span><span class="o">());</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h3 id="interactive-forms">Interactive Forms</h3>
 <p>Large parts of the support for interactive forms (AcroForms) have been rewritten. The most notable change from 1.8.x is that
@@ -364,13 +372,14 @@ tree are now represented by the <code class="highlighter-rouge">PDNonTerminalFie
 
 <p>With PDFBox 2.0.0 the prefered way to iterate through the fields is now</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">PDAcroForm</span> <span class="n">form</span><span class="o">;</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="n">PDAcroForm</span> <span class="n">form</span><span class="o">;</span>
 <span class="o">...</span>
 <span class="k">for</span> <span class="o">(</span><span class="n">PDField</span> <span class="n">field</span> <span class="o">:</span> <span class="n">form</span><span class="o">.</span><span class="na">getFieldTree</span><span class="o">())</span>
 <span class="o">{</span>
     <span class="o">...</span> <span class="o">(</span><span class="k">do</span> <span class="n">something</span><span class="o">)</span>
 <span class="o">}</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <p>Most <code class="highlighter-rouge">PDField</code> subclasses now accept Java generic types such as <code class="highlighter-rouge">String</code> as parameters instead of the former <code class="highlighter-rouge">COSBase</code> subclasses.</p>
 
@@ -388,8 +397,9 @@ annotations associated with a field.</p>
 <p>The ReplaceText example has been removed as it gave the incorrect illusion that text can be replaced easily.
 Words are often split, as seen by this excerpt of a content stream:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[ (Do) -29 (c) -1 (umen) 30 (tation) ] TJ
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>[ (Do) -29 (c) -1 (umen) 30 (tation) ] TJ
+</code></pre>
+</div>
 
 <p>Other problems will appear with font subsets: for example, if only the glyphs for a, b and c are used,
 these would be encoded as hex 0, 1 and 2, so you won’t find “abc”. Additionally, you can’t replace “c” with “d” because it isn’t part of the subset.</p>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/building.html
----------------------------------------------------------------------
diff --git a/content/building.html b/content/building.html
index 5dde36c..5998128 100644
--- a/content/building.html
+++ b/content/building.html
@@ -164,9 +164,10 @@
 
 <p>You can obtain the latest source of PDFBox from our <a href="http://pdfbox.apache.org/download.cgi">SVN repo</a> The current trunk is v3.0.0-SNAPSHOT. There is a seperate branch for the 1.8.x series. You can fetch the latest 2.0 trunk using Subversion:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>svn checkout http://svn.apache.org/repos/asf/pdfbox/trunk/
+<div class="highlighter-rouge"><pre class="highlight"><code>svn checkout http://svn.apache.org/repos/asf/pdfbox/trunk/
 cd trunk
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="build-dependencies">Build dependencies</h2>
 
@@ -189,15 +190,17 @@ cd trunk
 
 <p>Building PDFBox 2.0 requires a JDK with “unlimited strength” cryptography, which requires extra files to be installed. For JDK 7, see <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html">Java Cryptography Extension (JCE)</a>. If these files are not installed, building PDFBox will fail the following test:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TestPublicKeyEncryption.setUp:70 JCE unlimited strength jurisdiction policy files are not installed
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>TestPublicKeyEncryption.setUp:70 JCE unlimited strength jurisdiction policy files are not installed
+</code></pre>
+</div>
 
 <h2 id="building-with-maven">Building with Maven</h2>
 
 <p>In the root directory of PDFBox:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mvn clean install
-</code></pre></div></div>
+<div class="highlighter-rouge"><pre class="highlight"><code>mvn clean install
+</code></pre>
+</div>
 
 <hr />
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/codingconventions.html
----------------------------------------------------------------------
diff --git a/content/codingconventions.html b/content/codingconventions.html
index d6d2dd7..58b61ef 100644
--- a/content/codingconventions.html
+++ b/content/codingconventions.html
@@ -311,7 +311,7 @@
 
 <p>Here’s an example of PDFBox’s formatting style:</p>
 
-<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="nc">Foo</span> <span class="kd">extends</span> <span class="n">Bar</span>
+<div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="nc">Foo</span> <span class="kd">extends</span> <span class="n">Bar</span>
 <span class="o">{</span>
     <span class="kd">public</span> <span class="kd">static</span> <span class="kt">void</span> <span class="nf">main</span><span class="o">(</span><span class="n">String</span> <span class="n">args</span><span class="o">[])</span>
     <span class="o">{</span>
@@ -328,7 +328,8 @@
         <span class="o">}</span>
     <span class="o">}</span>
 <span class="o">}</span>
-</code></pre></div></div>
+</code></pre>
+</div>
 
 <h2 id="eclipse-formatter">Eclipse Formatter</h2>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/download.html
----------------------------------------------------------------------
diff --git a/content/download.html b/content/download.html
index 55b0a99..a3f7c48 100644
--- a/content/download.html
+++ b/content/download.html
@@ -161,7 +161,7 @@
 <p>There are several ways to obtain the PDFBox binaries or sources:</p>
 
 <ul>
-    <li><a href="#20x">PDFBox 2.0.7 release</a></li>
+    <li><a href="#20x">PDFBox 2.0.8 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>
@@ -190,78 +190,78 @@ Alternatively, <a href="https://www.apache.org/mirrors/">view the complete list
 </form>
 
 <a name="20x"></a>
-<h3>PDFBox 2.0.7</h3>
+<h3>PDFBox 2.0.8</h3>
 
 <p>This is an incremental feature release based on the earlier `2.0.x` releases.
-   See the <a href="https://www.apache.org/dist/pdfbox/2.0.7/RELEASE-NOTES.txt">Release Notes</a> for more details.
+   See the <a href="https://www.apache.org/dist/pdfbox/2.0.8/RELEASE-NOTES.txt">Release Notes</a> for more details.
 </p>
 <p><strong>Source code including examples</strong></p>
 <ul>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/pdfbox-2.0.7-src.zip">pdfbox-2.0.7-src.zip</a> 14MB, source archive
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-2.0.7-src.zip.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-2.0.7-src.zip.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-2.0.7-src.zip.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/pdfbox-2.0.8-src.zip">pdfbox-2.0.8-src.zip</a> 14MB, source archive
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-2.0.8-src.zip.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-2.0.8-src.zip.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-2.0.8-src.zip.sha">SHA1</a>
     </li>
 </ul>
 <p><strong>Command line tools</strong></p>
 <ul>
     <li>
-      <a href="[preferred]pdfbox/2.0.7/pdfbox-app-2.0.7.jar">pdfbox-app-2.0.7.jar</a> 7.9MB, pre-built PDFBox standalone binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-app-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-app-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-app-2.0.7.jar.sha">SHA1</a>
+      <a href="[preferred]pdfbox/2.0.8/pdfbox-app-2.0.8.jar">pdfbox-app-2.0.8.jar</a> 7.9MB, pre-built PDFBox standalone binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-app-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-app-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-app-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/preflight-app-2.0.7.jar">preflight-app-2.0.7.jar</a> 8.5MB, pre-built Preflight standalone binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/preflight-app-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/preflight-app-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/preflight-app-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/preflight-app-2.0.8.jar">preflight-app-2.0.8.jar</a> 8.5MB, pre-built Preflight standalone binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/preflight-app-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/preflight-app-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/preflight-app-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/debugger-app-2.0.7.jar">debugger-app-2.0.7.jar</a> 7.9MB, pre-built Debugger standalone binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/debugger-app-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/debugger-app-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/debugger-app-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/debugger-app-2.0.8.jar">debugger-app-2.0.8.jar</a> 7.9MB, pre-built Debugger standalone binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/debugger-app-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/debugger-app-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/debugger-app-2.0.8.jar.sha">SHA1</a>
     </li>
 </ul>
 <p><strong>Libraries of each subproject</strong></p>
 <ul>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/pdfbox-2.0.7.jar">pdfbox-2.0.7.jar</a> 2.4MB, pre-built binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/pdfbox-2.0.8.jar">pdfbox-2.0.8.jar</a> 2.4MB, pre-built binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/fontbox-2.0.7.jar">fontbox-2.0.7.jar</a> 1.5MB, pre-built binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/fontbox-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/fontbox-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/fontbox-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/fontbox-2.0.8.jar">fontbox-2.0.8.jar</a> 1.5MB, pre-built binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/fontbox-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/fontbox-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/fontbox-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/preflight-2.0.7.jar">preflight-2.0.7.jar</a> 242KB, pre-built binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/preflight-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/preflight-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/preflight-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/preflight-2.0.8.jar">preflight-2.0.8.jar</a> 242KB, pre-built binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/preflight-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/preflight-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/preflight-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/xmpbox-2.0.7.jar">xmpbox-2.0.7.jar</a> 131KB, pre-built binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/xmpbox-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/xmpbox-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/xmpbox-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/xmpbox-2.0.8.jar">xmpbox-2.0.8.jar</a> 131KB, pre-built binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/xmpbox-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/xmpbox-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/xmpbox-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/pdfbox-tools-2.0.7.jar">pdfbox-tools-2.0.7.jar</a> 68KB, pre-built binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-tools-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-tools-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-tools-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/pdfbox-tools-2.0.8.jar">pdfbox-tools-2.0.8.jar</a> 68KB, pre-built binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-tools-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-tools-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-tools-2.0.8.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.7/pdfbox-debugger-2.0.7.jar">pdfbox-debugger-2.0.7.jar</a> 218KB, pre-built binary
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-debugger-2.0.7.jar.asc">PGP</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-debugger-2.0.7.jar.md5">MD5</a>
-        <a href="https://www.apache.org/dist/pdfbox/2.0.7/pdfbox-debugger-2.0.7.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.8/pdfbox-debugger-2.0.8.jar">pdfbox-debugger-2.0.8.jar</a> 218KB, pre-built binary
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-debugger-2.0.8.jar.asc">PGP</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-debugger-2.0.8.jar.md5">MD5</a>
+        <a href="https://www.apache.org/dist/pdfbox/2.0.8/pdfbox-debugger-2.0.8.jar.sha">SHA1</a>
     </li>
 </ul>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dde2393a/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index a9028db..2f08b6a 100644
--- a/content/index.html
+++ b/content/index.html
@@ -165,13 +165,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.7 released (2017-07-20)</h2>
+<h2>Apache PDFBox 2.0.8 released (2017-11-02)</h2>
 <p>The Apache PDFBox community is pleased to announce the release of
-Apache PDFBox version 2.0.7. It is available for download at:</p>
+Apache PDFBox version 2.0.8. It is available for download at:</p>
 
 <p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p>
 
-<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&amp;version=12340513">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=12341096">full release notes</a> for details about this release.</p>
 
 <h2 id="getting-help">Getting Help</h2>
 
@@ -224,6 +224,14 @@ skills. Subscribe to the <a href="/mailinglists.html">Mailing Lists</a> and find
 
 <h2 id="news">News</h2>
 
+<h3>Apache PDFBox 2.0.7 released (2017-07-20) </h3>
+<p>The Apache PDFBox community is pleased to announce the release of
+Apache PDFBox version 2.0.7. It is available for download at:</p>
+
+<p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p>
+
+<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&amp;version=12340513">full release notes</a> for details about this release.</p>
+
 <h3>Apache PDFBox 2.0.6 released (2017-05-15) </h3>
 <p>The Apache PDFBox community is pleased to announce the release of
 Apache PDFBox version 2.0.6. It is available for download at:</p>
@@ -256,14 +264,6 @@ Apache PDFBox version 1.8.13.</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>
 
-<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="https://pdfbox.apache.org/download.cgi">https://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>
-
 
             </div>
         </div>