pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r885927 - in /websites/staging/pdfbox/trunk/content: ./ codingconventions.html cookbook/textextraction.html cookbook/workingwithattachments.html cookbook/workingwithmetadata.html userguide/faq.html
Date Fri, 08 Nov 2013 22:49:12 GMT
Author: buildbot
Date: Fri Nov  8 22:49:12 2013
New Revision: 885927

Log:
Staging update by buildbot for pdfbox

Modified:
    websites/staging/pdfbox/trunk/content/   (props changed)
    websites/staging/pdfbox/trunk/content/codingconventions.html
    websites/staging/pdfbox/trunk/content/cookbook/textextraction.html
    websites/staging/pdfbox/trunk/content/cookbook/workingwithattachments.html
    websites/staging/pdfbox/trunk/content/cookbook/workingwithmetadata.html
    websites/staging/pdfbox/trunk/content/userguide/faq.html

Propchange: websites/staging/pdfbox/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Nov  8 22:49:12 2013
@@ -1 +1 @@
-1540211
+1540212

Modified: websites/staging/pdfbox/trunk/content/codingconventions.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/codingconventions.html (original)
+++ websites/staging/pdfbox/trunk/content/codingconventions.html Fri Nov  8 22:49:12 2013
@@ -183,14 +183,10 @@ characters or align with the expression 
 <h4 id="declarations">Declarations</h4>
 <p>Within a class or interface, definitions should be ordered as follows:</p>
 <ul>
-<li>Class (static) variables<br />
-</li>
-<li>Instance variables<br />
-</li>
-<li>Constructors<br />
-</li>
-<li>Methods<br />
-</li>
+<li>Class (static) variables  </li>
+<li>Instance variables  </li>
+<li>Constructors  </li>
+<li>Methods  </li>
 </ul>
 <h4 id="imports">Imports</h4>
 <p>Do not use package imports (for example import import java.util.*;)</p>

Modified: websites/staging/pdfbox/trunk/content/cookbook/textextraction.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/cookbook/textextraction.html (original)
+++ websites/staging/pdfbox/trunk/content/cookbook/textextraction.html Fri Nov  8 22:49:12
2013
@@ -153,8 +153,7 @@
 <h3 id="extracting-text">Extracting Text</h3>
 <p>See class:org.apache.pdfbox.util.PDFTextStripper<br />
 See class:org.apache.pdfbox.searchengine.lucene.LucenePDFDocument<br />
-See command line app:ExtractText<br />
-</p>
+See command line app:ExtractText  </p>
 <p>One of the main features of PDFBox is its ability to quickly and accurately extract
text 
 from a variety of PDF documents. This functionality is encapsulated in the 
 org.apache.pdfbox.util.PDFTextStripper and can be easily executed on the command line with


Modified: websites/staging/pdfbox/trunk/content/cookbook/workingwithattachments.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/cookbook/workingwithattachments.html (original)
+++ websites/staging/pdfbox/trunk/content/cookbook/workingwithattachments.html Fri Nov  8
22:49:12 2013
@@ -152,8 +152,7 @@
                  <h2 id="working-with-attachments">Working with Attachments</h2>
 <h3 id="the-pdf-file-specification">The PDF File Specification</h3>
 <p>See package:org.apache.pdfbox.pdmodel.common.filespecification<br />
-See example:EmbeddedFiles<br />
-</p>
+See example:EmbeddedFiles  </p>
 <p>A PDF can contain references to external files via the file system or a URL to a
remote 
 location. It is also possible to embed a binary file into a PDF document.</p>
 <p>There are two classes that can be used when referencing a file. PDSimpleFileSpecification


Modified: websites/staging/pdfbox/trunk/content/cookbook/workingwithmetadata.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/cookbook/workingwithmetadata.html (original)
+++ websites/staging/pdfbox/trunk/content/cookbook/workingwithmetadata.html Fri Nov  8 22:49:12
2013
@@ -175,8 +175,7 @@ provides a high level API to that inform
 <h3 id="accessing-pdf-metadata">Accessing PDF Metadata</h3>
 <p>See class:org.apache.pdfbox.pdmodel.common.PDMetadata<br />
 See example:AddMetadataFromDocInfo<br />
-See Adobe Documentation:XMP Specification<br />
-</p>
+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="codehilite"><pre><span class="n">PDDocumentCatalog</span>

Modified: websites/staging/pdfbox/trunk/content/userguide/faq.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/userguide/faq.html (original)
+++ websites/staging/pdfbox/trunk/content/userguide/faq.html Fri Nov  8 22:49:12 2013
@@ -185,7 +185,8 @@ See the <a href="http://logging.apache.o
 
 
 <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="codehilite"><pre>    <span class="n">log4j</span><span
class="o">.</span><span class="na">configuration</span><span class="o">=</span><span
class="nl">file:</span><span class="c1">///&lt;path to config file&gt;</span>
+<div class="codehilite"><pre>    <span class="p">:::</span><span
class="n">java</span>
+    <span class="n">log4j</span><span class="p">.</span><span
class="n">configuration</span><span class="p">=</span><span class="n">file</span><span
class="p">:</span><span class="o">///&lt;</span><span class="n">path</span>
<span class="n">to</span> <span class="n">config</span> <span class="n">file</span><span
class="o">&gt;</span>
 </pre></div>
 
 
@@ -199,18 +200,19 @@ each accessing their own PDDocument obje
 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="codehilite"><pre><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="codehilite"><pre>    <span class="p">:::</span><span
class="n">java</span>
+<span class="n">PDDocument</span> <span class="n">doc</span> <span
class="p">=</span> <span class="n">new</span> <span class="n">PDDocument</span><span
class="p">();</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">&quot;my.pdf&quot;</span> <span class="o">);</span>
-<span class="o">}</span>
-<span class="k">finally</span>
-<span class="o">{</span>
-   <span class="k">if</span><span class="o">(</span> <span class="n">doc</span>
<span class="o">!=</span> <span class="kc">null</span> <span class="o">)</span>
-   <span class="o">{</span>
-      <span class="n">doc</span><span class="o">.</span><span
class="na">close</span><span class="o">();</span>
-   <span class="o">}</span>
-<span class="o">}</span>
+<span class="p">{</span>
+   <span class="n">doc</span> <span class="p">=</span> <span class="n">PDDocument</span><span
class="p">.</span><span class="n">load</span><span class="p">(</span>
&quot;<span class="n">my</span><span class="p">.</span><span
class="n">pdf</span>&quot; <span class="p">);</span>
+<span class="p">}</span>
+<span class="n">finally</span>
+<span class="p">{</span>
+   <span class="k">if</span><span class="p">(</span> <span class="n">doc</span>
!<span class="p">=</span> <span class="n">null</span> <span class="p">)</span>
+   <span class="p">{</span>
+      <span class="n">doc</span><span class="p">.</span><span
class="n">close</span><span class="p">();</span>
+   <span class="p">}</span>
+<span class="p">}</span>
 </pre></div>
 
 



Mime
View raw message