pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r908599 - in /pdfbox/trunk: ./ src/site/ src/site/resources/ src/site/resources/css/ src/site/resources/images/ src/site/xdoc/ src/site/xdoc/commandlineutilities/ src/site/xdoc/images/ src/site/xdoc/userguide/ website/
Date Wed, 10 Feb 2010 17:43:31 GMT
Author: jukka
Date: Wed Feb 10 17:43:03 2010
New Revision: 908599

URL: http://svn.apache.org/viewvc?rev=908599&view=rev
Log:
PDFBOX-545: Switch PDFBox build to Maven

Use Maven instead of Forrest to build the project web site.

Added:
    pdfbox/trunk/src/site/
    pdfbox/trunk/src/site/resources/
    pdfbox/trunk/src/site/resources/css/
    pdfbox/trunk/src/site/resources/css/site.css   (with props)
    pdfbox/trunk/src/site/resources/images/
      - copied from r908535, pdfbox/trunk/website/src/documentation/content/xdocs/images/
    pdfbox/trunk/src/site/site.xml
      - copied, changed from r908535, pdfbox/trunk/website/src/documentation/content/xdocs/site.xml
    pdfbox/trunk/src/site/xdoc/
      - copied from r908535, pdfbox/trunk/website/src/documentation/content/xdocs/
Removed:
    pdfbox/trunk/src/site/xdoc/donations.xml
    pdfbox/trunk/src/site/xdoc/images/
    pdfbox/trunk/src/site/xdoc/site.xml
    pdfbox/trunk/src/site/xdoc/tabs.xml
    pdfbox/trunk/website/
Modified:
    pdfbox/trunk/build.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/ConvertColorspace.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/Decrypt.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/Encrypt.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/ExtractText.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/PDFToImage.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/PrintPDF.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/TextToPDF.xml
    pdfbox/trunk/src/site/xdoc/commandlineutilities/index.xml
    pdfbox/trunk/src/site/xdoc/download.xml
    pdfbox/trunk/src/site/xdoc/index.xml
    pdfbox/trunk/src/site/xdoc/mailing-list.xml
    pdfbox/trunk/src/site/xdoc/references.xml
    pdfbox/trunk/src/site/xdoc/userguide/bookmarks.xml
    pdfbox/trunk/src/site/xdoc/userguide/building_pdfbox.xml
    pdfbox/trunk/src/site/xdoc/userguide/dot_net.xml
    pdfbox/trunk/src/site/xdoc/userguide/file_references.xml
    pdfbox/trunk/src/site/xdoc/userguide/fonts.xml
    pdfbox/trunk/src/site/xdoc/userguide/highlighting.xml
    pdfbox/trunk/src/site/xdoc/userguide/index.xml
    pdfbox/trunk/src/site/xdoc/userguide/metadata.xml
    pdfbox/trunk/src/site/xdoc/userguide/redistribution.xml
    pdfbox/trunk/src/site/xdoc/userguide/text_extraction.xml

Modified: pdfbox/trunk/build.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/build.xml?rev=908599&r1=908598&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/build.xml (original)
+++ pdfbox/trunk/build.xml Wed Feb 10 17:43:03 2010
@@ -28,9 +28,6 @@
     <property name="test.dir" value="src/test/java" />
     <property name="testfiles.dir" value="src/test/resources" />
     <property name="bin.dir" value="bin" />
-    <property name="website.dir" value="website" />
-    <property name="website.build.dir" value="${website.dir}/build/site" />
-    <property name="docs.dir" value="${website.dir}/build/site/javadoc" />
     <property name="war.dir" value="pdfbox.war" />
     <property name="tool.dir" value="tools" />
     <property name="resources.dir" value="src/main/resources" />
@@ -479,7 +476,7 @@
         <antcall target="dist" />
     </target>
 
-    <target name="dist" depends="clean,package,javadoc,website,build.NET,checkstyle" description="Create jar distribution file">
+    <target name="dist" depends="clean,package,javadoc,build.NET,checkstyle" description="Create jar distribution file">
 
         <zip zipfile="${target.dir}/${release.name}-standalone.jar">
             <zipfileset dir="./${target.dir}/" prefix="${release.name}">
@@ -501,10 +498,6 @@
                 <include name="LICENSE.txt" />
                 <include name="NOTICE.txt" />
             </zipfileset>
-            <zipfileset dir="${website.build.dir}" prefix="${release.name}/docs">
-                <include name="**/*" />
-                <exclude name="**/*.zip" />
-            </zipfileset>
         </zip>
 
         <zip zipfile="${target.dir}/${release.name}-src.jar">
@@ -524,10 +517,6 @@
                 <include name="input/**/*" />
                 <include name="pdfreader/**/*" />
             </zipfileset>
-            <zipfileset dir="." prefix="${release.name}">
-                <include name="website/**/*" />
-                <exclude name="website/build/**/*" />
-            </zipfileset>
             <zipfileset dir="${war.dir}" prefix="${release.name}/${war.dir}">
                 <include name="**/*" />
             </zipfileset>
@@ -738,7 +727,7 @@
         <property name="release.name" value="${project.name}-${project.version}" />
         <javadoc packagenames="org.*"
                sourcepath="${src.dir}"
-               destdir="${docs.dir}"
+               destdir="${target.dir}/javadoc"
                author="true"
                version="true"
                use="true"
@@ -760,12 +749,4 @@
         </replaceregexp>
     </target>
 
-    <!-- FORREST_HOME must be set as an environment variable -->
-    <property name="project.home" value="${basedir}/website" />
-    <property name="forrest.jvmargs" value="-Djava.awt.headless=true" />
-    <import file="${env.FORREST_HOME}/main/forrest.build.xml" optional="true"/>
-    <target name="website" if="env.FORREST_HOME">
-       <antcall target="site"/>
-    </target>
-
 </project>

Added: pdfbox/trunk/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/resources/css/site.css?rev=908599&view=auto
==============================================================================
--- pdfbox/trunk/src/site/resources/css/site.css (added)
+++ pdfbox/trunk/src/site/resources/css/site.css Wed Feb 10 17:43:03 2010
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+
+#banner {
+    height: 100px;
+    background: none;
+}
+
+#bannerLeft img {
+    padding-top: 10px;
+}

Propchange: pdfbox/trunk/src/site/resources/css/site.css
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: pdfbox/trunk/src/site/site.xml (from r908535, pdfbox/trunk/website/src/documentation/content/xdocs/site.xml)
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/site.xml?p2=pdfbox/trunk/src/site/site.xml&p1=pdfbox/trunk/website/src/documentation/content/xdocs/site.xml&r1=908535&r2=908599&rev=908599&view=diff
==============================================================================
--- pdfbox/trunk/website/src/documentation/content/xdocs/site.xml (original)
+++ pdfbox/trunk/src/site/site.xml Wed Feb 10 17:43:03 2010
@@ -15,64 +15,63 @@
  ! limitations under the License.
  !-->
 
-<!--
-Forrest site.xml
-
-This file contains an outline of the site's information content.  It is used to:
-- Generate the website menus (though these can be overridden - see docs)
-- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
-<link href="site:changes"> links to changes.html (or ../changes.html if in
-  subdir).
-- Provide aliases for external URLs in the external-refs section.  Eg, <link
-  href="ext:cocoon"> links to http://cocoon.apache.org/
-
-See http://forrest.apache.org/docs/linking.html for more info
--->
-
-<site label="PDFBox" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
-  <about label="About">
-    <index label="Index" href="index.html" description="Welcome to PDFBox"/>
-    <download label="Download" href="download.html" description="Download PDFBox" />
-    <license label="License" href="http://www.apache.org/licenses/LICENSE-2.0" description="Apache License" />
-    <!--
-    <nightly_release label="Nightly Build" href="http://www.pdfbox.org/dist/" description="Download a nightly release of PDFBox" />
-    <forums label="Forums" href="http://sourceforge.net/forum/?group_id=78314" description="Discuss PDFBox" />
-    -->
-    <mailing-list label="Mailing List" href="mailing-list.html" description="Discuss PDFBox" />
-    <issues label="Issue Tracker" href="https://issues.apache.org/jira/browse/PDFBOX" description="Submit an issue" />
-    <releaasenotes label="Release Notes" href="changes.html" description="Release Notes" />
-    <!--
-    <sourceforge label="SourceForge" href="http://www.sf.net/projects/pdfbox" description="SourceForge Site" />
-    -->
-    <references label="References" href="references.html" description="References" />
-    <!--
-    <donations label="Donations" href="donations.html" description="Donations" />
-    -->
-    <asf-sponsorship label="ASF Sponsorship Program" href="http://www.apache.org/foundation/sponsorship.html"/>"
-    <asf-thanks label="ASF Thanks" href="http://www.apache.org/foundation/thanks.html"/>"
-  </about>
-  <commandline label="Command Line Utilities">
-    <index label="Index" href="commandlineutilities/index.html" description="Index"/>
-    <index label="Decrypt" href="commandlineutilities/Decrypt.html" description="Decrypt"/>
-    <index label="Encrypt" href="commandlineutilities/Encrypt.html" description="Encrypt"/>
-    <index label="ExtractText" href="commandlineutilities/ExtractText.html" description="ExtractText"/>
-    <index label="PDFToImage" href="commandlineutilities/PDFToImage.html" description="PDFToImage"/>
-    <index label="PrintPDF" href="commandlineutilities/PrintPDF.html" description="PrintPDF"/>
-    <index label="ConvertColorspace" href="commandlineutilities/ConvertColorspace.html" description="Convert PDF colorspace, ie RGB to CMYK"/>
-    <index label="TextToPDF" href="commandlineutilities/TextToPDF.html" description="TextToPDF"/>
-  </commandline>
-  <userguide label="Developers Guide">
-    <index label="Index" href="userguide/index.html" description="A note on the docs" />
-    <bookmarks label="Bookmarks" href="userguide/bookmarks.html" description="PDF Bookmarks" />
-    <building_pdfbox label="Building PDFBox" href="userguide/building_pdfbox.html" description="Building PDFBox" />
-    <faq label="FAQ" href="userguide/faq.html" description="Answers to Questions about PDFBox" />
-    <file_references label="File References" href="userguide/file_references.html" description="Documentation on embedded and externally referenced files" />
-    <fonts label="Fonts" href="userguide/fonts.html" description="Fonts in PDFBox" />
-    <highlighting label="Highlighting" href="userguide/highlighting.html" description="Highlighting text in a PDF" />
-    <javadoc label="Javadoc" href="./javadoc/index.html" description="Javadoc API" />
-    <metadata label="Metadata" href="userguide/metadata.html" description="XMP Metadata" />
-    <redistribution label="Redistribution" href="userguide/redistribution.html" description="PDFBox Redistribution"/>
-    <dot_net label=".NET Version" href="userguide/dot_net.html" description=".NET Version" />
-    <text_extraction label="Text Extraction" href="userguide/text_extraction.html" description="PDF Text Extraction" />
-  </userguide>
-</site>
+<project name="Apache PDFBox">
+  <bannerLeft>
+    <name>PDFBox</name>
+    <src>http://pdfbox.apache.org/images/Logo.gif</src>
+    <alt>Apache PDFBox</alt>
+    <href>http://pdfbox.apache.org/</href>
+  </bannerLeft>
+  <bannerRight>
+    <name>ASF</name>
+    <src>http://www.apache.org/images/asf_logo.gif</src>
+    <alt>The Apache Software Foundation</alt>
+    <href>http://www.apache.org/</href>
+  </bannerRight>
+  <publishDate position="none"/>
+  <version position="none"/>
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-stylus-skin</artifactId>
+    <version>1.0.1</version>
+  </skin>
+  <body>
+    <menu name="About">
+      <item name="Welcome" href="index.html"/>
+      <item name="Download" href="download.html"/>
+      <item name="License" href="http://www.apache.org/licenses/LICENSE-2.0"/>
+      <item name="Mailing Lists" href="mailing-list.html"/>
+      <item name="Issue Tracker"
+            href="https://issues.apache.org/jira/browse/PDFBOX"/>
+      <item name="References" href="references.html"/>
+      <item name="ASF Sponsorship Program"
+            href="http://www.apache.org/foundation/sponsorship.html"/>
+      <item name="ASF Thanks"
+            href="http://www.apache.org/foundation/thanks.html"/>
+    </menu>
+    <menu name="Command Line Utilities">
+      <item name="Index" href="commandlineutilities/index.html"/>
+      <item name="Decrypt" href="commandlineutilities/Decrypt.html"/>
+      <item name="Encrypt" href="commandlineutilities/Encrypt.html"/>
+      <item name="ExtractText" href="commandlineutilities/ExtractText.html"/>
+      <item name="PDFToImage" href="commandlineutilities/PDFToImage.html"/>
+      <item name="PrintPDF" href="commandlineutilities/PrintPDF.html"/>
+      <item name="ConvertColorspace"
+            href="commandlineutilities/ConvertColorspace.html"/>
+      <item name="TextToPDF" href="commandlineutilities/TextToPDF.html"/>
+    </menu>
+    <menu name="Developers Guide">
+      <item name="Index" href="userguide/index.html"/>
+      <item name="Bookmarks" href="userguide/bookmarks.html"/>
+      <item name="Building PDFBox" href="userguide/building_pdfbox.html"/>
+      <item name="FAQ" href="userguide/faq.html"/>
+      <item name="File References" href="userguide/file_references.html"/>
+      <item name="Fonts" href="userguide/fonts.html"/>
+      <item name="Highlighting" href="userguide/highlighting.html"/>
+      <item name="Metadata" href="userguide/metadata.html"/>
+      <item name="Redistribution" href="userguide/redistribution.html"/>
+      <item name=".NET Version" href="userguide/dot_net.html"/>
+      <item name="Text Extraction" href="userguide/text_extraction.html"/>
+    </menu>
+  </body>
+</project>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/ConvertColorspace.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/ConvertColorspace.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/ConvertColorspace.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/ConvertColorspace.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>ConvertColorspace</title>
     <meta name="keywords">convert PDF RGB to CMYK, java pdf, pdf colorspace, pdfbox, open source</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="ConvertColorspace">
       <p>This application will convert a PDF that uses one colorspace to another.  For example, all RGB colors to CMYK colors.
          Currently this only supports changing text and vector graphics and does not convert images.</p>
       <table>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/Decrypt.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/Decrypt.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/Decrypt.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/Decrypt.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>Decrypt</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="Decrypt">
       <p>This application will decrypt a PDF document.</p>
       <note>You must have the owner password to decrypt the document!</note>
       <p>usage: java org.apache.pdfbox.Decrypt [OPTIONS] &lt;inputfile&gt; [outputfile]</p>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/Encrypt.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/Encrypt.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/Encrypt.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/Encrypt.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>Encrypt</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="Encrypt">
       <p>This application will encrypt a PDF document.</p>
       <p>usage: java org.apache.pdfbox.Encrypt [OPTIONS] &lt;password&gt; &lt;inputfile&gt;</p>
       <table>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/ExtractText.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/ExtractText.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/ExtractText.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/ExtractText.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>ExtractText</title>
     <meta name="keywords">pdftotext, java pdftotext, pdfbox, pdf to text</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="ExtractText">
       <p>This application will extract all text from the given PDF document.</p>
       <p>usage: java org.apache.pdfbox.ExtractText [OPTIONS] &lt;PDF file&gt; [Text file]</p>
       <table>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/PDFToImage.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/PDFToImage.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/PDFToImage.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/PDFToImage.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFToImage</title>
     <meta name="keywords">pdf to image, java pdf image, image, pdfbox, open source</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="PDFToImage">
       <p>This application will create an image for every page in the PDF document.</p>
       <warning>This is new code and should be treated as beta quality!</warning>
       <table>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/PrintPDF.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/PrintPDF.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/PrintPDF.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/PrintPDF.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
-    <title>Decrypt</title>
-  </header>
+  <properties>
+    <title>PrintPDF</title>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="PrintPDF">
       <p>This application will send a pdf document to the printer.</p>
       <note>You must have the correct permissions to print the document!</note>
       <p>usage: java org.apache.pdfbox.PrintPDF [OPTIONS] &lt;inputfile&gt;</p>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/TextToPDF.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/TextToPDF.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/TextToPDF.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/TextToPDF.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>TextToPDF</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="TextToPDF">
       <p>This application will create a PDF document from a text file.</p>
       <table>
           <tr>

Modified: pdfbox/trunk/src/site/xdoc/commandlineutilities/index.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/commandlineutilities/index.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/commandlineutilities/index.xml (original)
+++ pdfbox/trunk/src/site/xdoc/commandlineutilities/index.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox Command Line Utilities</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Description</title>
+    <section name="PDFBox Command Line Utilities">
       <p>
 	      PDFBox comes with a series of command line utilities.  They are available as windows binaries
 	      and as standard Java applications.

Modified: pdfbox/trunk/src/site/xdoc/download.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/download.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/download.xml (original)
+++ pdfbox/trunk/src/site/xdoc/download.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>Download</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Download</title>
+    <section name="Download">
       <p>
         There are several ways you can obtain the PDFBox binaries or sources:
       </p>
@@ -40,8 +39,7 @@
         related to the encryption features included in Apache PDFBox.
       </p>
     </section>
-    <section id="pdfbox">
-      <title>Download Apache PDFBox</title>
+    <section id="pdfbox" name="Download Apache PDFBox">
       <p>
         PDFBox is an open source Java library for working with PDF documents.
       </p>
@@ -100,8 +98,7 @@
         See the <a href="http://www.apache.org/dist/pdfbox/pdfbox/RELEASE-NOTES-0.8.0-incubating.txt">release notes</a> for more details.
       </p>
     </section>
-    <section id="fontbox">
-      <title>Download Apache FontBox</title>
+    <section id="fontbox" name="Download Apache FontBox">
       <p>
         Apache FontBox is an open source Java library for working with
         PDF fonts.
@@ -152,8 +149,7 @@
         See the <a href="http://www.apache.org/dist/pdfbox/fontbox/RELEASE-NOTES-0.8.0-incubating.txt">release notes</a> for more details.
       </p>
     </section>
-    <section id="jempbox">
-      <title>Download Apache JempBox</title>
+    <section id="jempbox" name="Download Apache JempBox">
       <p>
         Apache JempBox is an open source Java library for working with
         XMP metadata.
@@ -253,8 +249,7 @@
     <section id="snapshot">
       <title>Download a snapshot</title>
     </section> -->
-    <section id="subversion">
-      <title>Subversion Repository</title>
+    <section id="subversion" name="Subversion Repository">
       <p>
         To fetch the latest source code from the trunk in the Subversion repository,
         just run the following command:
@@ -266,8 +261,7 @@
         <a href="http://svn.apache.org/viewvc/pdfbox/">http://svn.apache.org/viewvc/pdfbox/</a>.
       </p>
     </section>
-    <section id="old-releases">
-      <title>Download old releases</title>
+    <section id="old-releases" name="Download old releases">
       <p>
         The old releases (up to version 0.7.3) published from
         <a href="http://www.sourceforge.net">SourceForge</a> are
@@ -277,8 +271,7 @@
         <a href="http://sourceforge.net/project/showfiles.php?group_id=78314">http://sourceforge.net/project/showfiles.php?group_id=78314</a>
       </p>
     </section>
-    <section id="export">
-      <title>Export control</title>
+    <section id="export" name="Export control">
       <p>
         This distribution includes cryptographic software. The country in
         which you currently reside may have restrictions on the import,

Modified: pdfbox/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/index.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/index.xml (original)
+++ pdfbox/trunk/src/site/xdoc/index.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>Apache PDFBox - Java PDF Library</title>
     <meta name="keywords">Java PDF Library, pdfbox, pdftotext, print pdf</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Introduction</title>
+    <section name="Apache PDFBox - Java PDF Library">
       <p>
         Apache PDFBox is an open source Java PDF library for working with PDF documents.
         This project allows creation of new PDF documents, manipulation of existing documents
@@ -42,8 +41,7 @@
         We're happy to help.
       </p>
     </section>
-    <section>
-      <title>Features</title>
+    <section name="Features">
       <ul>
         <li>PDF to text extraction</li>
         <li>Merge PDF Documents</li>

Modified: pdfbox/trunk/src/site/xdoc/mailing-list.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/mailing-list.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/mailing-list.xml (original)
+++ pdfbox/trunk/src/site/xdoc/mailing-list.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>Mailing Lists</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Introduction</title>
+    <section name="Mailing Lists">
       <p>
         Mailing Lists are the primary communication channels for all projects at
         The Apache Software Foundation. Therefore, this applies to Apache PDFBox, too.
@@ -40,15 +39,13 @@
         <li><a href="#old-releases">Download old releases</a></li>
       </ul>
     </section>
-    <section id="users">
-      <title>Users Mailing List</title>
+    <section id="users" name="Users Mailing List">
       <p>
         This is where you can post your questions about and problems with PDFBox. All
         committers (developers) are required to be subscribed to this mailing list. When in doubt
         which mailing list to use, use this one.
       </p>
-      <section id="users-subscribe">
-        <title>Subscription Information</title>
+      <section id="users-subscribe" name="Subscription Information">
         <ul>
           <li>To subscribe (digest only): Send email to <a href="mailto:users-digest-subscribe@pdfbox.apache.org">users-digest-subscribe@pdfbox.apache.org</a>.</li>
           <li>To <strong>subscribe</strong> fully: Send email to <a href="mailto:users-subscribe@pdfbox.apache.org">users-subscribe@pdfbox.apache.org</a>.</li>
@@ -57,8 +54,7 @@
           <li>To <strong>post</strong>: Send email to <a href="mailto:users@pdfbox.apache.org">users@pdfbox.apache.org</a>.</li>
         </ul>
       </section>
-      <section id="users-archives">
-        <title>Mailing List Archives</title>
+      <section id="users-archives" name="Mailing List Archives">
         <ul>
           <li><a href="http://mail-archives.apache.org/mod_mbox/incubator-pdfbox-users/">Apache Mailing List Archive</a> (mod_mbox archive, no full-text search)</li>
           <li><a href="http://pdfbox-users.markmail.org">MarkMail Archive</a></li>
@@ -66,14 +62,12 @@
         </ul>
       </section>
     </section>
-    <section id="dev">
-      <title>Developers Mailing List</title>
+    <section id="dev" name="Developers Mailing List">
       <p>
         This is where the committers and interested contributors discuss the further development of
         Apache PDFBox.
       </p>
-      <section id="dev-subscribe">
-        <title>Subscription Information</title>
+      <section id="dev-subscribe" name="Subscription Information">
         <ul>
           <li>To subscribe (digest only): Send email to <a href="mailto:dev-digest-subscribe@pdfbox.apache.org">dev-digest-subscribe@pdfbox.apache.org</a>.</li>
           <li>To <strong>subscribe</strong> fully: Send email to <a href="mailto:dev-subscribe@pdfbox.apache.org">dev-subscribe@pdfbox.apache.org</a>.</li>
@@ -82,22 +76,19 @@
           <li>To <strong>post</strong>: Send email to <a href="mailto:dev@pdfbox.apache.org">dev@pdfbox.apache.org</a>.</li>
         </ul>
       </section>
-      <section id="dev-archives">
-        <title>Mailing List Archives</title>
+      <section id="dev-archives" name="Mailing List Archives">
         <ul>
           <li><a href="http://mail-archives.apache.org/mod_mbox/incubator-pdfbox-dev/">Apache Mailing List Archive</a> (mod_mbox archive, no full-text search)</li>
           <li><a href="http://pdfbox-dev.markmail.org">MarkMail Archive</a></li>
         </ul>
       </section>
     </section>
-    <section id="commits">
-      <title>Commits Mailing List</title>
+    <section id="commits" name="Commits Mailing List">
       <p>
         This is where all the notification mails from Subversion commits and issue tracker changes
         get sent. This mailing list is not used for discussions.
       </p>
-      <section id="commits-subscribe">
-        <title>Subscription Information</title>
+      <section id="commits-subscribe" name="Subscription Information">
         <ul>
           <li>To subscribe (digest only): Send email to <a href="mailto:commits-digest-subscribe@pdfbox.apache.org">commits-digest-subscribe@pdfbox.apache.org</a>.</li>
           <li>To <strong>subscribe</strong> fully: Send email to <a href="mailto:commits-subscribe@pdfbox.apache.org">commits-subscribe@pdfbox.apache.org</a>.</li>
@@ -105,8 +96,7 @@
           <li>To <strong>unsubscribe</strong>: Send email to <a href="mailto:commits-unsubscribe@pdfbox.apache.org">commits-unsubscribe@pdfbox.apache.org</a>.</li>
         </ul>
       </section>
-      <section id="commits-archives">
-        <title>Mailing List Archives</title>
+      <section id="commits-archives" name="Mailing List Archives">
         <ul>
           <li><a href="http://mail-archives.apache.org/mod_mbox/incubator-pdfbox-commits/">Apache Mailing List Archive</a> (mod_mbox archive, no full-text search)</li>
           <li><a href="http://pdfbox-commits.markmail.org">MarkMail Archive</a></li>

Modified: pdfbox/trunk/src/site/xdoc/references.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/references.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/references.xml (original)
+++ pdfbox/trunk/src/site/xdoc/references.xml Wed Feb 10 17:43:03 2010
@@ -16,20 +16,17 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - References</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>PDFBox References</title>
+    <section name="PDFBox References">
       <p>
-      This page lists projects that utilize PDFBox and articles that have been written about PDFBox.
-      Send <a href="mailto:ben@benlitchfield.com">me</a> an e-mail if your article
-      or project is missing.
+        This page lists projects that utilize PDFBox and articles that
+        have been written about PDFBox.
       </p>
     </section>
-    <section>
-      <title>Projects</title>
+    <section name="Projects">
       <p><br/></p>
       <table>
       	<tr>
@@ -157,8 +154,7 @@
       </table>
     </section>
 
-    <section>
-      <title>Articles/Books</title>
+    <section name="Articles/Books">
       <p><br/></p>
       <table>
       	<tr>

Modified: pdfbox/trunk/src/site/xdoc/userguide/bookmarks.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/bookmarks.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/bookmarks.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/bookmarks.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - PDF Bookmarks</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Accessing Bookmarks</title>
+    <section name="Accessing PDF Bookmarks">
       <p>
       See package:<a href="../javadoc/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/package-summary.html">org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline</a> <br/>
       See example:<a href="../javadoc/org/apache/pdfbox/examples/pdmodel/PrintBookmarks.html">PrintBookmarks</a>

Modified: pdfbox/trunk/src/site/xdoc/userguide/building_pdfbox.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/building_pdfbox.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/building_pdfbox.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/building_pdfbox.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - How to build PDFBox</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Building PDFBox</title>
+    <section name="Building PDFBox">
       <p>
       	This page will describe how to build PDFBox.  Most users should find the binary releases adequate, but
       	if you are contributing to PDFBox then you will need to know how to properly build the project.
@@ -29,7 +28,7 @@
 
       <p>
       	You can obtain the latest source of PDFBox from SVN, see the
-      	<a href="http://pdfbox.apache.org/download.html">Apache PDFBox</a>
+      	<a href="../download.html">Apache PDFBox</a>
       	site for information
       	about how to connect to SVN.  The below instructions should also work for a released/nightly distribution.
       </p>
@@ -77,8 +76,7 @@
       	 </note>
       </p>
     </section>
-    <section>
-    	<title>Running/Debugging PDFBox in Eclipse</title>
+    <section name="Running/Debugging PDFBox in Eclipse">
     	<p>
     		In order to run PDFBox from within Eclipse there are a couple things that need to be setup.  Certain
     		pieces of functionality require access to the Resources folder.  Here is an example of what you need

Modified: pdfbox/trunk/src/site/xdoc/userguide/dot_net.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/dot_net.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/dot_net.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/dot_net.xml Wed Feb 10 17:43:03 2010
@@ -16,27 +16,24 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - .NET Version</title>
     <meta name="keywords">Java PDF Library, pdftotext, PDF to text, ..NET pdf text extraction, pdf ASP, pdf .NET</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-        <title>.NET Version</title>
+    <section name=".NET Version">
         <p>
             Even though PDFBox is written in Java, there is also a .NET version that is available.  It utilizes <a href="http://www.ikvm.net">IKVM</a>
             to create a fully functioning PDF library for the .NET framework.  The released version contains a bin directory with all of the
             required DLL files.  For the command line applications that are available in the Java version a native windows executable is
             also included.  This page contains information that is specific to using the .NET version of PDFBox.
         </p>
-        <section>
-          <title>log4j</title>
+        <section name="log4j">
           <p>
           PDFBox no longer requires log4j!  Older versions used to require you to configure log4j before using it in .NET
           </p>
         </section>
-        <section>
-          <title>Lucene</title>
+        <section name="Lucene">
           <p>
           The way that IKVM works is that DLLs are only compatible when used with the dependent DLLs that are used to build them.  For example, in
           order to build the PDFBox DLL, a lucene DLL needs to be built, then the PDFBox DLL.  The PDFBox DLL now depends on that <b>*exact*</b>

Modified: pdfbox/trunk/src/site/xdoc/userguide/file_references.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/file_references.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/file_references.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/file_references.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - PDF File References</title>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>File Specification</title>
+    <section name="PDF File Specification">
       <p>
       See package:<a href="../javadoc/org/apache/pdfbox/pdmodel/common/filespecification/package-summary.html">org.apache.pdfbox.pdmodel.common.filespecification</a> <br/>
       See example:<a href="../javadoc/org/apache/pdfbox/examples/pdmodel/EmbeddedFiles.html">EmbeddedFiles</a>
@@ -43,8 +42,7 @@
       EmbeddedFile attribute can be used instead.
       </p>
     </section>
-    <section>
-      <title>File Attachments</title>
+    <section name="File Attachments">
       <p>
       PDF documents can contain file attachments that are accessed from the Document->File Attachments menu.  PDFBox allows attachments
       to be added to and extracted from PDF documents.  Attachments are part of the named tree that is attached to the document catalog.

Modified: pdfbox/trunk/src/site/xdoc/userguide/fonts.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/fonts.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/fonts.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/fonts.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - PDF Fonts</title>
-  </header>
+  </properties>
   <body>
-  	<section>
-  		<title>Standard 14 Fonts</title>
+  	<section name="tandard 14 Fonts">
   		<p>
   		The PDF specification states that a standard set of 14 fonts will always be available when consuming
   		PDF documents.  In PDFBox these are defined as constants in the PDType1Font class.
@@ -44,10 +43,8 @@
   			<tr><td>PDType1Font.ZAPF_DINGBATS</td></tr>
   		</table>
   	</section>
-    <section>
-      <title>TrueType Fonts</title>
-      <section>
-      	<title>Embedding TrueType Fonts</title>
+    <section name="TrueType Fonts">
+      <section name="Embedding TrueType Fonts">
       	<p>
       	PDFBox supports embedding TrueType fonts.  Loading a new font is easy.
       	</p>
@@ -56,8 +53,7 @@
       PDFont font = PDTrueTypeFont.loadTTF( doc, new File( "SpecialFont.ttf" ) );</source>
 
       </section>
-      <section>
-      	<title>External TrueType Fonts</title>
+      <section name="External TrueType Fonts">
       	<p>
       	While it is recommended to embed all fonts for greatest portability not all PDF producer applications
       	will do this.  When displaying a PDF it is necessary to find an external font to use.

Modified: pdfbox/trunk/src/site/xdoc/userguide/highlighting.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/highlighting.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/highlighting.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/highlighting.xml Wed Feb 10 17:43:03 2010
@@ -16,20 +16,18 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - PDF Highlighting</title>
     <meta name="keywords">Java PDF Library, highlight, highlight pdf, highlight pdf text, java</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-        <title>Highlighting text in a PDF</title>
+    <section name="Highlighting text in a PDF">
         <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>
-        <section>
-          <title>1. Use the 'search' open parameter</title>
+        <section name="1. Use the 'search' open parameter">
           <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" target="_blank">PDF Open Parameters</a> for
@@ -42,8 +40,7 @@
           </p>
 
         </section>
-        <section>
-          <title>2. Generate a highlight XML document</title>
+        <section name="2. Generate a highlight XML document">
           <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.
@@ -67,8 +64,7 @@
           <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.
           </p>
         </section>
-        <section>
-          <title>3. Alter pdf contents to highlight specific text</title>
+        <section name="3. Alter pdf contents to highlight specific text">
           <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

Modified: pdfbox/trunk/src/site/xdoc/userguide/index.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/index.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/index.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/index.xml Wed Feb 10 17:43:03 2010
@@ -16,12 +16,11 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - User Guide</title>
-  </header>
+  </properties>
   <body>
-    <section>
-        <title>Introduction</title>
+    <section name="PDFBox User Guide">
         <p>
         	This page will discuss the internals of PDF documents
         	and how those internals map to PDFBox classes.
@@ -30,15 +29,13 @@
         	can be used to determine detailed information about fields and their meanings.
         </p>
     </section>
-    <section>
-        <title>Examples</title>
+    <section name="Examples">
         <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>
     </section>
-    <section>
-      <title>PDF File Format Overview</title>
+    <section name="PDF File Format Overview">
       <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:
@@ -136,8 +133,7 @@
       </td></tr>
       </table>
     </section>
-    <section>
-    	<title>PD Model</title>
+    <section name="PD Model">
     	<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.

Modified: pdfbox/trunk/src/site/xdoc/userguide/metadata.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/metadata.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/metadata.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/metadata.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - PDF Metadata</title>
     <meta name="keywords">Java PDF Library, XMP, PDF metadata, pdfbox</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Accessing Metadata</title>
+    <section name="Accessing PDF Metadata">
       <p>
       See class:<a href="../javadoc/org/apache/pdfbox/pdmodel/common/PDMetadata.html">org.apache.pdfbox.pdmodel.common.PDMetadata</a> <br/>
       See example:<a href="../javadoc/org/apache/pdfbox/examples/pdmodel/AddMetadataFromDocInfo.html">AddMetadataFromDocInfo</a> <br/>

Modified: pdfbox/trunk/src/site/xdoc/userguide/redistribution.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/redistribution.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/redistribution.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/redistribution.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - Redistribution</title>
     <meta name="keywords">Java PDF Library, pdfbox</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-      <title>Redistributing PDFBox</title>
+    <section name="Redistributing PDFBox">
       <p>
       PDFBox makes use of several open source libraries.  Some are just required for building PDFBox, some are required for running PDFBox.
       The below table summarizes the licences that are included with PDFBox and when they are required.

Modified: pdfbox/trunk/src/site/xdoc/userguide/text_extraction.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/site/xdoc/userguide/text_extraction.xml?rev=908599&r1=908535&r2=908599&view=diff
==============================================================================
--- pdfbox/trunk/src/site/xdoc/userguide/text_extraction.xml (original)
+++ pdfbox/trunk/src/site/xdoc/userguide/text_extraction.xml Wed Feb 10 17:43:03 2010
@@ -16,13 +16,12 @@
  !-->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document>
-  <header>
+  <properties>
     <title>PDFBox - PDF Text Extraction</title>
     <meta name="keywords">Java PDF Library, pdftotext, PDF to text, java pdf text extraction</meta>
-  </header>
+  </properties>
   <body>
-    <section>
-        <title>Extracting Text</title>
+    <section name="Extracting Text">
         <p>
             See class:<a href="../javadoc/org/apache/pdfbox/util/PDFTextStripper.html">org.apache.pdfbox.util.PDFTextStripper</a> <br/>
             See class:<a href="../javadoc/org/apache/pdfbox/searchengine/lucene/LucenePDFDocument.html">org.apache.pdfbox.searchengine.lucene.LucenePDFDocument</a> <br/>
@@ -33,8 +32,7 @@
             This functionality is encapsulated in the <a href="../javadoc/org/apache/pdfbox/util/PDFTextStripper.html">org.apache.pdfbox.util.PDFTextStripper</a> and
             can be easily executed on the command line with <a href="../javadoc/org/apache/pdfbox/ExtractText.html">org.apache.pdfbox.ExtractText</a>.
         </p>
-        <section>
-          <title>Lucene Integration</title>
+        <section name="Lucene Integration">
           <p><a href="http://lucene.apache.org/java/docs/index.html">Lucene</a> is an open source text search library from the Apache Jakarta Project.
           In order for Lucene to be able to index a PDF document it must first be converted to text.  PDFBox provides a simple approach for adding
           PDF documents into a Lucene index.</p>
@@ -50,8 +48,7 @@
           techniques described in the next section.
           </p>
         </section>
-        <section>
-            <title>Advanced Text Extraction</title>
+        <section name="Advanced Text Extraction">
             <p>Some applications will have complex text extraction requiments and neither the command line application nor the LucenePDFDocument
             will be able to fulfill those requirements.  It is possible for users to utilize or extend the
             <a href="../javadoc/org/apache/pdfbox/util/PDFTextStripper.html">PDFTextStripper</a> class to meet some of these requirements.</p>
@@ -134,12 +131,10 @@
                 <note>PDFTextStripper will check both the startPage/endPage and the startBookmark/endBookmark to determine if text should
                       be extracted from the current page.</note>
             </section>
-            <section>
-                <title>External Glyph List</title>
+            <section name="External Glyph List">
                 <p>Some PDF files need to map between glyph names and Unicode values during text extraction.  PDFBox comes with an <a href="http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt">Adobe Glyph List</a>, but you may encounter files with glyph names that are not in that map. To use  your own glyphlist file, supply the file name to the <tt>glyphlist_ext</tt> JVM property. </p>
            </section>
-           <section>
-                <title>Right to Left Text</title>
+           <section name="Right to Left Text">
                 <p>Extracting text in languages whose text goes from right to left (such as Arabic and Hebrew) in PDF files can result in text that is backwards.  PDFBox can normalize and reverse the text if the <a href="http://icu-project.org/">ICU4J</a> jar file has been placed on the classpath (it is an optional dependency). Note that you should also enable sorting with either <a href="../javadoc/org/apache/pdfbox/util/PDFTextStripper.html">org.apache.pdfbox.util.PDFTextStripper</a> or <a href="../javadoc/org/apache/pdfbox/ExtractText.html">org.apache.pdfbox.ExtractText</a> to ensure accurate output.</p>
            </section>
         </section>



Mime
View raw message