You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ju...@apache.org on 2010/03/18 16:46:10 UTC

svn commit: r924869 [11/13] - in /pdfbox/site: ./ publish/ publish/commandlineutilities/ publish/css/ publish/userguide/ publish/userguide/cookbook/ src/site/fml/userguide/ src/site/xdoc/ src/site/xdoc/commandlineutilities/ src/site/xdoc/userguide/ src...

Modified: pdfbox/site/publish/userguide/highlighting.html
URL: http://svn.apache.org/viewvc/pdfbox/site/publish/userguide/highlighting.html?rev=924869&r1=924868&r2=924869&view=diff
==============================================================================
--- pdfbox/site/publish/userguide/highlighting.html (original)
+++ pdfbox/site/publish/userguide/highlighting.html Thu Mar 18 15:46:08 2010
@@ -1,328 +1,259 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-
-
-
-
-
-
-
-
-
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!-- Generated by Apache Maven Doxia at Mar 18, 2010 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <title>Apache PDFBox - </title>
+    <title>Apache PDFBox - 
+    PDFBox - PDF Highlighting</title>
     <style type="text/css" media="all">
       @import url("../css/maven-base.css");
       @import url("../css/maven-theme.css");
       @import url("../css/site.css");
     </style>
     <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
-          </head>
+    <meta name="Date-Revision-yyyymmdd" content="20100318" />
+    <meta http-equiv="Content-Language" content="en" />
+        <meta name="keywords" content="Java PDF Library, highlight, highlight pdf, highlight pdf text, java" />
+  </head>
   <body class="composite">
     <div id="banner">
-                  <a href="" id="bannerLeft">
-    
-                                            <img src="../images/Logo.gif" alt="Apache PDFBox" />
-    
-            </a>
-                        <a href="http://www.apache.org/" id="bannerRight">
-    
-                                    <img src="http://www.apache.org/images/asf_logo.gif" alt="The Apache Software Foundation" />
-    
-            </a>
+                  <a href="" id="bannerLeft" title="Apache PDFBox">
+                                                <img src="../images/Logo.gif" alt="Apache PDFBox" />
+                </a>
+                        <a href="http://www.apache.org/" id="bannerRight" title="The Apache Software Foundation">
+                                        <img src="http://www.apache.org/images/asf_logo.gif" alt="The Apache Software Foundation" />
+                </a>
             <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="breadcrumbs">
-          
-  
-
-  
-    
             
-  
-    
-              <div class="xright">      
-  
-
-  
-    
-            
-  
-    
-  </div>
+                
+                  <div class="xright">        
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="leftColumn">
       <div id="navcolumn">
-           
-  
-
-  
-    
-            
-  
-    
-                   <h5>About</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../index.html">Welcome</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../download.html">Download</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink">License</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../mailing-list.html">Mailing Lists</a>
-          </li>
-              
-    <li class="none">
-                    <a href="https://issues.apache.org/jira/browse/PDFBOX" class="externalLink">Issue Tracker</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../references.html">References</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">ASF Sponsorship Program</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">ASF Thanks</a>
-          </li>
+             
+                
+                                <h5>About</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../index.html" title="Welcome">Welcome</a>
+            </li>
+                  <li class="none">
+                          <a href="../download.html" title="Download">Download</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink" title="License">License</a>
+            </li>
+                  <li class="none">
+                          <a href="../mailing-list.html" title="Mailing Lists">Mailing Lists</a>
+            </li>
+                  <li class="none">
+                          <a href="https://issues.apache.org/jira/browse/PDFBOX" class="externalLink" title="Issue Tracker">Issue Tracker</a>
+            </li>
+                  <li class="none">
+                          <a href="../references.html" title="References">References</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="ASF Sponsorship Program">ASF Sponsorship Program</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="ASF Thanks">ASF Thanks</a>
+            </li>
           </ul>
-              <h5>Command Line Utilities</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/index.html">Index</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/ConvertColorspace.html">ConvertColorspace</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Decrypt.html">Decrypt</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Encrypt.html">Encrypt</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/ExtractText.html">ExtractText</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Overlay.html">Overlay</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PrintPDF.html">PrintPDF</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFDebugger.html">PDFDebugger</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFMerger.html">PDFMerger</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFReader.html">PDFReader</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFSplit.html">PDFSplit</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFToImage.html">PDFToImage</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/TextToPDF.html">TextToPDF</a>
-          </li>
+                       <h5>Command Line Utilities</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../commandlineutilities/index.html" title="Index">Index</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/ConvertColorspace.html" title="ConvertColorspace">ConvertColorspace</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Decrypt.html" title="Decrypt">Decrypt</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Encrypt.html" title="Encrypt">Encrypt</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/ExtractText.html" title="ExtractText">ExtractText</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Overlay.html" title="Overlay">Overlay</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PrintPDF.html" title="PrintPDF">PrintPDF</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFDebugger.html" title="PDFDebugger">PDFDebugger</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFMerger.html" title="PDFMerger">PDFMerger</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFReader.html" title="PDFReader">PDFReader</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFSplit.html" title="PDFSplit">PDFSplit</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFToImage.html" title="PDFToImage">PDFToImage</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/TextToPDF.html" title="TextToPDF">TextToPDF</a>
+            </li>
           </ul>
-              <h5>Developers Guide</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../userguide/index.html">Index</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/bookmarks.html">Bookmarks</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/building_pdfbox.html">Building PDFBox</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/tutorials.html">Tutorials</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/cookbook.html">Cookbook</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/faq.html">FAQ</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/file_references.html">File References</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/fonts.html">Fonts</a>
-          </li>
-              
-    <li class="none">
-              <strong>Highlighting</strong>
-        </li>
-              
-    <li class="none">
-                    <a href="../userguide/metadata.html">Metadata</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/redistribution.html">Redistribution</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/dot_net.html">.NET Version</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/text_extraction.html">Text Extraction</a>
-          </li>
+                       <h5>Developers Guide</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../userguide/index.html" title="Index">Index</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/bookmarks.html" title="Bookmarks">Bookmarks</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/building_pdfbox.html" title="Building PDFBox">Building PDFBox</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/tutorials.html" title="Tutorials">Tutorials</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/cookbook.html" title="Cookbook">Cookbook</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/faq.html" title="FAQ">FAQ</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/file_references.html" title="File References">File References</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/fonts.html" title="Fonts">Fonts</a>
+            </li>
+                  <li class="none">
+            <strong>Highlighting</strong>
+          </li>
+                  <li class="none">
+                          <a href="../userguide/metadata.html" title="Metadata">Metadata</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/redistribution.html" title="Redistribution">Redistribution</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/dot_net.html" title=".NET Version">.NET Version</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/text_extraction.html" title="Text Extraction">Text Extraction</a>
+            </li>
           </ul>
-              <h5>Project Documentation</h5>
-            <ul>
-              
-                
-              
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-        <li class="collapsed">
-                    <a href="../project-info.html">Project Information</a>
-                </li>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                        <li class="collapsed">
+                          <a href="../project-info.html" title="Project Information">Project Information</a>
+                  </li>
           </ul>
-                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
-            <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
-          </a>
-                       
-  
-
-  
-    
-            
-  
-    
-        </div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
+      </a>
+                   
+                
+            </div>
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <header>PDFBox - PDF Highlighting<meta name="keywords">Java PDF Library, highlight, highlight pdf, highlight pdf text, java</meta></header><div class="section"><h2><a name="Highlighting_text_in_a_PDF"></a>Highlighting text in a PDF</h2>
-<p>
+        <!-- ! 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.
+ ! -->
+  
+    <div class="section"><h2>Highlighting text in a PDF<a name="Highlighting_text_in_a_PDF"></a></h2>
+        <p>
             There are cases when you might want to highlight text in a PDF document.  For example, if the PDF is the result
             of a search request you might want to highlight the word in the resulting PDF document.  There are several ways
             this can be achieved, each method varying in complexity and flexibility.
         </p>
-<div class="section"><h2><a name="a1._Use_the_search_open_parameter"></a>1. Use the 'search' open parameter</h2>
-<p>
+        <div class="section"><h3>1. Use the 'search' open parameter<a name="a1._Use_the_search_open_parameter"></a></h3>
+          <p>
           Acrobat supports passing is various parameters that tell it what to do once the PDF is open.
-          See <a href="http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf" class="externalLink">PDF Open Parameters</a> for
+          See <a class="externalLink" href="http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf" target="_blank">PDF Open Parameters</a> for
           documentation on all the open parameters.  One of the parameters is the 'search' parameter, this will automatically run the search
-          functionality inside of Acrobat once the PDF is open.  For example: <a href="http://pdfbox.apache.org/userguide/text_extraction.pdf#search=&quot;check&quot;" class="externalLink">http://pdfbox.apache.org/userguide/text_extraction.pdf#search=&quot;check&quot;</a><br />
-<br />
-<note>The words must be enclosed in quotes and separated by spaces; for example:#search=&quot;pdfbox rocks&quot;</note>
+          functionality inside of Acrobat once the PDF is open.  For example: <a class="externalLink" href="http://pdfbox.apache.org/userguide/text_extraction.pdf#search=&quot;check&quot;" target="_blank">http://pdfbox.apache.org/userguide/text_extraction.pdf#search=&quot;check&quot;</a>
+          </p>
+          <p>
+          NOTE: The words must be enclosed in quotes and separated by spaces; for example:#search=&quot;pdfbox rocks&quot;
+          </p>
+          <p>
           This is a great solution because of its simplicity!  It doesn't require PDFBox at all, but it is a potential solution that
           many developers are not aware of.
           </p>
-</div>
-<div class="section"><h2><a name="a2._Generate_a_highlight_XML_document"></a>2. Generate a highlight XML document</h2>
-<p>
+        </div>
+        <div class="section"><h3>2. Generate a highlight XML document<a name="a2._Generate_a_highlight_XML_document"></a></h3>
+          <p>
           Acrobat also allows you to tell it to highlight specific words in the PDF document.  It does this by passing an XML document to
           Acrobat when opening the PDF.
-          See the <a href="http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf" class="externalLink">PDF Highlight File Format</a>
-          for more detailed documentation.  <br />
-<br />
-
+          See the <a class="externalLink" href="http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf" target="_blank">PDF Highlight File Format</a>
+          for more detailed documentation.
+          </p>
+          <p>
           Basically the document allows you to tell it the characters to highlight in the PDF by using character
           offsets on a page.  As this is just an XML document, there are many ways you could create it but PDFBox does have a utility to make it
           easier.  Take a look at the javadoc for the <a href="../apidocs/org/apache/pdfbox/util/PDFHighlighter.html">PDFHighlighter</a> class.  This will
           allow you specify a set of words that you want have highlighted and generate the XML document for you.  <br />
-<br />
-
+          </p>
+          <p>
           PDFBox also ships with a complete
           web application example of using this class, take a look at the pdfbox.war directory in your PDFBox installation.
-          <br />
-
+          </p>
+          <p>
           You pass the xml to acrobat through a URL (or command line) parameter like this:
-          <a href="http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=http://pdfbox.apache.org/highlight.xml" class="externalLink">http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=http://pdfbox.apache.org/highlight.xml</a><br />
-<note>The value of the xml parameter must be a full URL to the XML document.  <br />
-
+          <a class="externalLink" href="http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=http://pdfbox.apache.org/highlight.xml" target="_blank">http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=http://pdfbox.apache.org/highlight.xml</a>
+          </p>
+          <p>
+          NOTE: The value of the xml parameter must be a full URL to the XML document.  <br />
           http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=highlight.xml will not work<br />
-
-          http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=http://pdfbox.apache.org/highlight.xml is correct!</note><br />
-The one drawback to this solution is that you must parse the PDF and then generate an XML document, which is a time consuming operation.
+          http://pdfbox.apache.org/userguide/text_extraction.pdf#xml=http://pdfbox.apache.org/highlight.xml is correct!
           </p>
-</div>
-<div class="section"><h2><a name="a3._Alter_pdf_contents_to_highlight_specific_text"></a>3. Alter pdf contents to highlight specific text</h2>
-<p>
+          <p>
+          The one drawback to this solution is that you must parse the PDF and then generate an XML document, which is a time consuming operation.
+          </p>
+        </div>
+        <div class="section"><h3>3. Alter pdf contents to highlight specific text<a name="a3._Alter_pdf_contents_to_highlight_specific_text"></a></h3>
+          <p>
           Using PDFBox it is possible to regenerate the appearance stream to add highlighting to specific areas.  While this is possible,
           it will require recreating a new PDF for every search request.  There is nothing prebuilt in PDFBox to do this automatically for you
-          and will require a significant coding effort.<br />
-<br />
-
+          and will require a significant coding effort.
+          </p>
+          <p>
           You would need to
-          <ol type="1"><li>Find all locations of the text, determine x/y coordinates, width/height</li>
-<li>Regenerate the PDF appearance stream and draw a highlighted box behind the text.  Yellow would be easiest, if you want an inverted black/white, then you would need to change the color of the text to be white and draw a black box.</li>
-<li>Stream the PDF back to the user</li>
-</ol>
-
+          </p>
+          <ol style="list-style-type: decimal">
+            <li>Find all locations of the text, determine x/y coordinates, width/height</li>
+            <li>Regenerate the PDF appearance stream and draw a highlighted box behind the text.  Yellow would be easiest, if you want an inverted black/white, then you would need to change the color of the text to be white and draw a black box.</li>
+            <li>Stream the PDF back to the user</li>
+          </ol>
+          <p>
           This is the most flexible but is also the most work to implement and is also more resource intensive.
           </p>
-</div>
-</div>
+        </div>
+    </div>
+  
 
       </div>
     </div>
@@ -330,19 +261,11 @@ The one drawback to this solution is tha
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">&#169;  
-          2008-2010
-    
-          The Apache Software Foundation
-          
-  
-
-  
-    
-            
-  
-    
-  </div>
+      <div class="xright">Copyright &#169;                    2008-2010
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>

Modified: pdfbox/site/publish/userguide/index.html
URL: http://svn.apache.org/viewvc/pdfbox/site/publish/userguide/index.html?rev=924869&r1=924868&r2=924869&view=diff
==============================================================================
--- pdfbox/site/publish/userguide/index.html (original)
+++ pdfbox/site/publish/userguide/index.html Thu Mar 18 15:46:08 2010
@@ -1,369 +1,303 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-
-
-
-
-
-
-
-
-
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!-- Generated by Apache Maven Doxia at Mar 18, 2010 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <title>Apache PDFBox - PDFBox - User Guide</title>
+    <title>Apache PDFBox - 
+    PDFBox - User Guide</title>
     <style type="text/css" media="all">
       @import url("../css/maven-base.css");
       @import url("../css/maven-theme.css");
       @import url("../css/site.css");
     </style>
     <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
-          </head>
+    <meta name="Date-Revision-yyyymmdd" content="20100318" />
+    <meta http-equiv="Content-Language" content="en" />
+        
+  </head>
   <body class="composite">
     <div id="banner">
-                  <a href="" id="bannerLeft">
-    
-                                            <img src="../images/Logo.gif" alt="Apache PDFBox" />
-    
-            </a>
-                        <a href="http://www.apache.org/" id="bannerRight">
-    
-                                    <img src="http://www.apache.org/images/asf_logo.gif" alt="The Apache Software Foundation" />
-    
-            </a>
+                  <a href="" id="bannerLeft" title="Apache PDFBox">
+                                                <img src="../images/Logo.gif" alt="Apache PDFBox" />
+                </a>
+                        <a href="http://www.apache.org/" id="bannerRight" title="The Apache Software Foundation">
+                                        <img src="http://www.apache.org/images/asf_logo.gif" alt="The Apache Software Foundation" />
+                </a>
             <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="breadcrumbs">
-          
-  
-
-  
-    
-            
-  
-    
-              <div class="xright">      
-  
-
-  
-    
             
-  
-    
-  </div>
+                
+                  <div class="xright">        
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="leftColumn">
       <div id="navcolumn">
-           
-  
-
-  
-    
-            
-  
-    
-                   <h5>About</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../index.html">Welcome</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../download.html">Download</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink">License</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../mailing-list.html">Mailing Lists</a>
-          </li>
-              
-    <li class="none">
-                    <a href="https://issues.apache.org/jira/browse/PDFBOX" class="externalLink">Issue Tracker</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../references.html">References</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">ASF Sponsorship Program</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">ASF Thanks</a>
-          </li>
+             
+                
+                                <h5>About</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../index.html" title="Welcome">Welcome</a>
+            </li>
+                  <li class="none">
+                          <a href="../download.html" title="Download">Download</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink" title="License">License</a>
+            </li>
+                  <li class="none">
+                          <a href="../mailing-list.html" title="Mailing Lists">Mailing Lists</a>
+            </li>
+                  <li class="none">
+                          <a href="https://issues.apache.org/jira/browse/PDFBOX" class="externalLink" title="Issue Tracker">Issue Tracker</a>
+            </li>
+                  <li class="none">
+                          <a href="../references.html" title="References">References</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="ASF Sponsorship Program">ASF Sponsorship Program</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="ASF Thanks">ASF Thanks</a>
+            </li>
           </ul>
-              <h5>Command Line Utilities</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/index.html">Index</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/ConvertColorspace.html">ConvertColorspace</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Decrypt.html">Decrypt</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Encrypt.html">Encrypt</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/ExtractText.html">ExtractText</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Overlay.html">Overlay</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PrintPDF.html">PrintPDF</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFDebugger.html">PDFDebugger</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFMerger.html">PDFMerger</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFReader.html">PDFReader</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFSplit.html">PDFSplit</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFToImage.html">PDFToImage</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/TextToPDF.html">TextToPDF</a>
-          </li>
+                       <h5>Command Line Utilities</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../commandlineutilities/index.html" title="Index">Index</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/ConvertColorspace.html" title="ConvertColorspace">ConvertColorspace</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Decrypt.html" title="Decrypt">Decrypt</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Encrypt.html" title="Encrypt">Encrypt</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/ExtractText.html" title="ExtractText">ExtractText</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Overlay.html" title="Overlay">Overlay</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PrintPDF.html" title="PrintPDF">PrintPDF</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFDebugger.html" title="PDFDebugger">PDFDebugger</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFMerger.html" title="PDFMerger">PDFMerger</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFReader.html" title="PDFReader">PDFReader</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFSplit.html" title="PDFSplit">PDFSplit</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFToImage.html" title="PDFToImage">PDFToImage</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/TextToPDF.html" title="TextToPDF">TextToPDF</a>
+            </li>
           </ul>
-              <h5>Developers Guide</h5>
-            <ul>
-              
-    <li class="none">
-              <strong>Index</strong>
-        </li>
-              
-    <li class="none">
-                    <a href="../userguide/bookmarks.html">Bookmarks</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/building_pdfbox.html">Building PDFBox</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/tutorials.html">Tutorials</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/cookbook.html">Cookbook</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/faq.html">FAQ</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/file_references.html">File References</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/fonts.html">Fonts</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/highlighting.html">Highlighting</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/metadata.html">Metadata</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/redistribution.html">Redistribution</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/dot_net.html">.NET Version</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/text_extraction.html">Text Extraction</a>
-          </li>
+                       <h5>Developers Guide</h5>
+                  <ul>
+                  <li class="none">
+            <strong>Index</strong>
+          </li>
+                  <li class="none">
+                          <a href="../userguide/bookmarks.html" title="Bookmarks">Bookmarks</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/building_pdfbox.html" title="Building PDFBox">Building PDFBox</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/tutorials.html" title="Tutorials">Tutorials</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/cookbook.html" title="Cookbook">Cookbook</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/faq.html" title="FAQ">FAQ</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/file_references.html" title="File References">File References</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/fonts.html" title="Fonts">Fonts</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/highlighting.html" title="Highlighting">Highlighting</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/metadata.html" title="Metadata">Metadata</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/redistribution.html" title="Redistribution">Redistribution</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/dot_net.html" title=".NET Version">.NET Version</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/text_extraction.html" title="Text Extraction">Text Extraction</a>
+            </li>
           </ul>
-              <h5>Project Documentation</h5>
-            <ul>
-              
-                
-              
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-        <li class="collapsed">
-                    <a href="../project-info.html">Project Information</a>
-                </li>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                        <li class="collapsed">
+                          <a href="../project-info.html" title="Project Information">Project Information</a>
+                  </li>
           </ul>
-                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
-            <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
-          </a>
-                       
-  
-
-  
-    
-            
-  
-    
-        </div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
+      </a>
+                   
+                
+            </div>
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2><a name="PDFBox_User_Guide"></a>PDFBox User Guide</h2>
-<p>
+        <!-- ! 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.
+ ! -->
+  
+    <div class="section"><h2>PDFBox User Guide<a name="PDFBox_User_Guide"></a></h2>
+        <p>
         	This page will discuss the internals of PDF documents
         	and how those internals map to PDFBox classes.
         	Users should reference the javadoc to see what classes and methods are available.  The
-        	<a href="http://partners.adobe.com/public/developer/pdf/index_reference.html" class="externalLink">Adobe PDF Reference</a>
+        	<a class="externalLink" href="http://partners.adobe.com/public/developer/pdf/index_reference.html">Adobe PDF Reference</a>
         	can be used to determine detailed information about fields and their meanings.
         </p>
-</div>
-<div class="section"><h2><a name="Examples"></a>Examples</h2>
-<p>A variety of examples can be found in the
+    </div>
+    <div class="section"><h2>Examples<a name="Examples"></a></h2>
+        <p>A variety of examples can be found in the
         src/main/java/org/apache/pdfbox/examples folder.
         This guide will refer to specific examples as needed.
         </p>
-</div>
-<div class="section"><h2><a name="PDF_File_Format_Overview"></a>PDF File Format Overview</h2>
-<p>
+    </div>
+    <div class="section"><h2>PDF File Format Overview<a name="PDF_File_Format_Overview"></a></h2>
+      <p>
       A PDF document is a stream of basic object types.  The low level objects are represented in PDFBox
       in the <i>org.apache.pdfbox.cos</i> package.  The basic types in a PDF are:
       </p>
-<table class="bodyTable"><tr class="a"><th>PDF Type</th>
-<th>Description</th>
-<th>Example</th>
-<th>PDFBox class</th>
-</tr>
-<tr class="b"><td>Array</td>
-<td>An ordered list of items</td>
-<td>[1 2 3]</td>
-<td>org.apache.pdfbox.cos.COSArray</td>
-</tr>
-<tr class="a"><td>Boolean</td>
-<td>Standard True/False values</td>
-<td>true</td>
-<td>org.apache.pdfbox.cos.COSBoolean</td>
-</tr>
-<tr class="b"><td>Dictionary</td>
-<td>A map of name value pairs</td>
-<td>&lt;&lt;<br />
-
+      <table align="center" border="1" class="bodyTable">
+      	<tr class="a">
+      		<th align="left">PDF Type</th>
+      		<th align="left">Description</th>
+      		<th align="left">Example</th>
+      		<th align="left">PDFBox class</th>
+      	</tr>
+      	<tr class="b">
+      		<td align="left">Array</td>
+      		<td align="left">An ordered list of items</td>
+      		<td align="left">[1 2 3]</td>
+      		<td align="left">org.apache.pdfbox.cos.COSArray</td>
+      	</tr>
+      	<tr class="a">
+      		<td align="left">Boolean</td>
+      		<td align="left">Standard True/False values</td>
+      		<td align="left">true</td>
+      		<td align="left">org.apache.pdfbox.cos.COSBoolean</td>
+      	</tr>
+      	<tr class="b">
+      		<td align="left">Dictionary</td>
+      		<td align="left">A map of name value pairs</td>
+      		<td align="left">&lt;&lt;<br />
       		    /Type /XObject<br />
-
       		    /Name (Name)<br />
-
       		    /Size 1<br />
-
       		    &gt;&gt;
       		 </td>
-<td>org.apache.pdfbox.cos.COSDictionary</td>
-</tr>
-<tr class="a"><td>Number</td>
-<td>Integer and Floating point numbers</td>
-<td>1 2.3</td>
-<td>org.apache.pdfbox.cos.COSFloat<br />
-org.apache.pdfbox.cos.COSInteger</td>
-</tr>
-<tr class="b"><td>Name</td>
-<td>A predefined value in a PDF document, typically used as a key in a dictionary</td>
-<td>/Type</td>
-<td>org.apache.pdfbox.cos.COSName</td>
-</tr>
-<tr class="a"><td>Object</td>
-<td>A wrapper to any of the other objects, this can be used to reference an object multiple times.
+      		<td align="left">org.apache.pdfbox.cos.COSDictionary</td>
+      	</tr>
+      	<tr class="a">
+      		<td align="left">Number</td>
+      		<td align="left">Integer and Floating point numbers</td>
+      		<td align="left">1 2.3</td>
+      		<td align="left">org.apache.pdfbox.cos.COSFloat<br />org.apache.pdfbox.cos.COSInteger</td>
+      	</tr>
+      	<tr class="b">
+      		<td align="left">Name</td>
+      		<td align="left">A predefined value in a PDF document, typically used as a key in a dictionary</td>
+      		<td align="left">/Type</td>
+      		<td align="left">org.apache.pdfbox.cos.COSName</td>
+      	</tr>
+      	<tr class="a">
+      		<td align="left">Object</td>
+      		<td align="left">A wrapper to any of the other objects, this can be used to reference an object multiple times.
       		  An object is referenced by using two numbers, an object number and a generation number.  Initially
       		  the generation number will be zero unless the object got replaced later in the stream.
       		</td>
-<td>12 0 obj &lt;&lt; /Type /XObject &gt;&gt; endobj</td>
-<td>org.apache.pdfbox.cos.COSObject</td>
-</tr>
-<tr class="b"><td>Stream</td>
-<td>A stream of data, typically compressed.  This is used for page contents, images and
+      		<td align="left">12 0 obj &lt;&lt; /Type /XObject &gt;&gt; endobj</td>
+      		<td align="left">org.apache.pdfbox.cos.COSObject</td>
+      	</tr>
+      	<tr class="b">
+      		<td align="left">Stream</td>
+      		<td align="left">A stream of data, typically compressed.  This is used for page contents, images and
       		embedded font streams.
       		</td>
-<td>12 0 obj &lt;&lt; /Type /XObject &gt;&gt; stream 030004040404040404 endstream</td>
-<td>org.apache.pdfbox.cos.COSStream</td>
-</tr>
-<tr class="a"><td>String</td>
-<td>A sequence of characters
+      		<td align="left">12 0 obj &lt;&lt; /Type /XObject &gt;&gt; stream 030004040404040404 endstream</td>
+      		<td align="left">org.apache.pdfbox.cos.COSStream</td>
+      	</tr>
+      	<tr class="a">
+      		<td align="left">String</td>
+      		<td align="left">A sequence of characters
       		</td>
-<td>(This is a string)</td>
-<td>org.apache.pdfbox.cos.COSString</td>
-</tr>
-</table>
-<p>
+      		<td align="left">(This is a string)</td>
+      		<td align="left">org.apache.pdfbox.cos.COSString</td>
+      	</tr>
+      </table>
+      <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>
-<table class="bodyTable"><tr class="b"><td><pre>
+      <table align="center" border="1" class="bodyTable">
+      <tr class="a"><td align="left">
+      <div><pre>
 &lt;&lt;
     /Type /Page
     /MediaBox [0 0 612 915]
     /Contents 56 0 R
-&gt;&gt;</pre></td>
-</tr>
-</table>
-<p>Some Java code to access fields</p>
-<table class="bodyTable"><tr class="a"><td><pre>COSDictionary page = ...;
+&gt;&gt;</pre></div>
+      </td></tr>
+      </table>
+
+      <p>Some Java code to access fields</p>
+
+      <table align="center" border="1" class="bodyTable">
+      <tr class="a"><td align="left">
+      <div><pre>COSDictionary page = ...;
 COSArray mediaBox = (COSArray)page.getDictionaryObject( &quot;MediaBox&quot; );
 System.out.println( &quot;Width:&quot; + mediaBox.get( 3 ) );
-</pre></td>
-</tr>
-</table>
-</div>
-<div class="section"><h2><a name="PD_Model"></a>PD Model</h2>
-<p>The COS Model allows access to all aspects of a PDF document.  This type of programming is
+</pre></div>
+      </td></tr>
+      </table>
+    </div>
+    <div class="section"><h2>PD Model<a name="PD_Model"></a></h2>
+    	<p>The COS Model allows access to all aspects of a PDF document.  This type of programming is
     	tedious and error prone though because the user must know all of the names of the parameters
     	and no helper methods are available.  The PD Model was created to help alleviate this problem.
     	Each type of object(page, font, image) has a set of defined attributes that can be available
@@ -371,34 +305,40 @@ System.out.println( &quot;Width:&quot; +
     	methods are available to access the attributes.  The same code from above to get the page width
     	can be rewritten to use PD Model classes.
     	</p>
-<table class="bodyTable"><tr class="b"><td><pre>PDPage page = ...;
+      <table align="center" border="1" class="bodyTable">
+      <tr class="a"><td align="left">
+      <div><pre>PDPage page = ...;
 PDRectangle mediaBox = page.getMediaBox();
-System.out.println( &quot;Width:&quot; + mediaBox.getWidth() );</pre></td>
-</tr>
-</table>
-<p>PD Model objects sit on top of COS model.  Typically, the classes in the PD Model
+System.out.println( &quot;Width:&quot; + mediaBox.getWidth() );</pre></div>
+      </td></tr>
+      </table>
+      <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 COS object.  For example, when you call PDPage.getLastModified() the method
          will do a lookup in the COSDictionary with the key &quot;LastModified&quot;, if it is found the value is
          then converter to a java.util.Calendar.  When PDPage.setLastModified( Calendar ) is called
          then the Calendar is converted to a string in the COSDictionary.
       </p>
-<p>Here is a visual depiction of the COS Model and PD Model design.</p>
-<center><img src="../images/cos-pdmodel diagram.png" /></center><p>
-      This design presents many advantages and disadvantages.<br />
-<br />
-<b>Advantages:</b></p>
-<ul><li>Simple, easy to use API.</li>
-<li>Underlying document automatically gets updated when you update the PD Model</li>
-<li>Ability to easily access the COS Model from any PD Model object</li>
-<li>Easily add to and update existing PDF documents</li>
-</ul>
-<p><b>Disadvantages:</b></p>
-<ul><li>Object caching is not done in the PD Model classes
-      	    <note>For example, each call to PDPage.getMediaBox() will return a new PDRectangle
-      	    object, but will contain the same underlying COSArray.</note></li>
-</ul>
-</div>
+      <p>Here is a visual depiction of the COS Model and PD Model design.</p>
+      <center><img src="../images/cos-pdmodel diagram.png" alt="COS and PD models" /></center>
+      <p>
+      This design presents many advantages and disadvantages.<br /><br />
+      <b>Advantages:</b></p>
+      <ul>
+      	<li>Simple, easy to use API.</li>
+      	<li>Underlying document automatically gets updated when you update the PD Model</li>
+      	<li>Ability to easily access the COS Model from any PD Model object</li>
+      	<li>Easily add to and update existing PDF documents</li>
+      </ul>
+      <p><b>Disadvantages:</b></p>
+      <ul>
+      	<li>Object caching is not done in the PD Model classes
+            For example, each call to PDPage.getMediaBox() will return a new PDRectangle
+            object, but will contain the same underlying COSArray.
+      	</li>
+      </ul>
+    </div>
+  
 
       </div>
     </div>
@@ -406,19 +346,11 @@ System.out.println( &quot;Width:&quot; +
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">&#169;  
-          2008-2010
-    
-          The Apache Software Foundation
-          
-  
-
-  
-    
-            
-  
-    
-  </div>
+      <div class="xright">Copyright &#169;                    2008-2010
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>

Modified: pdfbox/site/publish/userguide/metadata.html
URL: http://svn.apache.org/viewvc/pdfbox/site/publish/userguide/metadata.html?rev=924869&r1=924868&r2=924869&view=diff
==============================================================================
--- pdfbox/site/publish/userguide/metadata.html (original)
+++ pdfbox/site/publish/userguide/metadata.html Thu Mar 18 15:46:08 2010
@@ -1,277 +1,200 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-
-
-
-
-
-
-
-
-
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!-- Generated by Apache Maven Doxia at Mar 18, 2010 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <title>Apache PDFBox - PDFBox - PDF Metadata</title>
+    <title>Apache PDFBox - 
+    PDFBox - PDF Metadata</title>
     <style type="text/css" media="all">
       @import url("../css/maven-base.css");
       @import url("../css/maven-theme.css");
       @import url("../css/site.css");
     </style>
     <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
-          </head>
+    <meta name="Date-Revision-yyyymmdd" content="20100318" />
+    <meta http-equiv="Content-Language" content="en" />
+        <meta name="keywords" content="Java PDF Library, XMP, PDF metadata, pdfbox" />
+  </head>
   <body class="composite">
     <div id="banner">
-                  <a href="" id="bannerLeft">
-    
-                                            <img src="../images/Logo.gif" alt="Apache PDFBox" />
-    
-            </a>
-                        <a href="http://www.apache.org/" id="bannerRight">
-    
-                                    <img src="http://www.apache.org/images/asf_logo.gif" alt="The Apache Software Foundation" />
-    
-            </a>
+                  <a href="" id="bannerLeft" title="Apache PDFBox">
+                                                <img src="../images/Logo.gif" alt="Apache PDFBox" />
+                </a>
+                        <a href="http://www.apache.org/" id="bannerRight" title="The Apache Software Foundation">
+                                        <img src="http://www.apache.org/images/asf_logo.gif" alt="The Apache Software Foundation" />
+                </a>
             <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="breadcrumbs">
-          
-  
-
-  
-    
-            
-  
-    
-              <div class="xright">      
-  
-
-  
-    
             
-  
-    
-  </div>
+                
+                  <div class="xright">        
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>
     </div>
     <div id="leftColumn">
       <div id="navcolumn">
-           
-  
-
-  
-    
-            
-  
-    
-                   <h5>About</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../index.html">Welcome</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../download.html">Download</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink">License</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../mailing-list.html">Mailing Lists</a>
-          </li>
-              
-    <li class="none">
-                    <a href="https://issues.apache.org/jira/browse/PDFBOX" class="externalLink">Issue Tracker</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../references.html">References</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">ASF Sponsorship Program</a>
-          </li>
-              
-    <li class="none">
-                    <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">ASF Thanks</a>
-          </li>
+             
+                
+                                <h5>About</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../index.html" title="Welcome">Welcome</a>
+            </li>
+                  <li class="none">
+                          <a href="../download.html" title="Download">Download</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink" title="License">License</a>
+            </li>
+                  <li class="none">
+                          <a href="../mailing-list.html" title="Mailing Lists">Mailing Lists</a>
+            </li>
+                  <li class="none">
+                          <a href="https://issues.apache.org/jira/browse/PDFBOX" class="externalLink" title="Issue Tracker">Issue Tracker</a>
+            </li>
+                  <li class="none">
+                          <a href="../references.html" title="References">References</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="ASF Sponsorship Program">ASF Sponsorship Program</a>
+            </li>
+                  <li class="none">
+                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="ASF Thanks">ASF Thanks</a>
+            </li>
           </ul>
-              <h5>Command Line Utilities</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/index.html">Index</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/ConvertColorspace.html">ConvertColorspace</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Decrypt.html">Decrypt</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Encrypt.html">Encrypt</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/ExtractText.html">ExtractText</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/Overlay.html">Overlay</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PrintPDF.html">PrintPDF</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFDebugger.html">PDFDebugger</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFMerger.html">PDFMerger</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFReader.html">PDFReader</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFSplit.html">PDFSplit</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/PDFToImage.html">PDFToImage</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../commandlineutilities/TextToPDF.html">TextToPDF</a>
-          </li>
+                       <h5>Command Line Utilities</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../commandlineutilities/index.html" title="Index">Index</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/ConvertColorspace.html" title="ConvertColorspace">ConvertColorspace</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Decrypt.html" title="Decrypt">Decrypt</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Encrypt.html" title="Encrypt">Encrypt</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/ExtractText.html" title="ExtractText">ExtractText</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/Overlay.html" title="Overlay">Overlay</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PrintPDF.html" title="PrintPDF">PrintPDF</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFDebugger.html" title="PDFDebugger">PDFDebugger</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFMerger.html" title="PDFMerger">PDFMerger</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFReader.html" title="PDFReader">PDFReader</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFSplit.html" title="PDFSplit">PDFSplit</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/PDFToImage.html" title="PDFToImage">PDFToImage</a>
+            </li>
+                  <li class="none">
+                          <a href="../commandlineutilities/TextToPDF.html" title="TextToPDF">TextToPDF</a>
+            </li>
           </ul>
-              <h5>Developers Guide</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../userguide/index.html">Index</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/bookmarks.html">Bookmarks</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/building_pdfbox.html">Building PDFBox</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/tutorials.html">Tutorials</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/cookbook.html">Cookbook</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/faq.html">FAQ</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/file_references.html">File References</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/fonts.html">Fonts</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/highlighting.html">Highlighting</a>
-          </li>
-              
-    <li class="none">
-              <strong>Metadata</strong>
-        </li>
-              
-    <li class="none">
-                    <a href="../userguide/redistribution.html">Redistribution</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/dot_net.html">.NET Version</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../userguide/text_extraction.html">Text Extraction</a>
-          </li>
+                       <h5>Developers Guide</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../userguide/index.html" title="Index">Index</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/bookmarks.html" title="Bookmarks">Bookmarks</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/building_pdfbox.html" title="Building PDFBox">Building PDFBox</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/tutorials.html" title="Tutorials">Tutorials</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/cookbook.html" title="Cookbook">Cookbook</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/faq.html" title="FAQ">FAQ</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/file_references.html" title="File References">File References</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/fonts.html" title="Fonts">Fonts</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/highlighting.html" title="Highlighting">Highlighting</a>
+            </li>
+                  <li class="none">
+            <strong>Metadata</strong>
+          </li>
+                  <li class="none">
+                          <a href="../userguide/redistribution.html" title="Redistribution">Redistribution</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/dot_net.html" title=".NET Version">.NET Version</a>
+            </li>
+                  <li class="none">
+                          <a href="../userguide/text_extraction.html" title="Text Extraction">Text Extraction</a>
+            </li>
           </ul>
-              <h5>Project Documentation</h5>
-            <ul>
-              
-                
-              
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-        <li class="collapsed">
-                    <a href="../project-info.html">Project Information</a>
-                </li>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                        <li class="collapsed">
+                          <a href="../project-info.html" title="Project Information">Project Information</a>
+                  </li>
           </ul>
-                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
-            <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
-          </a>
-                       
-  
-
-  
-    
-            
-  
-    
-        </div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
+      </a>
+                   
+                
+            </div>
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <meta name="keywords"></meta><div class="section"><h2><a name="Introduction"></a>Introduction</h2>
-<p>PDF documents can contain information describing the document itself or certain objects within the document such as 
+        <!-- ! 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.
+ ! -->
+  
+  	<div class="section"><h2>Introduction<a name="Introduction"></a></h2>
+  		<p>PDF documents can contain information describing the document itself or certain objects within the document such as 
   		the author of the document or it's creation date. Basic information can be set and retrieved using the 
   		<a href="../apidocs/org/apache/pdfbox/pdmodel/PDDocumentInformation.html">PDDocumentInformation</a> object.
   		</p>
-<p>In addition to that more metadata can be retrieved using the XML metadata as decribed below.</p>
-</div>
-<div class="section"><h2><a name="Getting_basic_Metadata"></a>Getting basic Metadata</h2>
-<p>
+  		<p>In addition to that more metadata can be retrieved using the XML metadata as decribed below.</p>
+  	</div>
+    <div class="section"><h2>Getting basic Metadata<a name="Getting_basic_Metadata"></a></h2>
+      <p>
       To set or retrieve basic information about the document the PDDocumentInformation object provides a high level API to that information: 
       </p>
-<div class="source"><pre>
+      <div class="source"><pre>
       PDDocumentInformation info = document.getDocumentInformation();
       System.out.println( &quot;Page Count=&quot; + document.getNumberOfPages() );
       System.out.println( &quot;Title=&quot; + info.getTitle() );
@@ -283,30 +206,32 @@
       System.out.println( &quot;Creation Date=&quot; + info.getCreationDate() );
       System.out.println( &quot;Modification Date=&quot; + info.getModificationDate());
       System.out.println( &quot;Trapped=&quot; + info.getTrapped() );      
-      </pre>
-</div>
-</div>
-<div class="section"><h2><a name="Accessing_PDF_Metadata"></a>Accessing PDF Metadata</h2>
-<p>
-      See class:<a href="../apidocs/org/apache/pdfbox/pdmodel/common/PDMetadata.html">org.apache.pdfbox.pdmodel.common.PDMetadata</a><br />
-
-      See example:<a href="../apidocs/org/apache/pdfbox/examples/pdmodel/AddMetadataFromDocInfo.html">AddMetadataFromDocInfo</a><br />
-
-      See Adobe Documentation:<a href="http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.pdf" class="externalLink">XMP Specification</a></p>
-<p>
+      </pre></div>
+	</div>  
+  
+    <div class="section"><h2>Accessing PDF Metadata<a name="Accessing_PDF_Metadata"></a></h2>
+      <p>
+      See class:<a href="../apidocs/org/apache/pdfbox/pdmodel/common/PDMetadata.html">org.apache.pdfbox.pdmodel.common.PDMetadata</a> <br />
+      See example:<a href="../apidocs/org/apache/pdfbox/examples/pdmodel/AddMetadataFromDocInfo.html">AddMetadataFromDocInfo</a> <br />
+      See Adobe Documentation:<a class="externalLink" href="http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.pdf">XMP Specification</a>
+      </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>
-<ul><li>PDDocumentCatalog</li>
-<li>PDPage</li>
-<li>PDXObject</li>
-<li>PDICCBased</li>
-<li>PDStream</li>
-</ul>
-<p>The metadata that is stored in PDF objects conforms to the XMP specification, it is recommended that you review that specification.
+  	 <ul>
+  	    <li>PDDocumentCatalog</li>
+        <li>PDPage</li>
+        <li>PDXObject</li>
+        <li>PDICCBased</li>
+        <li>PDStream</li>
+  	 </ul>
+
+     <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.  For example:</p>
-<div class="source"><pre>
+
+      <div class="source"><pre>
       PDDocument doc = PDDocument.load( ... );
       PDDocumentCatalog catalog = doc.getDocumentCatalog();
       PDMetadata metadata = catalog.getMetadata();
@@ -318,9 +243,9 @@
       InputStream newXMPData = ...;
       PDMetadata newMetadata = new PDMetadata(doc, newXMLData, false );
       catalog.setMetadata( newMetadata );
-      </pre>
-</div>
-</div>
+      </pre></div>
+    </div>
+  
 
       </div>
     </div>
@@ -328,19 +253,11 @@
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">&#169;  
-          2008-2010
-    
-          The Apache Software Foundation
-          
-  
-
-  
-    
-            
-  
-    
-  </div>
+      <div class="xright">Copyright &#169;                    2008-2010
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                
+      </div>
       <div class="clear">
         <hr/>
       </div>