pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject [1/2] pdfbox-docs git commit: Site checkin for project Apache PDFBox Website
Date Sat, 21 Nov 2015 20:11:08 GMT
Repository: pdfbox-docs
Updated Branches:
  refs/heads/asf-site 3ca1d144f -> e94e54d4f


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/e94e54d4/content/2.0/migration.html
----------------------------------------------------------------------
diff --git a/content/2.0/migration.html b/content/2.0/migration.html
index 8e5a665..62ad562 100644
--- a/content/2.0/migration.html
+++ b/content/2.0/migration.html
@@ -227,15 +227,15 @@ and so on. The <code>add</code> method now supports all
the different type of re
 <h3 id="pdf-rendering">PDF Rendering</h3>
 
 <p>With PDFBox 2.0.0 <code>PDPage.convertToImage</code> has been removed.
Instead the new <code>PDFRenderer</code> class shall be used.</p>
-<div class="highlight"><pre><code class="language-java" data-lang="java"><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>
+<div class="highlight"><pre><code class="language-java" data-lang="java"><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="nf">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="nf">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>
 <span class="o">{</span> 
     <span class="n">pdfRenderer</span><span class="o">.</span><span
class="na">renderImageWithDPI</span><span class="o">(</span><span
class="n">pageCounter</span><span class="o">,</span> <span class="mi">300</span><span
class="o">,</span> <span class="n">ImageType</span><span class="o">.</span><span
class="na">RGB</span><span class="o">);</span>
 
     <span class="c1">// suffix in filename will be used as the file format</span>
-    <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="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">&quot;-&quot;</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">&quot;.png&quot;</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>
@@ -262,12 +262,12 @@ Solution: disable LittleCMS in favour of the old KCMS (Kodak Color Management
Sy
 
 <p>Users of <code>PDFPrinter.silentPrint()</code> should now use this code:</p>
 <div class="highlight"><pre><code class="language-java" data-lang="java"><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">setPageable</span><span
class="o">(</span><span class="k">new</span> <span class="nf">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>
 <p>While users of <code>PDFPrinter.print()</code> should now use this code:</p>
 <div class="highlight"><pre><code class="language-java" data-lang="java"><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">setPageable</span><span
class="o">(</span><span class="k">new</span> <span class="nf">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>
@@ -278,18 +278,18 @@ Solution: disable LittleCMS in favour of the old KCMS (Kodak Color Management
Sy
 
 <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>PDFTextStripper</code>and add the following
<code>Operators</code> to the constructor:</p>
-<div class="highlight"><pre><code class="language-java" data-lang="java"><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>
-<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="n">SetNonStrokingDeviceRGBColor</span><span
class="o">());</span>
-<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="n">SetStrokingDeviceRGBColor</span><span
class="o">());</span>
-<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="n">SetNonStrokingDeviceGrayColor</span><span
class="o">());</span>
-<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="n">SetStrokingDeviceGrayColor</span><span
class="o">());</span>
-<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="n">SetStrokingColor</span><span
class="o">());</span>
-<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>
+<div class="highlight"><pre><code class="language-java" data-lang="java"><span
class="n">addOperator</span><span class="o">(</span><span class="k">new</span>
<span class="nf">SetStrokingColorSpace</span><span class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetNonStrokingColorSpace</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetStrokingDeviceCMYKColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetNonStrokingDeviceCMYKColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetNonStrokingDeviceRGBColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetStrokingDeviceRGBColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetNonStrokingDeviceGrayColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetStrokingDeviceGrayColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetStrokingColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetStrokingColorN</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetNonStrokingColor</span><span
class="o">());</span>
+<span class="n">addOperator</span><span class="o">(</span><span
class="k">new</span> <span class="nf">SetNonStrokingColorN</span><span
class="o">());</span>
 </code></pre></div>
 <h3 id="interactive-forms">Interactive Forms</h3>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/e94e54d4/content/building.html
----------------------------------------------------------------------
diff --git a/content/building.html b/content/building.html
index f75cf43..197c8a2 100644
--- a/content/building.html
+++ b/content/building.html
@@ -138,7 +138,7 @@
 <h2 id="obtaining-the-source">Obtaining the Source</h2>
 
 <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 v2.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="highlight"><pre><code class="language-" data-lang="">svn checkout
http://svn.apache.org/repos/asf/pdfbox/trunk/
+<div class="highlight"><pre><code class="language-text" data-lang="text">svn
checkout http://svn.apache.org/repos/asf/pdfbox/trunk/
 cd trunk
 </code></pre></div>
 <h2 id="build-dependencies">Build dependencies</h2>
@@ -161,12 +161,12 @@ cd trunk
 <h3 id="java-cryptography-extension-jce">Java Cryptography Extension (JCE)</h3>
 
 <p>Building PDFBox 2.0 requires a JDK with &quot;unlimited strength&quot; 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="highlight"><pre><code class="language-" data-lang="">TestPublicKeyEncryption.setUp:70
JCE unlimited strength jurisdiction policy files are not installed
+<div class="highlight"><pre><code class="language-text" data-lang="text">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="highlight"><pre><code class="language-" data-lang="">mvn clean
install
+<div class="highlight"><pre><code class="language-text" data-lang="text">mvn
clean install
 </code></pre></div>
 <hr>
 

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/e94e54d4/content/codingconventions.html
----------------------------------------------------------------------
diff --git a/content/codingconventions.html b/content/codingconventions.html
index 9a7ea71..e2c3020 100644
--- a/content/codingconventions.html
+++ b/content/codingconventions.html
@@ -217,7 +217,7 @@ Methods  </p></li>
 <h3 id="example">Example</h3>
 
 <p>Here&#39;s an example of PDFBox&#39;s formatting style:</p>
-<div class="highlight"><pre><code class="language-" data-lang="">public
class Foo extends Bar
+<div class="highlight"><pre><code class="language-text" data-lang="text">public
class Foo extends Bar
 {
     public static void main(String args[])
     {

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/e94e54d4/content/download.html
----------------------------------------------------------------------
diff --git a/content/download.html b/content/download.html
index 6376159..bfcb3c9 100644
--- a/content/download.html
+++ b/content/download.html
@@ -136,7 +136,7 @@
 <p>There are several ways to obtain the PDFBox binaries or sources:</p>
 
 <ul>
-    <li><a href="#20x">PDFBox 2.0.0 RC1</a></li>
+    <li><a href="#20x">PDFBox 2.0.0 RC2</a></li>
     <li><a href="#18x">PDFBox 1.8.10 release</a></li>
     <li><a href="#oldreleases">Previous releases</a></li>
     <li><a href="#scm">Latest source from version control</a></li>
@@ -165,73 +165,73 @@ Alternatively, <a href="http://www.apache.org/mirrors/">view the
complete list o
 </form>
 
 <a name="20x"></a>
-<h3>PDFBox 2.0.0-RC1</h3>
+<h3>PDFBox 2.0.0-RC2</h3>
 
-<p>This is a release candidate of the upcoming major release based on the current svn
trunk.
-    See the <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/RELEASE-NOTES.txt">Release
Notes</a> for more details.
+<p>This is the second release candidate of the upcoming major release based on the
current svn trunk.
+    See the <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/RELEASE-NOTES.txt">Release
Notes</a> for more details.
     The <a href="http://pdfbox.apache.org/2.0/migration.html">Migration Guide</a>
gives an overview about things to look at when upgrading from earlier versions.
 </p>
 
 <ul>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip">pdfbox-2.0.0-RC1-src.zip</a>
13.1MB, source archive
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2-src.zip">pdfbox-2.0.0-RC2-src.zip</a>
13.8MB, source archive
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2-src.zip.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2-src.zip.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2-src.zip.sha">SHA1</a>
     </li>
     <li>
-      <a href="[preferred]pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar">pdfbox-app-2.0.0-RC1.jar</a>
7.9MB, pre-built PDFBox standalone binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar.sha">SHA1</a>
+      <a href="[preferred]pdfbox/2.0.0-RC2/pdfbox-app-2.0.0-RC2.jar">pdfbox-app-2.0.0-RC2.jar</a>
7.9MB, pre-built PDFBox standalone binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-app-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-app-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-app-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar">preflight-app-2.0.0-RC1.jar</a>
8.6MB, pre-built Preflight standalone binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/preflight-app-2.0.0-RC2.jar">preflight-app-2.0.0-RC2.jar</a>
8.6MB, pre-built Preflight standalone binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/preflight-app-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/preflight-app-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/preflight-app-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar">debugger-app-2.0.0-RC1.jar</a>
7.8MB, pre-built Debugger standalone binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/debugger-app-2.0.0-RC2.jar">debugger-app-2.0.0-RC2.jar</a>
7.8MB, pre-built Debugger standalone binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/debugger-app-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/debugger-app-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/debugger-app-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar">pdfbox-2.0.0-RC1.jar</a>
2.4MB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2.jar">pdfbox-2.0.0-RC2.jar</a>
2.4MB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar">fontbox-2.0.0-RC1.jar</a>
1.5MB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/fontbox-2.0.0-RC2.jar">fontbox-2.0.0-RC2.jar</a>
1.5MB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/fontbox-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/fontbox-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/fontbox-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar">preflight-2.0.0-RC1.jar</a>
242KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/preflight-2.0.0-RC2.jar">preflight-2.0.0-RC2.jar</a>
242KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/preflight-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/preflight-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/preflight-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar">xmpbox-2.0.0-RC1.jar</a>
131KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/xmpbox-2.0.0-RC2.jar">xmpbox-2.0.0-RC2.jar</a>
131KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/xmpbox-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/xmpbox-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/xmpbox-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar">pdfbox-tools-2.0.0-RC1.jar</a>
68KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/pdfbox-tools-2.0.0-RC2.jar">pdfbox-tools-2.0.0-RC2.jar</a>
68KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-tools-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-tools-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-tools-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
     <li>
-        <a href="[preferred]pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar">pdfbox-debugger-2.0.0-RC1.jar</a>
218KB, pre-built binary
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar.asc">PGP</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar.md5">MD5</a>
-        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar.sha">SHA1</a>
+        <a href="[preferred]pdfbox/2.0.0-RC2/pdfbox-debugger-2.0.0-RC2.jar">pdfbox-debugger-2.0.0-RC2.jar</a>
218KB, pre-built binary
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-debugger-2.0.0-RC2.jar.asc">PGP</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-debugger-2.0.0-RC2.jar.md5">MD5</a>
+        <a href="http://www.apache.org/dist/pdfbox/2.0.0-RC2/pdfbox-debugger-2.0.0-RC2.jar.sha">SHA1</a>
     </li>
 </ul>
 
@@ -387,6 +387,7 @@ Section 740.13) for both object code and source code.
     <li>Apache PDFBox uses the Java Cryptography Architecture (JCA) and the Bouncy
Castle libraries for handling encryption in PDF documents. 
         </li>
 </ul>
+
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/e94e54d4/content/siteupdate.html
----------------------------------------------------------------------
diff --git a/content/siteupdate.html b/content/siteupdate.html
index 05db7c0..194f7a7 100644
--- a/content/siteupdate.html
+++ b/content/siteupdate.html
@@ -152,22 +152,22 @@
 <h3 id="check-out-from-the-git-repository">Check out 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="highlight"><pre><code class="language-" data-lang="">git clone
https://git-wip-us.apache.org/repos/asf/pdfbox-docs
+<div class="highlight"><pre><code class="language-text" data-lang="text">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="highlight"><pre><code class="language-" data-lang="">jekyll
serve
+<div class="highlight"><pre><code class="language-text" data-lang="text">jekyll
serve
 </code></pre></div>
 <p>which will compile the changes and run a local webserver at </p>
-<div class="highlight"><pre><code class="language-" data-lang="">http://localhost:4000
+<div class="highlight"><pre><code class="language-text" data-lang="text">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="highlight"><pre><code class="language-" data-lang="">&lt;server&gt;
+<div class="highlight"><pre><code class="language-text" data-lang="text">&lt;server&gt;
   &lt;id&gt;pdfbox-site&lt;/id&gt;
   &lt;username&gt;** USERNAME **&lt;/username&gt;
   &lt;password&gt;** PASSWORD **&lt;/password&gt;
@@ -178,12 +178,12 @@
 <p class="alert alert-warning">The password should be encrypted following <a href="https://maven.apache.org/guides/mini/guide-encryption.html">Maven
Password Encryption</a></p>
 
 <p>Ensure that the new website content is build locally</p>
-<div class="highlight"><pre><code class="language-" data-lang="">jekyll
build
+<div class="highlight"><pre><code class="language-text" data-lang="text">jekyll
build
 </code></pre></div>
 <p>This will read the sources and generate the new content in the <code>./staging</code>
directory.</p>
 
 <p>Upload the new content to the production site</p>
-<div class="highlight"><pre><code class="language-" data-lang="">mvn scm-publish:publish-scm
+<div class="highlight"><pre><code class="language-text" data-lang="text">mvn
scm-publish:publish-scm
 </code></pre></div>
 <p>This will checkout the current content into the <code>./target</code>directory,
apply the changes from <code>./staging</code> and publish
 the changes to the PDFBox production website.</p>
@@ -193,7 +193,7 @@ the changes to the PDFBox production website.</p>
 <p>To publish the javadocs follow these steps:</p>
 
 <p>Run</p>
-<div class="highlight"><pre><code class="language-" data-lang="">$ mvn
clean javadoc:aggregate scm-publish:publish-scm
+<div class="highlight"><pre><code class="language-text" data-lang="text">$
mvn clean javadoc:aggregate scm-publish:publish-scm
 </code></pre></div>
 <p>from the <code>&lt;SVN_ROOT&gt;/../pdfbox</code> directory.</p>
 


Mime
View raw message