You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2015/11/16 19:56:19 UTC
[1/3] pdfbox-docs git commit: Site checkin for project Apache PDFBox
Website
Repository: pdfbox-docs
Updated Branches:
refs/heads/asf-site 30cc3b072 -> 3f67f8b81
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/download.html
----------------------------------------------------------------------
diff --git a/content/download.html b/content/download.html
index 04895e2..6376159 100644
--- a/content/download.html
+++ b/content/download.html
@@ -1,26 +1,137 @@
----
-license: 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.
-
-layout: default
-title: Downloads
----
-
-<h1>Downloads</h1>
+<!DOCTYPE html>
+<html lang="en">
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE- 2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="description" content="The Apache PDFBox™ library is an open source Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. Apache PDFBox also includes several command line utilities. Apache PDFBox is published under the Apache License v2.0.
+">
+
+ <title>Apache PDFBox | Downloads</title>
+
+ <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/assets/open-iconic/font/css/open-iconic-bootstrap.min.css" rel="stylesheet">
+ <link href="/css/pygments-github.css" rel="stylesheet">
+
+ <link href="/css/site.css" rel="stylesheet">
+
+
+
+
+
+
+
+</head>
+
+<body>
+ <nav class="navbar navbar-default navbar-top">
+ <div class="container">
+ <div class="navbar-header">
+ <a href="/index.html">
+ <img class="logo" src="/images/logo-head.gif">
+ </a>
+ <p class="pull-right visible-xs">
+ <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+ </p>
+ </div>
+ </div>
+ </nav>
+
+ <div class="container">
+
+ <div class="row row-offcanvas row-offcanvas-left">
+ <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
+
+ <ul class="sidebar">
+ <li class="sidebar-header">Apache PDFBox</li>
+ <li><a href="/index.html">Overview</a></li>
+ <li><a href="/download.cgi">Downloads</a></li>
+
+ <li class="sidebar-header">Community</li>
+ <li><a href="/support.html">Support</a></li>
+ <li><a href="/mailinglists.html">Mailing Lists</a></li>
+ <li><a href="/team.html">Project Team</a></li>
+
+ <li class="sidebar-header">Documentation</li>
+ <li class="sidebar-node" id="v2-0">
+ <a href="#">2.0.0 (trunk)</a>
+ <ul>
+ <li><a href="/2.0/migration.html">Migration Guide</a></li>
+ <li><a href="/2.0/getting-started.html">Getting Started</a></li>
+ <li><a href="/2.0/examples.html">Examples</a></li>
+ <li><a href="/2.0/dependencies.html">Dependencies</a></li>
+ <li class="sidebar-node" id="v2-0-cookbook">
+ <a href="#">Cookbook</a>
+ <ul>
+ <li><a href="/2.0/cookbook/encryption.html">Document Encryption</a></li>
+ </ul>
+ </li>
+ <li><a href="/2.0/commandline.html">Command Line Tools</a></li>
+ <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
+ </ul>
+ </li>
+ <li class="sidebar-node" id="v1-8">
+ <a href="#">1.8.10</a>
+ <ul>
+ <li><a href="/1.8/architecture.html">Architecture</a></li>
+ <li><a href="/1.8/dependencies.html">Dependencies</a></li>
+ <li class="sidebar-node" id="v1-8-cookbook">
+ <a href="#">Cookbook</a>
+ <ul>
+ <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
+ <li><a href="/1.8/cookbook/textextraction.html">Text Extraction</a></li>
+ <li><a href="/1.8/cookbook/encryption.html">Document Encryption</a></li>
+ <li><a href="/1.8/cookbook/workingwithfonts.html">Working with Fonts</a></li>
+ <li><a href="/1.8/cookbook/workingwithmetadata.html">Working with Metadata</a></li>
+ <li><a href="/1.8/cookbook/workingwithattachments.html">Working with Attachments</a></li>
+ <li><a href="/1.8/cookbook/pdfavalidation.html">PDF/A Validation</a></li>
+ <li><a href="/1.8/cookbook/pdfacreation.html">Creating a PDF/A document</a></li>
+ </ul>
+ </li>
+ <li><a href="/1.8/commandline.html">Command Line Tools</a></li>
+ <li><a href="/docs/1.8.10/javadocs/">API Docs</a></li>
+ <li><a href="/1.8/faq.html">FAQ</a></li>
+ </ul>
+ </li>
+
+ <li class="sidebar-header">Development</li>
+ <li><a href="/building.html">Building from Source</a></li>
+ <li><a href="/codingconventions.html">Coding Conventions</a></li>
+ <li><a href="/siteupdate.html">Update the Website</a></li>
+ <li><a href="https://builds.apache.org/view/All/job/PDFBox-trunk/">Jenkins</a></li>
+ <li><a href="https://travis-ci.org/apache/pdfbox">Travis CI</a></li>
+ <li><a href="https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor">SonarQube</a></li>
+ <li><a href="https://issues.apache.org/jira/browse/PDFBOX">JIRA</a></li>
+ <li><a href="/ideas.html">Ideas</a></li>
+ <li><a href="/references.html">External Links</a></li>
+
+ <li class="sidebar-header">Apache Software Foundation</li>
+ <li><a href="http://www.apache.org/">Apache Software Foundation</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">ASF Sponsors</a></li>
+ <li><a href="http://www.apache.org/security/">Security</a></li>
+ </ul>
+ </div>
+ <div class="col-xs-12 col-sm-9">
+ <h1>Downloads</h1>
<p>There are several ways to obtain the PDFBox binaries or sources:</p>
@@ -275,4 +386,64 @@ Section 740.13) for both object code and source code.
<ul>
<li>Apache PDFBox uses the Java Cryptography Architecture (JCA) and the Bouncy Castle libraries for handling encryption in PDF documents.
</li>
-</ul>
\ No newline at end of file
+</ul>
+ </div>
+ </div>
+ </div>
+
+ <footer class="footer">
+ <div class="container"
+ <div class="row">
+ <div class="span3">
+ <!-- nothing in here on purpose -->
+ </div>
+ <div class="span9">
+ <p>Copyright © 2009–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+ <br/>Apache PDFBox, PDFBox, Apache, the Apache feather logo and the Apache PDFBox project logos are trademarks of The Apache Software Foundation.</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+ <!-- Twitter Bootstrap and jQuery after this line. -->
+ <script src="//code.jquery.com/jquery-latest.js"></script>
+ <script src="/bootstrap/js/bootstrap.min.js"></script>
+ <script type="text/javascript">
+
+ $(document).ready(function () {
+ $('[data-toggle="offcanvas"]').click(function () {
+ $('.row-offcanvas').toggleClass('active')
+ });
+ });
+
+ $(function() {
+ // collapse tree nodes dynamically to support noscript
+ $('.sidebar-node').addClass('collapsed');
+
+
+ // toggle expand/collapse
+ $('.sidebar-node > a').click(function(e) {
+ $(this).parent().toggleClass('collapsed');
+ e.preventDefault();
+ });
+
+ // preserve expand/collapse across page navigation
+ var path = document.location.pathname;
+ if (path.indexOf('/2.0') == 0) {
+ $('#v2-0').removeClass('collapsed');
+ if (path.indexOf('/2.0/cookbook') == 0) {
+ $('#v2-0-cookbook').removeClass('collapsed');
+ }
+ } else {
+ $('#v1-8').removeClass('collapsed');
+ if (path.indexOf('/1.8/cookbook') == 0) {
+ $('#v1-8-cookbook').removeClass('collapsed');
+ }
+ }
+
+ });
+ </script>
+
+</body>
+
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/errors/403.md
----------------------------------------------------------------------
diff --git a/content/errors/403.md b/content/errors/403.md
deleted file mode 100644
index 888f7b8..0000000
--- a/content/errors/403.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-layout: default
-title: Forbidden (403)
----
-# 403
-
-We're sorry, but the page you requested cannot be accessed.
-
-Maybe you
-
-* typed the address incorrectly
-* followed a link from another site that pointed to this page.
-
-
-If you came by following a broken link, please report the [issue](https://issues.apache.org/jira/browse/pdfbox).
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/errors/404.md
----------------------------------------------------------------------
diff --git a/content/errors/404.md b/content/errors/404.md
deleted file mode 100644
index e83602d..0000000
--- a/content/errors/404.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-layout: default
-title: Page Not Found
----
-# 404
-
-We're sorry, but the page you requested cannot be found.
-
-Maybe you
-
-* typed the address incorrectly
-* followed a link from another site that pointed to this page.
-
-
-If you came by following a broken link, please report the [issue](https://issues.apache.org/jira/browse/pdfbox).
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/ideas.md
----------------------------------------------------------------------
diff --git a/content/ideas.md b/content/ideas.md
deleted file mode 100644
index 8e38445..0000000
--- a/content/ideas.md
+++ /dev/null
@@ -1,105 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Ideas
----
-
-# Ideas
-
-There are several ideas to enhance PDFBox. These are outlined below together with
-comments and the releases they are planned for as soon as there is agreement to do the
-implementation.
-
-## Enhance type safety
-
-Enhance the type safety of PDFBox and add more generic collections and code cleanup.
-
-## Remove all deprecated methods
-
-This is an ongoing effort and most/all deprecated methods will be removed in PDFBox 2.0.0
-
-## Handle large PDF files
-
-In addition to the PDF parsing pdfbox does not always handle large PDF files well as some
-of the references are implemented as int instead of long
-
-
-## <span class="complete">Switch to Java 1.6</span>
-
-<span class="complete">PDFBox 2.0.0 has Java 6 as minimum requirement.</span>
-
-## <span class="complete">Break PDFBox into modules</span>
-
-<span class="complete">In order to support different use cases and provide a minimal toolset PDFBox 2.0.0 should be
-separated into different modules. This goes inline with rearranging some of the code
-e.g. remove AWT from PDDocument.
-</span>
-
-## <span class="complete">Enhance the font rendering</span>
-
-<span class="complete">PDFBox 2.0.0 will render most of the fonts without using AWT.</span>
-
-## Replace/enhance PDF parsing
-
-<span class="complete">The old "classic" PDF parser in PDFBox is not in line with the PDF specification as it parses
-a PDF from top to bottom instead of respecting the XRef information.</span> The NonSequentialParser
-enhanced that situation but there is a need to have a cleaner foundation broken into several levels
-
-- io
-- tokenization
-- parsing according to structure
-- COS level document
-- PD level document
-- add some self healing mechanism to process corrupt files
-
-In addition handling documents which are not conforming shouldn't be part of the core parser
-but of a extentable approach e.g. by adding hooks to allow for handling parsing exceptions.
-
-## <span class="complete">Add the ability to create PDFs using unicode encoded text</span>
-
-<span class="complete">The recent PDFBox version is limited to WinANSI encoded text. 2.0.0 should have unicode support as well.</span>
-
-## Rearchitect the COS level objects
-
-The COS level objects need to be refactored to be in line with the new parser. In addition
-method signatures, constructing ... should be made similar across the COS objects
-
-## Parsing on demand
-
-Instead of always parsing the complete document PDFs should be parsable on demand making
-objects only available as they are needed to enhance performance and minimize memory footprint.
-
-This might be achieved by providing a layered approach where a base (non caching) parser provides
-the on demand parsing and a caching parser built on top caches objects for use cases where
-this is beneficial e.g. rendering, debugging ...
-
-- the lexer would be the low level component delivering tokens to the parser.
- A sample implementation exists as part of PDFBOX-1000. The benefit would be a clean low
- level handling of tokens. The current implementation needs to be (slightly ?) revised though
-- the incremental (non caching) parser would allow for page by page processing moving forward
- only to support text extraction, merging, splitting … - the benefit would be a lower memory
- consumption as well as a potential faster processing
-- the caching parser would support applications such a PDFDebugger or PDFReader
-
-## Handling of PDF versions
-The current implementation is a mix of PDF 1.4 and some adhoc additions without a clear
-distinction what is and is not supported. We could ad some support for explicitly handling
-versions in PDFBox e.g. my marking certain methods and properties to the PDF version support
-level. This could in addition be a good basis for PDF/A and other compliance checks.
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/index.md
----------------------------------------------------------------------
diff --git a/content/index.md b/content/index.md
deleted file mode 100644
index 6f66aac..0000000
--- a/content/index.md
+++ /dev/null
@@ -1,82 +0,0 @@
----
-license: 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.
-
-layout: default
-title: A Java PDF Library
----
-# Apache PDFBox - A Java PDF Library
-
-<p class="lead">The Apache PDFBox™ library is an open source Java tool for working with
- PDF documents. This project allows creation of new PDF documents, manipulation of existing
- documents and the ability to extract content from documents.
-
- Apache PDFBox also includes several command line utilities.
- Apache PDFBox is published under the Apache License v2.0.</p>
-
-## News
-With the initial discussions starting 3 years ago PDFBox 2.0.0 is in the works for quite some time now - **and we are in the final stages!** To give you the opportunity to provide feedback a [PDFBox 2.0.0-RC1 Release Candidate](http://pdfbox.apache.org/download.cgi) is now available. The [Migration Guide](http://pdfbox.apache.org/2.0/migration.html) shall give users coming from PDFBox 1.8 or earlier an overview about things to look at when switching over. More details to come.
-
-## Getting Help ##
-
-To get help on using PDFBox, please [Subscribe to the Users Mailing List](mailto:users-subscribe@pdfbox.apache.org) and post your
-questions there. We're happy to help.
-
-The project is a volunteer effort and we're always looking for interested people to help
-us improve PDFBox. There are a multitude of ways that you can help us depending on your
-skills. Subscribe to the [Mailing Lists](/mailinglists.html) and find out how you can help.
-
-<h2 id="features">Features</h2>
-
-<div class="row">
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Extract Text</h4></header>
- <p>Extract Unicode text from PDF files.</p>
- </div>
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Split & Merge</h4></header>
- <p>Split a single PDF into many files or merge multiple PDF files.</p>
- </div>
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Fill Forms</h4></header>
- <p>Extract data from PDF forms or fill a PDF form.</p>
- </div>
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Preflight</h4></header>
- <p>Validate PDF files against the PDF/A-1b standard.</p>
- </div>
-</div>
-
-<div class="row">
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Print</h4></header>
- <p>Print a PDF file using the standard Java printing API.</p>
- </div>
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Save as Image</h4></header>
- <p>Save PDFs as image files, such as PNG or JPEG.</p>
- </div>
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Create PDFs</h4></header>
- <p>Create a PDF from scratch, with embedded fonts and images.</p>
- </div>
- <div class="col-md-3">
- <header><h4><span class="oi oi-box"></span>Signing</h4></header>
- <p>Digitally sign PDF files.</p>
- </div>
-</div>
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/mailinglists.md
----------------------------------------------------------------------
diff --git a/content/mailinglists.md b/content/mailinglists.md
deleted file mode 100644
index fa669e6..0000000
--- a/content/mailinglists.md
+++ /dev/null
@@ -1,45 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Mailing Lists
----
-
-# Mailing Lists
-
-Mailing Lists are the primary communication channels for all projects at
-The Apache Software Foundation. Therefore, this applies to Apache PDFBox, too.
-
-**Please read the [public forum archive policy](http://www.apache.org/foundation/public-archives.html) carefully before subscribing to one of our list.**
-
-If you have any questions about or problems with Apache PDFBox, you can get them addressed
-on the **Users Mailing List**.
-
-If you like to participate in the development of Apache PDFBox,
-the **Developers Mailing List** is the place to be.
-
-If you like to keep track of what's being changed inside the project, you can subscribe
-to the **Commit Mailing List**.
-
-<p class="alert alert-info">Please use the Users Mailing List if you are unsure which list to use</p>
-
-| Name | Address | Subscribe | Unsubscribe | Help | Archive | MarkMail |
-| --- | --- | --- | ---| ---| --- | --- |
-| Users | users@pdfbox.apache.org | [Subscribe](mailto:users-subscribe@pdfbox.apache.org) | [Unsubscribe](mailto:users-unsubscribe@pdfbox.apache.org) | [Help](mailto:users-help@pdfbox.apache.org) | [Archive](http://mail-archives.apache.org/mod_mbox/pdfbox-users/) | [MarkMail](http://pdfbox-users.markmail.org/) |
-| Developers | dev@pdfbox.apache.org | [Subscribe](mailto:dev-subscribe@pdfbox.apache.org) | [Unsubscribe](mailto:dev-unsubscribe@pdfbox.apache.org) | [Help](mailto:dev-help@pdfbox.apache.org) | [Archive](http://mail-archives.apache.org/mod_mbox/pdfbox-dev/) | [MarkMail](http://pdfbox-dev.markmail.org/) |
-| Commits List | commits@pdfbox.apache.org | [Subscribe](mailto:commits-subscribe@pdfbox.apache.org) | [Unsubscribe](mailto:commits-unsubscribe@pdfbox.apache.org) | [Help](mailto:commits-help@pdfbox.apache.org) | [Archive](http://mail-archives.apache.org/mod_mbox/pdfbox-commits/) | [MarkMail](http://pdfbox-commits.markmail.org/) |
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/references.md
----------------------------------------------------------------------
diff --git a/content/references.md b/content/references.md
deleted file mode 100644
index b2ff0ce..0000000
--- a/content/references.md
+++ /dev/null
@@ -1,65 +0,0 @@
----
-license: 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.
-
-layout: default
-title: External Links
----
-
-# External Links
-
-This page lists projects that utilize PDFBox and articles that have been written about PDFBox.
-Please file an [improvement issue](https://issues.apache.org/jira/browse/PDFBOX) to get new projects or articles added to this page, or to update the information on existing links.
-
-## Projects
-
-| Project Name | License | Project Description |
-| --- | --- | --- |
-| [Alfresco](http://www.alfresco.org/) | LGPL - commercial services/support/training is available | Alfresco is an open source, open-standards content repository built by the most experienced content management team that includes the co-founder of Documentum.|
-| [Apache Nutch](http://nutch.apache.org/) | Apache License V2.0 | Apache Nutch is open source web-search software. It builds on Apache Lucene, adding web-specifics, such as a crawler, a link-graph database, parsers for HTML and other document formats, etc.|
-| [Apache Tika](http://tika.apache.org/) | Apache License V2.0 | Apache Tika is a toolkit for detecting and extracting metadata and structured text content from various documents using existing parser libraries.|
-| [Centric CRM](http://www.centriccrm.com/) | Free To Use But Restricted/Commercial | The Most Advanced Open Source CRM Software.|
-| [Canoo Webtest](http://webtest.canoo.com/webtest/manual/WebTestHome.html) | BSD Like | Free OpenSource tool for XP-style acceptance testing of Java-based Web applications.|
-| [contineo](http://webtest.canoo.com/webtest/manual/WebTestHome.html) | GPL | Contineo is a web based document management system.|
-| [ECM REWOO Scope](http://www.rewoo.de/) | Commercial | REWOO Scope is an Enterprise Content Management (ECM) software to organize, structure and consolidate enterprise data. Apache PDFBox is an integral part to read and index PDF documents.|
-| [Jahia](http://www.jahia.org/) | collaborative source license | The Jahia product is currently the most powerful, ready-to-use and affordable integrated midrange Java Content Management and Corporate Portal Server.|
-| [jLibrary](http://jlibrary.sourceforge.net/) | BSD | jLibrary is a Document Management System, oriented for personal and enterprise use.|
-| [Jomic](http://jomic.sourceforge.net/) | GPL | Jomic is a viewer for comic book archives.|
-| [JpdfUnit](http://jpdfunit.sourceforge.net/) | Apache License V2.0 | pdfUnit is a framework for testing a generated pdf document with the JUnit Test Framework.|
-| [Liferay Portal](http://www.liferay.com/) | MIT | Liferay Portal is an open source portal that helps organizations collaborate more efficiently by providing a consolidated view of disparate applications.|
-| [LIUS](http://www.bibl.ulaval.ca/lius/index.en.html) | GPL | LIUS is an indexing Java framework based on the Jakarta Lucene project. The LIUS framework adds to Lucene many files format indexing fonctionalities as: Ms World, Ms Excel, Ms PowerPoint, RTF, PDF, XML, HTML, TXT, Open Office suite and JavaBeans.|
-| [LuceGene](http://gmod.org/wiki/LuceGene) | Artistic License | LuceGene is an open-source document/object search and retrieval system specially tuned for bioinformatics text databases and documents.|
-| [Lutece](http://www.lutece.paris.fr/) | BSD-like | Lutece is a portal engine which allows you to easily create your websites or intranets based upon HTML,XML content.|
-| [MMBase Lucene Module](http://mmapps.sourceforge.net/lucenemodule/) | MPL | Lucenemodule is a plugin (module) for the MMBase content management system that enables Lucene full text search through it's content, and thanks to PDFBox also PDF content.|
-| [OpenCms](http://www.opencms.org/) | Custom | OpenCms is a professional level Open Source Website Content Management System.|
-| [OpenSearchServer](http://www.open-search-server.com/) | GPLv3 | An open source search engine and crawler based on best open source technologies. It is a modern search engine and a suite of high-powered full text search algorithms.|
-| [Orbeon PresentationServer](http://forge.objectweb.org/projects/ops) | LGPL | Orbeon PresentationServer (OPS) is an open source J2EE-based platform for XML-centric web applications. OPS is built around XHTML, XForms, XSLT, XML pipelines, and Web Services, which makes it ideal for applications that capture, process and present XML data. Commercial consulting/training/support is available through orbeon.|
-| [PDFcat](http://pdfcat.sourceforge.net/) | LGPL | PDFcat is multi-platform catalog manager that provides searching capability over documents among virtual catalogs.|
-| [SearchBlox](http://www.searchblox.com/) | Commercial | SearchBlox is a high-performance corporate search software designed for the Java 2 Enterprise Edition (J2EE) platform.|
-| [SimplexRepaginator](http://www.simplexrepaginator.com/) | Apache License V2.0 | Simplex Repaginator converts simplex-scanned PDFs into properly duplex-paginated PDFs and vice versa. |
-| [Terrier](http://ir.dcs.gla.ac.uk/terrier/) | MPL | Terrier is software for the rapid development of Web, intranet and desktop search engines.|
-| [Triboni GinkGO](http://www.triboni.com/) | Commercial | Triboni GinkGO is a highly scalable J2EE services platform that is based on a simple XML business object defintion and scripting language. Toghether with XSLT content centric web applications can be configured in a very short time.|
-| [Zilverline](http://www.zilverline.org/) | Collaborative Source License | Zilverline is a search engine that offers web access to your personal or intranet content.|
-
-## Articles/Books
-
-| Article Name | Article Abstract|
-| --- | --- |
-| Build an eDoc Reader for your iPod <br/> [Part 1 - User Interface](http://www.oreillynet.com/pub/a/mac/2004/12/14/ipod_reader.html) <br/> [Part 2 - Document Reading Engine](http://www.oreillynet.com/pub/a/mac/2004/12/17/ipod_reader.html) <br/> [Part 3 - *Integration with PDFBox*](http://www.oreillynet.com/pub/a/mac/2005/01/07/ipod_reader.html) | A three part article that discusses the implementation of the PodReader application. PodReader is Cocoa application written in Objective-C and article discusses how to use the Cocoa-Java bridge to integrate with the Java version of PDFBox.|
-| [Lucene In Action](http://www.manning.com/hatcher2/) | A book that discusses integrating with the lucene search engine. One chapter discusses how to index various file formats and highlights PDFBox for indexing PDF documents.|
-| [Java Developers Journal - March 2005](http://java.sys-con.com/node/48543) | An article written by the lead developer of PDFBox discussing text extraction and AcroForm integration using PDFBox functionality.|
-| [Refactoring trends across N versions of N Java open source systems: an empirical study](http://www.dcs.bbk.ac.uk/research/techreps/2005/bbkcs-05-02.pdf) | This article describes an empirical study of multiple versions of a range of open source Java systems in an attempt to understand whether refactoring occur and, if so, which types of refactoring were most (and least) common. PDFBox is used as a case study. |
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/siteupdate.md
----------------------------------------------------------------------
diff --git a/content/siteupdate.md b/content/siteupdate.md
deleted file mode 100644
index 0fd2099..0000000
--- a/content/siteupdate.md
+++ /dev/null
@@ -1,101 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Updating the Website
----
-
-# Updating the PDFBox Website
-
-The content for the PDFBox website is kept in a [git repository](https://git-wip-us.apache.org/repos/asf/pdfbox-docs) which is also mirrored to [GitHub](https://github.com/apache/pdfbox-docs). The site is split into two parts: the static content and the Javadoc for the PDFBox API. Both parts are build independently as further described below.
-
-## Project info
-The site is based on [Jekyll](http://jekyllrb.com). So you have to be familiar with the [Markdown](http://daringfireball.net/projects/markdown/syntax) template language and have Jekyll (ver. 2+) installed to contribute to the project.
-
-## Contribute
-If you would like to enhance the website content you can submit a patch. To do so please open a ticket at our [Issue Tracker](https://issues.apache.org/jira/browse/PDFBOX), use `Documentation` for the `Component` and add your patch to the ticket.
-
-## Development
-
-### Install Jekyll
-Follow the instructions available on the [Jekyll](http://jekyllrb.com) website.
-
-### Check out from the git repository
-Before you can edit the site, you need to check it out from the git repository:
-
-~~~
-git clone https://git-wip-us.apache.org/repos/asf/pdfbox-docs
-~~~
-
-### Local changes
-You can now do the changes and additions to the sources of the PDFBox website. To test these locally use
-
-~~~
-jekyll serve
-~~~
-
-which will compile the changes and run a local webserver at
-
-~~~
-http://localhost:4000
-~~~
-
-### Publish the website (for comitters only)
-After you have done the local changes follow these steps to publish the content:
-
-Add the following server configuration in your ~/.m2/settings.xml file
-
- <server>
- <id>pdfbox-site</id>
- <username>** USERNAME **</username>
- <password>** PASSWORD **</password>
- </server>
-
-`pdfbox-site` is referenced from the PDFBox pom.xml file.
-
-<p class="alert alert-warning">The password should be encrypted following <a href="https://maven.apache.org/guides/mini/guide-encryption.html">Maven Password Encryption</a></p>
-
-Ensure that the new website content is build locally
-
-~~~~
-jekyll build
-~~~
-
-This will read the sources and generate the new content in the ``./staging`` directory.
-
-Upload the new content to the production site
-
-~~~
-mvn scm-publish:publish-scm
-~~~
-
-This will checkout the current content into the ``./target``directory, apply the changes from ``./staging`` and publish
-the changes to the PDFBox production website.
-
-### Update the JavaDocs for PDFBOX 2.x
-To publish the javadocs follow these steps:
-
-Run
-
- $ mvn clean javadoc:aggregate scm-publish:publish-scm
-
-from the `<SVN_ROOT>/../pdfbox` directory.
-
-It uses the same `pdfbox-site` settings from above to connect to the repository.
-
-<p class="alert alert-info">As <code>mvn clean</code> will delete the javadoc files download from the Apache CMS it's advised to configure <code>${svn.scmJavadocCheckoutDirectory}</code> to a local directory not below <code>./target</code>.</p>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/support.md
----------------------------------------------------------------------
diff --git a/content/support.md b/content/support.md
deleted file mode 100644
index d45b962..0000000
--- a/content/support.md
+++ /dev/null
@@ -1,70 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Support
----
-
-# Support
-
-## Questions about How to use PDFBox
-
-If you have questions about how to use PDFBox do ask on the [Users Mailing List](/mailinglists.html "Subscribe to Mailing List"). This will get you help from the entire community.
-
-The PDFBox examples and the test code in the sources will also provide additional information.
-
-And there are additonal resources available on sites such as [Stack Overflow](http://stackoverflow.com/search?q=pdfbox "Stack Overflow").
-
-
-## Filing a bug report or enhancement request
-
-<p class="alert alert-info">Please refrain from immediately opening a ticket in the issue tracker unless
-you are really certain it's a problem in the PDFBox software. Try using the Mailing Lists
-before.</p>
-
-If you are sure you have found a bug the please report the problem in our
-[Issue Tracker](https://issues.apache.org/jira/browse/PDFBOX).
-
-**Before you submit a bug there are several things you can try first**
-
- - for issues with text extraction try if Adobe Reader can extract the text
- - try the latest SNAPSHOT to see if it's fixed in the pre-release
- - search the mailing list to see if has been discussed before
- - check the issue tracker to see if the issue has already been reported
-
-**To help us resolving a bug quicker**
-
- - attach the PDF that makes trouble by using "More", "Attach files" in the issue tracker
- - if your file is too large, upload it to a sharehoster, or use the PDFSplit application to isolate the troublesome page
- - mention the PDFBox version you are using.
- - attach the shortest possible code that reproduces the problem. Insert java code between {code}...{code}. Or try to reproduce the problem with the command line applications.
- - mention what you were doing, what was the expected behaviour, and what happened instead
- - provide a stack trace of an exception if there is one
- - try using the non-sequential parser (loadNonSeq() instead of load(), and "-nonSeq" with the command line applications)
- - search JIRA if your problem has been mentioned before.
- - Be patient: all the people here are unpaid volunteers who work for you in their free time
-
-**And please DON'T**
-
- - upload files to a hoster that requires registration to read the file.
- - create an issue in JIRA and then go on vacation so you won't repond to our questions / suggestions.
- - ask "how to" questions in JIRA. Ask such questions on the mailing lists, on stackoverflow.com, and look at the sample and the test code in the sources.
- - attach PDF files with confidential and/or personal data (name, DoB, bank data, health data, SSN) without getting permission from the client and/or the people mentioned on the PDF
- - create issues about obsolete PDFBox versions
-
-<p class="alert alert-info">We can sometimes solve problems without having the PDF, but it is difficult.</p>
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/team.md
----------------------------------------------------------------------
diff --git a/content/team.md b/content/team.md
deleted file mode 100644
index 3a1d1ad..0000000
--- a/content/team.md
+++ /dev/null
@@ -1,62 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Project Team
----
-
-# Project Team
-
-A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers,
-submitting patches and suggestions.
-
-The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base.
-Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded.
-Get involved today. All contributions to the project are greatly appreciated.
-
-## Members
-
-The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.
-
-| Id | Name | Roles |
-| ------------- | --------------------- | ---------- |
-| adam | Adam Nichols | PMC Member |
-| lehmi | Andreas Lehmkühler | PMC Chair |
-| blitchfield | Ben Litchfield | PMC Member |
-| carrier | Brian Carrier | PMC Member |
-| danielwilson | Daniel Wilson | PMC Member |
-| gbailleul | Guillaume Bailleul | PMC Member |
-| jeremias | Jeremias Maerki | PMC Member |
-| koch | Johannes Koch | PMC Member |
-| jahewson | John Hewson | PMC Member |
-| kjackson | Kevin Jackson | PMC Member |
-| msahyoun | Maruan Sahyoun | PMC Member |
-| pkoch | Phillipp Koch | PMC Member |
-| tchojecki | Thomas Chojecki | PMC Member |
-| tboehme | Timo Boehme | PMC Member |
-| tilman | Tilman Hausherr | PMC Member |
-| vfed | Villu Ruusmann | PMC Member |
-
-## Emeritus members
-
-The following is a list of former developers going emeritus from the PDFBox PMC.
-
-| Id | Name | Roles |
-| ------------- | ------------- | ---------- |
-| leleueri | Eric Leleu | |
-| jukka | Jukka Zitting | |
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
deleted file mode 100644
index c2b6de4..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
- <!--
-! 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.
-!-->
-
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>pdfbox-site</artifactId>
- <version>2.0.0</version>
-
- <name>Apache PDFBox Website</name>
- <description>
- The Apache PDFBox library is an open source Java tool for working with PDF documents.
- </description>
- <inceptionYear>2002</inceptionYear>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <svn.scmContentUrl>https://svn.apache.org/repos/infra/websites/production/pdfbox/content</svn.scmContentUrl>
- </properties>
-
- <build>
- <!--
- Publish to Apache CMS
- After completion log in to https://cms.apache.org/pdfbox/publish
- and click on the Submit button to commit to production.
- -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-publish-plugin</artifactId>
- <version>1.1</version>
- <configuration>
- <content>staging</content>
- <pubScmUrl>scm:svn:${svn.scmContentUrl}</pubScmUrl>
- <tryUpdate>true</tryUpdate>
- <checkoutDirectory>${svn.scmCheckoutDirectory}</checkoutDirectory>
- <ignorePathsToDelete>
- <ignorePathToDelete>docs**</ignorePathToDelete>
- </ignorePathsToDelete>
- <serverId>pdfbox-site</serverId>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- </project>
\ No newline at end of file
[3/3] pdfbox-docs git commit: Site checkin for project Apache PDFBox
Website
Posted by ms...@apache.org.
Site checkin for project Apache PDFBox Website
Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/3f67f8b8
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/3f67f8b8
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/3f67f8b8
Branch: refs/heads/asf-site
Commit: 3f67f8b81c6074a6fe925a8101663a0d5cc0e5f4
Parents: 30cc3b0
Author: Maruan Sahyoun <sa...@fileaffairs.de>
Authored: Mon Nov 16 19:56:14 2015 +0100
Committer: Maruan Sahyoun <sa...@fileaffairs.de>
Committed: Mon Nov 16 19:56:14 2015 +0100
----------------------------------------------------------------------
LICENSE | 202 ---------------
README.md | 56 -----
_config.yml | 24 --
content/1.8/architecture.md | 121 ---------
content/1.8/commandline.md | 249 -------------------
content/1.8/cookbook/documentcreation.md | 74 ------
content/1.8/cookbook/encryption.md | 55 ----
content/1.8/cookbook/fill-form-field.md | 69 -----
content/1.8/cookbook/pdfacreation.md | 77 ------
content/1.8/cookbook/pdfavalidation.md | 102 --------
content/1.8/cookbook/rendering.md | 64 -----
content/1.8/cookbook/textextraction.md | 118 ---------
content/1.8/cookbook/workingwithattachments.md | 71 ------
content/1.8/cookbook/workingwithfonts.md | 146 -----------
content/1.8/cookbook/workingwithmetadata.md | 83 -------
content/1.8/dependencies.md | 113 ---------
content/1.8/faq.md | 144 -----------
content/2.0/commandline.md | 231 -----------------
content/2.0/cookbook/encryption.md | 53 ----
content/2.0/dependencies.md | 73 ------
content/2.0/examples.md | 26 --
content/2.0/getting-started.md | 50 ----
content/2.0/migration.md | 191 --------------
content/_layouts/default.html | 199 ---------------
content/assets/open-iconic/.gitignore | 1 -
.../font/css/open-iconic-bootstrap.css | 2 +-
.../font/css/open-iconic-foundation.css | 1 -
.../assets/open-iconic/font/css/open-iconic.css | 2 +-
content/bootstrap/css/bootstrap-responsive.css | 2 +-
.../bootstrap/css/bootstrap-responsive.min.css | 2 +-
content/bootstrap/css/bootstrap-theme.css | 2 +-
content/bootstrap/css/bootstrap.css | 2 +-
content/bootstrap/js/bootstrap.js | 2 +-
content/building.md | 87 -------
content/codingconventions.md | 145 -----------
content/css/pygments-default.css | 2 +-
content/css/pygments-friendly.css | 2 +-
content/css/site.css | 2 +-
content/download.html | 219 ++++++++++++++--
content/errors/403.md | 15 --
content/errors/404.md | 15 --
content/ideas.md | 105 --------
content/index.md | 82 ------
content/mailinglists.md | 45 ----
content/references.md | 65 -----
content/siteupdate.md | 101 --------
content/support.md | 70 ------
content/team.md | 62 -----
pom.xml | 64 -----
49 files changed, 205 insertions(+), 3483 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 5af8995..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In
- legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
deleted file mode 100644
index 911bec6..0000000
--- a/README.md
+++ /dev/null
@@ -1,56 +0,0 @@
----
-license: 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.
----
-Apache PDFBox Documentation
-===========================
-
-Documentation Format
---------------------
-
-All of the [Apache PDFBox](http://pdfbox.apache.org/) documentation is written with [markdown](http://daringfireball.net/projects/markdown/syntax).
-
-Contributing
-------------
-
-### Contribution Guidlines
-
-As a minimum requirement all contributions shall have the [Apache License](http://www.apache.org/licenses/LICENSE-2.0.html#apply) header attached.
-
-For larger contributions or if you are looking to contribute regulary we ask you to sign an [ICLA](http://www.apache.org/licenses/#clas).
-
-### Report or Fix an Issue
-
-We use [Apache JIRA](https://issues.apache.org/jira/browse/PDFBOX) as our tracking tool.
-
-### Using Git Pull Requests
-
-Pull requests are welcome!
-
-We appreciate the use of topic branches.
-
- git checkout -b <JIRA issue number>
-
- # update enhance the documentation
-
- git commit -m "<JIRA issue number> This is my commit message."
-
- git push origin <JIRA issue number>
-
- # issue a pull request from your branch <JIRA issue number>
-
- # wait for a committer to commit your patch
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
deleted file mode 100644
index 6fd80fc..0000000
--- a/_config.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-# Site settings
-title: Apache PDFBox | A Java PDF Library
-description: > # this means to ignore newlines until "baseurl:"
- The Apache PDFBox™ library is an open source Java tool for working with PDF documents.
- This project allows creation of new PDF documents, manipulation of existing documents
- and the ability to extract content from documents. Apache PDFBox also includes several
- command line utilities. Apache PDFBox is published under the Apache License v2.0.
-baseurl: ""
-url: "http://pdfbox.apache.org/"
-
-
-# Build settings
-source: ./content
-destination: ./staging
-layouts_dir: _layouts
-
-markdown_ext: "markdown,mkdown,mkdn,mkd,md,mdtext"
-
-encoding: UTF-8
-markdown: redcarpet
-
-redcarpet:
- extensions: ["no_intra_emphasis", "tables", "autolink", "strikethrough", "with_toc_data"]
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/architecture.md
----------------------------------------------------------------------
diff --git a/content/1.8/architecture.md b/content/1.8/architecture.md
deleted file mode 100644
index c8bb0fd..0000000
--- a/content/1.8/architecture.md
+++ /dev/null
@@ -1,121 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Architecture
----
-
-# Architecture
-
-In order to get the most out of PDFBox it is neccessary to understand how a PDF document
-is organized as PDFBox was architected around the concepts layed out in the
-ISO-32000 (PDF) Specification
-
-- [ISO Site](http://www.iso.org/iso/catalogue_detail.htm?csnumber=51502)
-- [Adobe Version](http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf)
-
-## Quick Introduction to the PDF format
-
-A PDF file is made up of a sequence of bytes. These bytes, grouped into tokens,
-make up the basic objects upon which higher level objects and structures are built [see ISO-32000 7.3].
-
-<p class="alert alert-info">PDFBox makes these basic objects available in the
-*org.apache.pdfbox.cos* package (The COS Model).
-</p>
-
-The organization of these objects, how to they are read and how to write them is defined in the file structure of the
-PDF [see ISO-32000 7.5]. In addition a file can be encrpyted to protect the document's content [see ISO-32000 7.5].
-
-<p class="alert alert-info">PDFBox handles the reading in the *org.apache.pdfbox.pdfparser* package.
-Writing of PDF files is handled in the *org.apache.pdfbox.pdfwriter* package.
-</p>
-
-Within the file structure basic objects are used to create a document structure building higher level objects such
-as pages, bookmarks, annotations [see ISO-32000 7.7].
-
-<p class="alert alert-info">PDFBox makes these higher level objects available through the
-*org.apache.pdfbox.pdfmodel* package (The PD Model).
-</p>
-
-In addition there is a COS representation available for the PD model if there is a need to
-inspect the underlying structure or to handle special cases where the higher level PD model
-doesn't provide the functionality needed.
-
-<p class="alert alert-info">It's always the COS model which is represented in the PDF file.</p>
-
-## The COS Model
-
-As outlined above the basic PDF objects are represented in PDFBox in the org.apache.pdfbox.cos package.
-
-| PDF Type | Description | Example | PDFBox class | ISO 32000 |
-| --- | --- | --- | --- | --- |
-| Boolean | Standard True/False values | true | org.apache.pdfbox.cos.COSBoolean | 7.3.2 |
-| Number | Integer and floating point numbers | 1 2.3 | org.apache.pdfbox.cos.COSInteger<br/>org.apache.pdfbox.cos.COSFloat | 7.3.3 |
-| String | A sequence of characters | (This is a string) | org.apache.pdfbox.cos.COSString | 7.3.4 |
-| Name | A predefined value in a PDF document, typically used as a key in a dictionary | /Type | org.apache.pdfbox.cos.COSName | 7.3.5 |
-| Array | Arrays are one-dimensional lists of objects accessed by a numeric index. Within an array each basic object is permitted as an entry. | [549 3.14 false (Ralph) /SomeName] | org.apache.pdfbox.cos.COSArray | 7.3.6 |
-| Dictionary | A map of name value pairs | <<<br/>/Type /XObject<br/>/Name (Name)</br>/Size 1</br>>> | org.apache.pdfbox.cos.COSDictionary | 7.3.7 |
-| Stream | A stream of data, typically compressed. This is used for page contents, images and embedded font streams. | 12 0 obj << /Type /XObject >> stream 030004040404040404 endstream | org.apache.pdfbox.cos.COSStream | 7.3.8 |
-| Object | 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. | 12 0 obj << /Type /XObject >> endobj | org.apache.pdfbox.cos.COSObject | |
-
-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:
-
-```text
-<<
- /Type /Page
- /MediaBox [0 0 612 915]
- /Contents 56 0 R
->>
-```
-
-The information within the dictionary can be accessed using the COS model
-
-```java
-COSDictionary page = ...;
-COSArray mediaBox = (COSArray)page.getDictionaryObject( "MediaBox" );
-System.out.println( "Width:" + mediaBox.get( 3 ) );
-```
-
-As can be seen from that little example the COS model provides a low level API to access
-information within the PDF. In order to use the COS model successfully a good knowledge of
-the PDF specification is needed.
-
-## The PD Model
-
-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 in the dictionary.
-A PD Model class is available for each of these so that strongly typed 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.
-
-```java
-PDPage page = ...;
-PDRectangle mediaBox = page.getMediaBox();
-System.out.println( "Width:" + mediaBox.getWidth() );
-```
-
-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 "LastModified", 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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/commandline.md
----------------------------------------------------------------------
diff --git a/content/1.8/commandline.md b/content/1.8/commandline.md
deleted file mode 100644
index 18ce20b..0000000
--- a/content/1.8/commandline.md
+++ /dev/null
@@ -1,249 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Command Line Tools
----
-
-# Command Line Tools
-
-PDFBox comes with a series of command line utilities. They are available as standard Java applications.
-
-See the Dependencies page for instructions on how to set your classpath in order to run
-PDFBox tools as Java applications.
-
-**Table of Contents**
-[Decrypt](#decrypt)
-[Encrypt](#encrypt)
-[ExtractText](#extracttext)
-[OverlayPDF](#overlaypdf)
-[PrintPDF](#printpdf)
-[PDFDebugger](#pdfdebugger)
-[PDFReader](#pdfreader)
-[PDFMerger](#pdfmerger)
-[PDFSplit](#pdfsplit)
-[PDFToImage](#pdftoimage)
-[TextToPDF](#texttopdf)
-[WriteDecodedDoc](#writedecodeddoc)
-
-## Decrypt ##
-
-This application will decrypt a PDF document.
-
-NOTE: You must have the owner password to decrypt the document!
-
-usage: ``java -jar pdfbox-app-x.y.z.jar Decrypt [OPTIONS] <inputfile> [outputfile]``
-
-| Command Line Parameter | Description |
-| ------------------------- | ----------- |
-| -password | Password to the PDF or certificate in keystore. |
-| -keyStore | Path to keystore that holds certificate to decrypt the document. This is only required if the document is encrypted with a certificate, otherwise only the password is required. |
-| -alias | The alias to the certificate in the keystore. |
-| inputfile | The PDF file to decrypt. |
-| outputfile | The file to save the decrypted document to. If left blank then it will be the same as the input file. |
-
-## Encrypt ##
-
-This application will encrypt a PDF document.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar Encrypt [OPTIONS] <password> <inputfile>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -O | | The owner password to the PDF, ignored if -certFile is specified. |
-| -U | | The user password to the PDF, ignored if -certFile is specified. |
-| -certFile | | Path to X.509 cert file. |
-| -canAssemble | true | Set the assemble permission. |
-| -canExtractContent | true | Set the extraction permission. |
-| -canExtractForAccessibility | true | Set the extraction permission. |
-| -canFillInForm | true | Set the fill in form permission. |
-| -canModify | true | Set the modify permission. |
-| -canModifyAnnotations | true | Set the modify annots permission. |
-| -canPrint | true | Set the print permission. |
-| -canPrintDegraded | true | Set the print degraded permission. |
-| -keyLength | 40 or 128 | The number of bits for the encryption key. For 128 bits [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html) must be installed.|
-| inputfile | |The PDF file to encrypt. |
-| outputfile | |The file to save the encrypted document to. If left blank then it will be the same as the input file. |
-
-## ExtractText ##
-
-This application will extract all text from the given PDF document.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar ExtractText [OPTIONS] <inputfile> [Text file] ``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -encoding | default encoding | The encoding type of the text file, e.g. ISO-8859-1, UTF-8, UTF-16BE. |
-| -console | false | Send text to console instead of file. |
-| -html | false | Output in HTML format instead of raw text. |
-| -sort | false | Sort the text before writing. |
-| -ignoreBeads | false | Disables the separation by beads. |
-| -force | false | Enables pdfbox to ignore corrupt objects. |
-| -debug | false | Enables debug output about the time consumption of every stage. |
-| -startPage | 1 | The first page to extract, one based. |
-| -endPage | Integer.MAX_INT | The last page to extract, one based. |
-| -nonSeq | false | Use the new non sequential parser. |
-
-## OverlayPDF ##
-
-This application will overlay one document with the content of another document
-
-usage: ``java -jar pdfbox-app-x.y.z.jar OverlayPDF <input.pdf> [OPTIONS] <output.pdf>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| inputfile | | The PDF file to be overlayed. |
-| defaultOverlay.pdf | | Default overlay file. |
-| -odd oddPageOverlay.pdf| | Overlay file used for odd pages. |
-| -even evenPageOverlay.pdf| | Overlay file used for even pages. |
-| -first firstPageOverlay.pdf| | Overlay file used for the first page. |
-| -last lastPageOverlay.pdf| | Overlay file used for the last pages. |
-| -page pageNumber specificPageOverlay.pdf| | overlay file used for the given page number, may occur more than once. |
-| -position | background | Where to put the overlay, foreground or background. |
-| -nonSeq | false | Use the new non sequential parser. |
-| outputfile | | The resulting pdf file. |
-
-Examples:
-
-- OverlayPDF input.pdf overlay.pdf -nonSeq output.pdf
-- OverlayPDF input.pdf defaultOverlay.pdf -page 10 overlayForPage10.pdf -position foreground -nonSeq output.pdf
-- OverlayPDF input.pdf -odd oddOverlay.pdf -even evenOverlay.pdf -nonSeq output.pdf
-
-## PrintPDF ##
-
-This application will send a pdf document to the printer.
-
-<p class="alert alert-info">You must have the correct permissions to print the document!</p>
-
-usage: ``java -jar pdfbox-app-x.y.z.jar PrintPDF [OPTIONS] <inputfile>``
-
-| Command Line Parameter | Description |
-| --- | --- |
-| -password | The password to decrypt the PDF. |
-| -silentPrint | Print the PDF without prompting for a printer. |
-| inputfile | The PDF file to print. |
-
-## PDFDebugger ##
-
-This application will take an existing PDF document and allows to analyze and inspect the internal structure
-
-usage: ``java -jar pdfbox-app-x.y.z.jar PDFDebugger [inputfile] ``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -nonSeq | false | Use the new non sequential parser.
-| inputfile | | the name of an optional PDF file to open. |
-
-## PDFReader ##
-
-An application to read PDF documents. This will provide Acrobat Reader like functionality.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar PDFReader [PDF file]``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document.|
-| -nonSeq | false | Use the new non sequential parser.|
-| PDF file | | the name of an optional PDF file to open |
-
-## PDFMerger ##
-
-This application will take a list of pdf documents and merge them, saving the result in a new document.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar PDFMerger <Source PDF files (2 ..n)> <Target PDF file>``
-
-## PDFSplit ##
-
-This application will take an existing PDF document and split it into a number of other documents
-
-usage: ``java -jar pdfbox-app-x.y.z.jar PDFSplit [OPTIONS] <PDF file>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -split | | Number of pages of every splitted part of the pdf.|
-| -startPage | | The page to start at. |
-| -endPage | | The page to stop at. |
-| -nonSeq | false | Use the new non sequential parser.|
-
-Examples:
-
- - PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in pieces of 2 pages each except the last which will contain 1 page only.
- - PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf containing all pages of the source pdf starting at page 5
- - PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide a pdf containing all pages from 5 to 10 of the source pdf
- - PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages each
-
-## PDFToImage ##
-
-This application will create an image for every page in the PDF document.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar PDFToImage [OPTIONS] <PDF file>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document.|
-| -imageType | jpg | The image type to write to. Currently only jpg or png. |
-| -outputPrefix | Name of PDF document | The prefix to the image file. |
-| -startPage | 1 | The first page to convert, one based. |
-| -endPage | Integer.MAX_INT | The last page to convert, one based. |
-| -nonSeq | false | Use the new non sequential parser. |
-
-## TextToPDF ##
-
-This application will create a PDF document from a text file.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar TextToPDF [OPTIONS] <outputfile> <textfile>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -standardFont | Helvetica | The font to use for the text. Either this or -ttf should be specified but not both. |
-| -ttf | | The TTF font to use for the text. Either this or -standardFont should be specified but not both. |
-| -fontSize | 10 | The size of the font to use. |
-
-The following font names can be used for the parameter ``standardFont``:
-
- - Courier
- - Courier-Bold
- - Courier-Oblique
- - Courier-BoldOblique
- - Helvetica
- - Helvetica-Bold
- - Helvetica-Oblique
- - Helvetica-BoldOblique
- - Symbol
- - Times-Bold
- - Times-Roman
- - Times-Italic
- - Times-BoldItalic
- - ZapfDingbats
-
-## WriteDecodedDoc ##
-
-An application to decompress PDF documents.
-
-usage: ``java -jar pdfbox-app-x.y.z.jar WriteDecodedDoc <input-file> <output-file>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -nonSeq | false | Use the new non sequential parser. |
-| <input-file> | | The PDF file to decompress |
-| <output-file> | | The destination PDF file |
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/documentcreation.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/documentcreation.md b/content/1.8/cookbook/documentcreation.md
deleted file mode 100644
index 825dac0..0000000
--- a/content/1.8/cookbook/documentcreation.md
+++ /dev/null
@@ -1,74 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Document Creation
----
-
-# Document Creation
-
-## Create a blank PDF
-
-This small sample shows how to create a new PDF document using PDFBox.
-
-~~~java
-// Create a new empty document
-PDDocument document = new PDDocument();
-
-// Create a new blank page and add it to the document
-PDPage blankPage = new PDPage();
-document.addPage( blankPage );
-
-// Save the newly created document
-document.save("BlankPage.pdf");
-
-// finally make sure that the document is properly
-// closed.
-document.close();
-~~~
-
-## Hello World using a PDF base font
-
-This small sample shows how to create a new document and print the text "Hello World" using one of the PDF base fonts.
-
-~~~java
-// Create a document and add a page to it
-PDDocument document = new PDDocument();
-PDPage page = new PDPage();
-document.addPage( page );
-
-// Create a new font object selecting one of the PDF base fonts
-PDFont font = PDType1Font.HELVETICA_BOLD;
-
-// Start a new content stream which will "hold" the to be created content
-PDPageContentStream contentStream = new PDPageContentStream(document, page);
-
-// Define a text content stream using the selected font, moving the cursor and drawing the text "Hello World"
-contentStream.beginText();
-contentStream.setFont( font, 12 );
-contentStream.moveTextPositionByAmount( 100, 700 );
-contentStream.drawString( "Hello World" );
-contentStream.endText();
-
-// Make sure that the content stream is closed:
-contentStream.close();
-
-// Save the results and ensure that the document is properly closed:
-document.save( "Hello World.pdf");
-document.close();
-~~~
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/encryption.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/encryption.md b/content/1.8/cookbook/encryption.md
deleted file mode 100644
index 15c107b..0000000
--- a/content/1.8/cookbook/encryption.md
+++ /dev/null
@@ -1,55 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Encrypting a file
----
-
-Encrypting a file
-=================
-
-PDF encryption requires two passwords: the "user password" to open and view the file with restricted permissions, the "owner password" to access the file with all permission.
-
-
-Load and save encrypted
------------------------
-
-This small sample shows how to encrypt a file so that it can be viewed, but not printed..
-
-~~~java
-PDDocument doc = PDDocument.load("filename.pdf");
-
-// Define the length of the encryption key.
-// Possible values are 40 or 128 (256 will be available in PDFBox 2.0).
-int keyLength = 128;
-
-AccessPermission ap = new AccessPermission();
-
-// disable printing, everything else is allowed
-ap.setCanPrint(false);
-
-// owner password (to open the file with all permissions) is "12345"
-// user password (to open the file but with restricted permissions, is empty here)
-StandardProtectionPolicy spp = new StandardProtectionPolicy("12345", "", ap);
-spp.setEncryptionKeyLength(keyLength);
-spp.setPermissions(ap);
-doc.protect(spp);
-
-doc.save("filename-encrypted.pdf");
-doc.close();
-~~~
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/fill-form-field.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/fill-form-field.md b/content/1.8/cookbook/fill-form-field.md
deleted file mode 100644
index 79461b4..0000000
--- a/content/1.8/cookbook/fill-form-field.md
+++ /dev/null
@@ -1,69 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Fill a Form Field
----
-
-Fill a Form Field
-==================
-
-Form fields within a PDF are defined as part of the AcroForm entry within the PDF's document catalog.
-Form there individual fields can be accessed. Fields might be organized in a tree structure so it might
-be neccessary to walk through the tree to get an individual field.
-
-Load the PDF document.
-
- :::java
- // load the document
- PDDocument pdfDocument = PDDocument.loadNonSeq(new File(... ), null);
-
-Get the docoument catalog and the AcroForm which might be contained within.
-
- :::java
- // get the document catalog
- PDDocumentCatalog docCatalog = pdfDocument.getDocumentCatalog();
- PDAcroForm acroForm = docCatalog.getAcroForm();
-
-Retrieve an individual field and set its value.
-
- :::java
- // as there might not be an AcroForm entry a null check is necessary
- if (acroForm != null)
- {
- PDField field = (PDField) acroForm.getField( "fieldName" );
- field.setValue("new field value");
- }
-
-If a field is nested within the form tree a fully qualified name might be provided
-to access the field.
-
- :::java
- // as there might not be an AcroForm entry a null check is neccessary
- if (acroForm != null)
- {
- PDField field = (PDField) acroForm.getField( "fieldsParentName.fieldName" );
- field.setValue("new field value");
- }
-
-Save and close the filled out form.
-
- :::java
- doc.save(filledForm);
- doc.close();
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/pdfacreation.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/pdfacreation.md b/content/1.8/cookbook/pdfacreation.md
deleted file mode 100644
index dd2b93a..0000000
--- a/content/1.8/cookbook/pdfacreation.md
+++ /dev/null
@@ -1,77 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Create a valid PDF/A document
----
-
-# PDF/A Creation
-
-The Apache PDFBox API can be used to create a PDF/A File. PDF/A is a PDF file with some constraints to ensure its
-long time conservation. These constraints are described in ISO 19005.
-
-This small sample shows what should be added during creation of a PDF file to transform it in a valid PDF/A
-document. The current example creates a valid PDF/A-1b document.
-
-## Load all the fonts used in document
-
-The PDF/A specification enforces that the fonts used in the document are present in the PDF File. You
-have to load them. As an example:
-
-~~~java
-InputStream fontStream = CreatePDFA.class.getResourceAsStream("/org/apache/pdfbox/resources/ttf/ArialMT.ttf");
-PDFont font = PDTrueTypeFont.loadTTF(doc, fontStream);
-~~~
-## Including XMP metadata block
-
-It is imposed to have xmp metadata defined in the PDF. At least, the PDFA Schema (giving details on the version
-of PDF/A specification reached by the document) must be present. These lines create the xmp metadata for a
-PDF/A-1b document:
-
-~~~java
-XMPMetadata xmp = new XMPMetadata();
-XMPSchemaPDFAId pdfaid = new XMPSchemaPDFAId(xmp);
-xmp.addSchema(pdfaid);
-pdfaid.setConformance("B");
-pdfaid.setPart(1);
-pdfaid.setAbout("");
-metadata.importXMPMetadata(xmp);
-~~~
-
-## Including color profile
-
-It is mandatory to include the color profile used by the document. Different profiles can be used. This
-example takes one present in pdfbox:
-
-~~~java
-// create output intent
-InputStream colorProfile = CreatePDFA.class.getResourceAsStream("/org/apache/pdfbox/resources/pdfa/sRGB Color Space Profile.icm");
-PDOutputIntent oi = new PDOutputIntent(doc, colorProfile);
-oi.setInfo("sRGB IEC61966-2.1");
-oi.setOutputCondition("sRGB IEC61966-2.1");
-oi.setOutputConditionIdentifier("sRGB IEC61966-2.1");
-oi.setRegistryName("http://www.color.org");
-cat.addOutputIntent(oi);
-~~~~
-
-## Complete example
-
-The complete example can be found in pdfbox-example. The source file is
-
- src/main/java/org/apache/pdfbox/examples/pdfa/CreatePDFA.java
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/pdfavalidation.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/pdfavalidation.md b/content/1.8/cookbook/pdfavalidation.md
deleted file mode 100644
index 689fa53..0000000
--- a/content/1.8/cookbook/pdfavalidation.md
+++ /dev/null
@@ -1,102 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - PDF/A Validation
----
-
-# PDF/A Validation
-
-The Apache Preflight library is a Java tool that implements a parser compliant with the ISO-19005 specification (aka PDF/A-1).
-Check Compliance with PDF/A-1b
-
-This small sample shows how to check the compliance of a file with the PDF/A-1b specification.
-
-~~~java
-ValidationResult result = null;
-
-FileDataSource fd = new FileDataSource(args[0]);
-PreflightParser parser = new PreflightParser(fd);
-try
-{
-
- /* Parse the PDF file with PreflightParser that inherits from the NonSequentialParser.
- * Some additional controls are present to check a set of PDF/A requirements.
- * (Stream length consistency, EOL after some Keyword...)
- */
- parser.parse();
-
- /* Once the syntax validation is done,
- * the parser can provide a PreflightDocument
- * (that inherits from PDDocument)
- * This document process the end of PDF/A validation.
- */
- PreflightDocument document = parser.getPreflightDocument();
- document.validate();
-
- // Get validation result
- result = document.getResult();
- document.close();
-
-}
-catch (SyntaxValidationException e)
-{
- /* the parse method can throw a SyntaxValidationException
- * if the PDF file can't be parsed.
- * In this case, the exception contains an instance of ValidationResult
- */
- result = e.getResult();
-}
-
-// display validation result
-if (result.isValid())
-{
- System.out.println("The file " + args[0] + " is a valid PDF/A-1b file");
-}
-else
-{
- System.out.println("The file" + args[0] + " is not valid, error(s) :");
- for (ValidationError error : result.getErrorsList())
- {
- System.out.println(error.getErrorCode() + " : " + error.getDetails());
- }
-}
-~~~
-
-## Categories of Validation Error
-
-If a validation fails, the ValidationResult object contains all causes of the failure.
-In order to help in the failure understanding, all error codes have the following form X[.Y[.Z]] where :
-
- - 'X' is the category (ex : Font validation error...)
- - 'Y' represent a subsection of the category (ex : "Font with Glyph error")
- - 'Z' represent the cause of the error (ex : "Font with a missing Glyph")
-
-Category ('Y') and cause ('Z') may be missing according to the difficulty to identify the error detail.
-
-Here after, you can find all Categories (for detailed cause, see constants in the ``PreflightConstants`` interface) :
-
-| Category | Description |
-| -------- | ----------- |
-| 1[.y[.z]] | Syntax Error |
-| 2[.y[.z]] | Graphic Error |
-| 3[.y[.z]] | Font Error |
-| 4[.y[.z]] | Transparency Error |
-| 5[.y[.z]] | Annotation Error |
-| 6[.y[.z]] | Action Error |
-| 7[.y[.z]] | Metadata Error |
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/rendering.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/rendering.md b/content/1.8/cookbook/rendering.md
deleted file mode 100644
index f98addb..0000000
--- a/content/1.8/cookbook/rendering.md
+++ /dev/null
@@ -1,64 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Rendering
----
-
-Document Rendering
-==================
-
-Convert a document to images
-----------------------------
-
-This small sample shows how to render (convert to images) a PDF document using PDFBox.
-
- :::java
- String filename = "YOURFILENAMEHERE.pdf";
-
- // open the document
- PDDocument doc = PDDocument.loadNonSeq(new File(filename), null);
-
- boolean b;
- List<PDPage> pages = doc.getDocumentCatalog().getAllPages();
- for (int p = 0; p < pages.size(); ++p)
- {
- // RGB image with 300 dpi
- BufferedImage bim = pages.get(p).convertToImage(BufferedImage.TYPE_INT_RGB, 300);
-
- // save as PNG with default metadata
- b = ImageIO.write(bim, "png", new File("rgbpage" + (p+1) + ".png"));
- if (!b)
- {
- // error handling
- }
-
- // B/W image with 300 dpi
- bim = pages.get(p).convertToImage(BufferedImage.TYPE_BYTE_BINARY, 300);
-
- // save as TIF with dpi in the metadata
- // PDFBox will choose the best compression for you - here: CCITT G4
- // you need to add jai_imageio.jar to your classpath for this to work
- b = ImageIOUtil.writeImage(bim, "bwpage-" + (p+1) + ".tif", 300);
- if (!b)
- {
- // error handling
- }
- }
-
- doc.close();
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/textextraction.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/textextraction.md b/content/1.8/cookbook/textextraction.md
deleted file mode 100644
index c933503..0000000
--- a/content/1.8/cookbook/textextraction.md
+++ /dev/null
@@ -1,118 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Textextraction
----
-
-# Textextraction
-
-## Extracting Text
-
-See class:org.apache.pdfbox.util.PDFTextStripper
-See class:org.apache.pdfbox.searchengine.lucene.LucenePDFDocument
-See command line app:ExtractText
-
-One of the main features of PDFBox is its ability to quickly and accurately extract text
-from a variety of PDF documents. This functionality is encapsulated in the
-org.apache.pdfbox.util.PDFTextStripper and can be easily executed on the command line with
-org.apache.pdfbox.ExtractText.
-
-## Lucene Integration
-
-Lucene 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.
-
-~~~java
-Document luceneDocument = LucenePDFDocument.getDocument( ... );
-~~~
-
-Now that you hava a Lucene Document object, you can add it to the Lucene index just like
-you would if it had been created from a text or HTML file. The LucenePDFDocument automatically
-extracts a variety of metadata fields from the PDF to be added to the index, the javadoc
-shows details on those fields. This approach is very simple and should be sufficient for
-most users, if not then you can use some of the advanced text extraction techniques
-described in the next section.
-
-## Advanced Text Extraction
-
-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 PDFTextStripper class to meet some of
-these requirements.
-
-### Limiting The Extracted Text
-
-There are several ways that we can limit the text that is extracted during the extraction
-process. The simplest is to specify the range of pages that you want to be extracted.
-For example, to only extract text from the second and third pages of the PDF document
-you could do this:
-
-~~~java
-PDFTextStripper stripper = new PDFTextStripper();
-stripper.setStartPage( 2 );
-stripper.setEndPage( 3 );
-stripper.writeText( ... );
-~~~~
-
-NOTE: The startPage and endPage properties of PDFTextStripper are 1 based and inclusive.
-
-If you wanted to start on page 2 and extract to the end of the document then you would just
-set the startPage property. By default all pages in the pdf document are extracted.
-
-It is also possible to limit the extracted text to be between two bookmarks in the page.
-If you are not familiar with how to use bookmarks in PDFBox then you should review the
-Bookmarks page. Similar to the startPage/endPage properties, PDFTextStripper also has
-startBookmark/endBookmark properties. There are some caveats to be aware of when using this
-feature of the PDFTextStripper. Not all bookmarks point to a page in the current PDF document.
-
-The possible states of a bookmark are:
-
- - null - The property was not set, this is the default.
- - Points to page in the PDF - The property was set and points to a valid page in the PDF
- - Bookmark does not point to anything - The property was set but the bookmark does not point to any page
- - Bookmark points to external action - The property was set, but it points to a page in a different PDF or performs an action when activated
-
-The table below will describe how PDFBox behaves in the various scenarios:
-
-| Start Bookmark | End Bookmark | Result |
-| -------------- | ------------ | ------ |
-| null | null | This is the default, the properties have no effect on the text extraction. |
-| Points to a page in the PDF | null | Text extraction will begin on the page that this bookmark points to and go until the end of the document. |
-| null | Points to a page in the PDF | Text extraction will begin on the first page and stop at the end of the page that this bookmark points to. |
-| Bookmark does not point to anything | null | Because the PDFTextStripper cannot determine a start page based on the bookmark, it will start on the first page and go until the end of the document. |
-| null | Bookmark does not point to anything | Because the PDFTextStripper cannot determine a end page based on the bookmark, it will start on the first page and go until the end of the document. |
-| Bookmark does not point to anything | Bookmark does not point to anything | This is a special case! If the startBookmark and endBookmark are exactly the same then no text will be extracted. If they are different then it is not possible for the PDFTextStripper to determine that pages so it will include the entire document. |
-| Bookmark points to external action | Bookmark points to external action | If either the startBookmark or the endBookmark refer to an external page or execute an action then an OutlineNotLocalException will be thrown to indicate to the user that the bookmark is not valid. |
-
-NOTE: PDFTextStripper will check both the startPage/endPage and the startBookmark/endBookmark to determine if text should be extracted from the current page.
-
-### External Glyph List
-
-Some PDF files need to map between glyph names and Unicode values during text extraction.
-PDFBox comes with an Adobe Glyph List, 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 ``glyphlist_ext`` JVM property.
-
-### Right to Left Text
-
-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 ICU4J jar file has been placed on the classpath (it is an optional dependency).
-Note that you should also enable sorting with either org.apache.pdfbox.util.PDFTextStripper
-or org.apache.pdfbox.ExtractText to ensure accurate output.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/workingwithattachments.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/workingwithattachments.md b/content/1.8/cookbook/workingwithattachments.md
deleted file mode 100644
index 1d17766..0000000
--- a/content/1.8/cookbook/workingwithattachments.md
+++ /dev/null
@@ -1,71 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Working with Attachments
----
-
-# Working with Attachments
-
-## The PDF File Specification
-
-See package:org.apache.pdfbox.pdmodel.common.filespecification
-See example:EmbeddedFiles
-
-A PDF can contain references to external files via the file system or a URL to a remote
-location. It is also possible to embed a binary file into a PDF document.
-
-There are two classes that can be used when referencing a file. ``PDSimpleFileSpecification``
-is a simple string reference to a file(e.g. "./movies/BigMovie.avi"). The simple file
-specification does not allow for any parameters to be set.
-
-The ``PDComplexFileSpecification`` is more feature rich and allows for advanced settings on
-the file reference.
-
-It is also possible to embed a file directly into a PDF. Instead of setting the file
-attribute of the ``PDComplexFileSpecification``, the ``EmbeddedFile`` attribute can be used instead.
-
-## Adding a File Attachment
-
-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.
-
-~~~java
-PDEmbeddedFilesNameTreeNode efTree = new PDEmbeddedFilesNameTreeNode();
-
-//first create the file specification, which holds the embedded file
-PDComplexFileSpecification fs = new PDComplexFileSpecification();
-fs.setFile( "Test.txt" );
-InputStream is = ...;
-PDEmbeddedFile ef = new PDEmbeddedFile(doc, is );
-//set some of the attributes of the embedded file
-ef.setSubtype( "test/plain" );
-ef.setSize( data.length );
-ef.setCreationDate( new GregorianCalendar() );
-fs.setEmbeddedFile( ef );
-
-//now add the entry to the embedded file tree and set in the document.
-Map efMap = new HashMap();
-efMap.put( "My first attachment", fs );
-efTree.setNames( efMap );
-//attachments are stored as part of the "names" dictionary in the document catalog
-PDDocumentNameDictionary names = new PDDocumentNameDictionary( doc.getDocumentCatalog() );
-names.setEmbeddedFiles( efTree );
-doc.getDocumentCatalog().setNames( names );
-~~~
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/workingwithfonts.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/workingwithfonts.md b/content/1.8/cookbook/workingwithfonts.md
deleted file mode 100644
index 08918a3..0000000
--- a/content/1.8/cookbook/workingwithfonts.md
+++ /dev/null
@@ -1,146 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Working with Fonts
----
-
-# Working with Fonts
-
-## Standard 14 Fonts
-
-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.
-
-| Standard Font | Description |
-| ------------- | ----------- |
-| PDType1Font.TIMES_ROMAN | Times regular |
-| PDType1Font.TIMES_BOLD | Times bold |
-| PDType1Font.TIMES_ITALIC | Times italic |
-| PDType1Font.TIMES_BOLD_ITALIC | Times bold italic |
-| PDType1Font.HELVETICA | Helvetica regular |
-| PDType1Font.HELVETICA_BOLD | Helvetica bold |
-| PDType1Font.HELVETICA_OBLIQUE | Helvetica italic |
-| PDType1Font.HELVETICA_BOLD_OBLIQUE | Helvetica bold italic |
-| PDType1Font.COURIER | Courier |
-| PDType1Font.COURIER_BOLD | Courier bold |
-| PDType1Font.COURIER_OBLIQUE | Courier italic |
-| PDType1Font.COURIER_BOLD_OBLIQUE | Courier bold italic |
-| PDType1Font.SYMBOL | Symbol Set |
-| PDType1Font.ZAPF_DINGBATS | Dingbat Typeface |
-
-## Hello World using a PDF base font
-
-This small sample shows how to create a new document and print the text "Hello World" using one of the PDF base fonts.
-
-~~~java
-// Create a document and add a page to it
-PDDocument document = new PDDocument();
-PDPage page = new PDPage();
-document.addPage( page );
-
-// Create a new font object selecting one of the PDF base fonts
-PDFont font = PDType1Font.HELVETICA_BOLD;
-
-// Start a new content stream which will "hold" the to be created content
-PDPageContentStream contentStream = new PDPageContentStream(document, page);
-
-// Define a text content stream using the selected font, moving the cursor and drawing the text "Hello World"
-contentStream.beginText();
-contentStream.setFont( font, 12 );
-contentStream.moveTextPositionByAmount( 100, 700 );
-contentStream.drawString( "Hello World" );
-contentStream.endText();
-
-// Make sure that the content stream is closed:
-contentStream.close();
-
-// Save the results and ensure that the document is properly closed:
-document.save( "Hello World.pdf");
-document.close();
-~~~
-
-## Hello World using a TrueType font
-
-This small sample shows how to create a new document and print the text "Hello World" using a TrueType font.
-
-~~~java
-// Create a document and add a page to it
-PDDocument document = new PDDocument();
-PDPage page = new PDPage();
-document.addPage( page );
-
-// Create a new font object by loading a TrueType font into the document
-PDFont font = PDTrueTypeFont.loadTTF(document, "Arial.ttf");
-
-// Start a new content stream which will "hold" the to be created content
-PDPageContentStream contentStream = new PDPageContentStream(document, page);
-
-// Define a text content stream using the selected font, moving the cursor and drawing the text "Hello World"
-contentStream.beginText();
-contentStream.setFont( font, 12 );
-contentStream.moveTextPositionByAmount( 100, 700 );
-contentStream.drawString( "Hello World" );
-contentStream.endText();
-
-// Make sure that the content stream is closed:
-contentStream.close();
-
-// Save the results and ensure that the document is properly closed:
-document.save( "Hello World.pdf");
-document.close();
-~~~
-
-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.
-PDFBox will look for a mapping file to use when substituting fonts.
-
-PDFBox will load Resources/PDFBox_External_Fonts.properties off of the classpath to map font
-names to TTF font files. The UNKNOWN_FONT property in that file will tell PDFBox which font to
-use when no mapping exists.
-
-
-## Hello World using a Postscript Type1 font
-
-This small sample shows how to create a new document and print the text "Hello World" using a Postscript Type1 font.
-
-~~~java
-// Create a document and add a page to it
-PDDocument document = new PDDocument();
-PDPage page = new PDPage();
-document.addPage( page );
-
-// Create a new font object by loading a Postscript Type 1 font into the document
-PDFont font = new PDType1AfmPfbFont(doc,"cfm.afm");
-
-// Start a new content stream which will "hold" the to be created content
-PDPageContentStream contentStream = new PDPageContentStream(document, page);
-
-// Define a text content stream using the selected font, moving the cursor and drawing the text "Hello World"
-contentStream.beginText();
-contentStream.setFont( font, 12 );
-contentStream.moveTextPositionByAmount( 100, 700 );
-contentStream.drawString( "Hello World" );
-contentStream.endText();
-
-// Make sure that the content stream is closed:
-contentStream.close();
-
-// Save the results and ensure that the document is properly closed:
-document.save( "Hello World.pdf");
-document.close();
-~~~
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/cookbook/workingwithmetadata.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/workingwithmetadata.md b/content/1.8/cookbook/workingwithmetadata.md
deleted file mode 100644
index b4d09ce..0000000
--- a/content/1.8/cookbook/workingwithmetadata.md
+++ /dev/null
@@ -1,83 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Working with Metadata
----
-
-# Working with Metadata
-
-## Introduction
-
-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 PDDocumentInformation object.
-
-In addition to that more metadata can be retrieved using the XML metadata as decribed below.
-Getting basic Metadata
-
-To set or retrieve basic information about the document the PDDocumentInformation object
-provides a high level API to that information:
-
-~~~java
-PDDocumentInformation info = document.getDocumentInformation();
-System.out.println( "Page Count=" + document.getNumberOfPages() );
-System.out.println( "Title=" + info.getTitle() );
-System.out.println( "Author=" + info.getAuthor() );
-System.out.println( "Subject=" + info.getSubject() );
-System.out.println( "Keywords=" + info.getKeywords() );
-System.out.println( "Creator=" + info.getCreator() );
-System.out.println( "Producer=" + info.getProducer() );
-System.out.println( "Creation Date=" + info.getCreationDate() );
-System.out.println( "Modification Date=" + info.getModificationDate());
-System.out.println( "Trapped=" + info.getTrapped() );
-~~~
-
-## Accessing PDF Metadata
-
-See class:org.apache.pdfbox.pdmodel.common.PDMetadata
-See example:AddMetadataFromDocInfo
-See Adobe Documentation:XMP Specification
-
-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:
-
- PDDocumentCatalog
- PDPage
- PDXObject
- PDICCBased
- PDStream
-
-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.
-
-~~~java
-PDDocument doc = PDDocument.load( ... );
-PDDocumentCatalog catalog = doc.getDocumentCatalog();
-PDMetadata metadata = catalog.getMetadata();
-
-//to read the XML metadata
-InputStream xmlInputStream = metadata.createInputStream();
-
-//or to write new XML metadata
-InputStream newXMPData = ...;
-PDMetadata newMetadata = new PDMetadata(doc, newXMLData, false );
-catalog.setMetadata( newMetadata );
-~~~
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/dependencies.md
----------------------------------------------------------------------
diff --git a/content/1.8/dependencies.md b/content/1.8/dependencies.md
deleted file mode 100644
index cc3737e..0000000
--- a/content/1.8/dependencies.md
+++ /dev/null
@@ -1,113 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Dependencies
----
-
-# Dependencies
-
-PDFBox consists of a three related components and depends on a few external libraries. This page describes what these libraries are and how to include them in your application.
-
-## Core components
-
-<p class="alert alert-info">These components are needed during runtime, development and testing dependent on the details below.</p>
-
-The three PDFBox components are named ```pdfbox```, ```fontbox``` and ```jempbox```. The Maven groupId of all PDFBox components is org.apache.pdfbox.
-
-### Minimum Requirement
-
-- Java 1.5
-- [commons-logging](http://commons.apache.org/logging/)
-
-The main PDFBox component, pdfbox, has a hard dependency on the [commons-logging](http://commons.apache.org/logging/) library.
-Commons Logging is a generic wrapper around different logging frameworks, so you'll either need to also use a logging library like [log4j](http://logging.apache.org/log4j/)
-or let commons-logging fall back to the standard [java.util.logging API](http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html)
-included in the Java platform.
-
-### Font Handling
-For font handling the fontbox component is needed.
-
-### XMP Metadata
-To support XMP metadata the jembox component is needed.
-
-To add the pdfbox, fontbox, jempbox and commons-logging jars to your application, the easiest thing is to declare the Maven dependency shown below. This gives you the main
-pdfbox library directly and the other required jars as transitive dependencies.
-
- <dependency>
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>pdfbox</artifactId>
- <version>...</version>
- </dependency>
-
-Set the version field to the latest stable PDFBox version.
-
-## Optional dependencies
-
-Some features in PDFBox depend on optional external libraries. You can enable these features simply by including the required libraries in the classpath of your application.
-
-### Extented Image Format Support
-
-To support JBIG2 and writing TIFF images additional libraries are needed.
-
-<p class="alert alert-warning">The image plugins described below are not part of the PDFBox distribution because of incompatible licensing terms. Please make sure to check if the licensing terms are compatible to your usage.</p>
-
-For **JBIG2** support a Java ImageIO Plugin such as the [Levigo Plugin](https://github.com/levigo/jbig2-imageio) or [JBIG2-Image-Decoder
-](https://github.com/Borisvl/JBIG2-Image-Decoder) will be needed.
-
-To write **TIFF** images a JAI ImageIO Core library will be needed.
-
-#### PDF Encryption and Signing
-The most notable such optional feature is support for PDF encryption. Instead of implementing its own encryption algorithms, PDFBox uses libraries from the
-[Legion of the Bouncy Castle](http://www.bouncycastle.org/). Both the bcprov and bcmail libraries are needed and can be included using the Maven dependencies shown below.
-
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15</artifactId>
- <version>1.44</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcmail-jdk15</artifactId>
- <version>1.44</version>
- </dependency>
-
-<br/>
-
-#### Support for bidirectional languages
-Another important optional feature is support for bidirectional languages like Arabic. PDFBox uses the ICU4J library from the
-[International Components for Unicode](http://site.icu-project.org/) (ICU) project to support such languages in PDF documents. To add the ICU4J jar to your project,
-use the following Maven dependency.
-
- <dependency>
- <groupId>com.ibm.icu</groupId>
- <artifactId>icu4j</artifactId>
- <version>3.8</version>
- </dependency>
-
-PDFBox also contains extra support for use with the [Lucene](http://lucene.apache.org/) and [Ant](http://ant.apache.org/) projects. Since in these cases PDFBox is just an
-add-on feature to these projects, you should first set up your application to use Lucene or Ant and then add PDFBox support as described on this page.
-
-## Dependencies for Ant builds
-
-The above instructions expect that you're using [Maven](http://maven.apache.org/) or another build tool like [Ivy](http://ant.apache.org/ivy/) that supports Maven dependencies.
-If you instead use tools like [Ant](http://ant.apache.org/) where you need to explicitly include all the required library jars in your application, you'll need to do
-something different.
-
-The easiest approach is to run ``mvn dependency:copy-dependencies`` inside the pdfbox directory of the latest PDFBox source release. This will copy all the required and optional
-libraries discussed above into the pdfbox/target/dependencies directory. You can then simply copy all the libraries you need from this directory to your application.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/1.8/faq.md
----------------------------------------------------------------------
diff --git a/content/1.8/faq.md b/content/1.8/faq.md
deleted file mode 100644
index 5552507..0000000
--- a/content/1.8/faq.md
+++ /dev/null
@@ -1,144 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Frequently Asked Questions (FAQ)
----
-
-# Frequently asked questions
-
-### General Questions
-
- - [I am getting the below Log4J warning message, how do I remove it?](#log4j)
- - [Is PDFBox thread safe?](#threadsafe)
- - [Why do I get a "Warning: You did not close the PDF Document"?](#notclosed)
-
-### Text Extraction
-
- - [How come I am not getting any text from the PDF document?](#notext)
- - [How come I am getting gibberish(G38G43G36G51G5) when extracting text?](#gibberish)
- - [What does "java.io.IOException: Can't handle font width" mean?](#fontwidth)
- - [Why do I get "You do not have permission to extract text" on some documents?](#permission)
- - [Can't we just extract the text without parsing the whole document or extract text as it is parsed?](#partially)
-
-## General Questions
-
-<a name="log4j"></a>
-### I am getting the below Log4J warning message, how do I remove it? ###
-
-```java
-log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader).
-log4j:WARN Please initialize the log4j system properly.
-```
-
-This message means that you need to configure the log4j logging system.
-See the [log4j documentation](http://logging.apache.org/log4j/1.2/manual.html) for more information.
-
-PDFBox comes with a sample log4j configuration file. To use it you set a system property like this
-
-```java
-java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText <PDF-file> <output-text-file>
-```
-
-If this is not working for you then you may have to specify the log4j config file using a URL path, like this:
-
-```java
-log4j.configuration=file:///<path to config file>
-```
-
-Please see [this](https://sourceforge.net/forum/forum.php?thread_id=1254229&forum_id=267205) forum thread
-for more information.
-
-<a name="threadsafe"></a>
-### Is PDFBox thread safe? ###
-
-No! Only one thread may access a single document at a time. You can have multiple threads
-each accessing their own PDDocument object.
-
-<a name="notclosed"></a>
-### Why do I get a "Warning: You did not close the PDF Document"? ###
-
-You need to call close() on the PDDocument inside the finally block, if you
-don't then the document will not be closed properly. Also, you must close all
-PDDocument objects that get created. The following code creates **two**
-PDDocument objects; one from the "new PDDocument()" and the second by the load method.
-
-```java
-PDDocument doc = new PDDocument();
-try
-{
- doc = PDDocument.load( "my.pdf" );
-}
-finally
-{
- if( doc != null )
- {
- doc.close();
- }
-}
-```
-
-## Text Extraction
-
-<a name="notext"></a>
-### How come I am not getting any text from the PDF document? ###
-
-Text extraction from a pdf document is a complicated task and there are many factors
-involved that effect the possibility and accuracy of text extraction. It would be helpful
-to the PDFBox team if you could try a couple things.
-
- - Open the PDF in Acrobat and try to extract text from there. If Acrobat can extract text then PDFBox
-should be able to as well and it is a bug if it cannot. If Acrobat cannot extract text then PDFBox 'probably' cannot either.
- - It might really be an image instead of text. Some PDF documents are just images that have been scanned in.
-You can tell by using the selection tool in Acrobat, if you can't select any text then it is probably an image.
-
-<a name="gibberish"></a>
-### How come I am getting gibberish(G38G43G36G51G5) when extracting text? ###
-
-This is because the characters in a PDF document can use a custom encoding
-instead of unicode or ASCII. When you see gibberish text then it
-probably means that a meaningless internal encoding is being used. The
-only way to access the text is to use OCR. This may be a future
-enhancement.
-
-<a name="fontwidth"></a>
-### What does "java.io.IOException: Can't handle font width" mean? ###
-
-This probably means that the "Resources" directory is not in your classpath. The
-Resources directory is included in the PDFBox jar so this is only a problem if you
-are building PDFBox yourself and not using the binary.
-
-<a name="permission"></a>
-### Why do I get "You do not have permission to extract text" on some documents? ###
-
-PDF documents have certain security permissions that can be applied to them and two
-passwords associated with them, a user password and a master password. If the "cannot extract text"
-permission bit is set then you need to decrypt the document with the master password in order
-to extract the text.
-
-<a name="partially"></a>
-### Can't we just extract the text without parsing the whole document or extract text as it is parsed? ###
-
-Not really, for a couple reasons.
-
- - If the document is encrypted then you need to parse at least until the encryption dictionary before
-you can decrypt.
- - Sometimes the PDFont contains vital information needed for text extraction.
- - Text on a page does not have to be drawn in reading order. For example: if the page said "Hello World",
-the pdf could have been written such that "World" gets drawn and then the cursor moves to the left and
-the word "Hello" is drawn.
[2/3] pdfbox-docs git commit: Site checkin for project Apache PDFBox
Website
Posted by ms...@apache.org.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/2.0/commandline.md
----------------------------------------------------------------------
diff --git a/content/2.0/commandline.md b/content/2.0/commandline.md
deleted file mode 100644
index 85048d6..0000000
--- a/content/2.0/commandline.md
+++ /dev/null
@@ -1,231 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Command Line Tools
----
-# Command Line Tools
-
-PDFBox comes with a series of command line utilities. They are available as standard Java applications.
-
-See the Dependencies page for instructions on how to set your classpath in order to run
-PDFBox tools as Java applications.
-
-**Table of Contents**
-[Decrypt](#decrypt)
-[Encrypt](#encrypt)
-[ExtractText](#extracttext)
-[OverlayPDF](#overlaypdf)
-[PDFDebugger](#pdfdebugger)
-[PDFMerger](#pdfmerger)
-[PDFSplit](#pdfsplit)
-[PDFToImage](#pdftoimage)
-[PrintPDF](#printpdf)
-[TextToPDF](#texttopdf)
-[WriteDecodedDoc](#writedecodeddoc)
-
-## Decrypt ##
-
-This application will decrypt a PDF document.
-
-NOTE: You must have the owner password to decrypt the document!
-
-usage: ``java -jar pdfbox-app-2.y.z.jar Decrypt [OPTIONS] <inputfile> [outputfile]``
-
-| Command Line Parameter | Description |
-| ------------------------- | ----------- |
-| -password | Password to the PDF or certificate in keystore. |
-| -keyStore | Path to keystore that holds certificate to decrypt the document. This is only required if the document is encrypted with a certificate, otherwise only the password is required. |
-| -alias | The alias to the certificate in the keystore. |
-| inputfile | The PDF file to decrypt. |
-| outputfile | The file to save the decrypted document to. If left blank then it will be the same as the input file. |
-
-## Encrypt ##
-
-This application will encrypt a PDF document.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar Encrypt [OPTIONS] <password> <inputfile>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -O | | The owner password to the PDF, ignored if -certFile is specified. |
-| -U | | The user password to the PDF, ignored if -certFile is specified. |
-| -certFile | | Path to X.509 cert file. |
-| -canAssemble | true | Set the assemble permission. |
-| -canExtractContent | true | Set the extraction permission. |
-| -canExtractForAccessibility | true | Set the extraction permission. |
-| -canFillInForm | true | Set the fill in form permission. |
-| -canModify | true | Set the modify permission. |
-| -canModifyAnnotations | true | Set the modify annots permission. |
-| -canPrint | true | Set the print permission. |
-| -canPrintDegraded | true | Set the print degraded permission. |
-| -keyLength | 40, 128 or 256 | The number of bits for the encryption key. For 128 and above bits [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html) must be installed.|
-| inputfile | |The PDF file to encrypt. |
-| outputfile | |The file to save the encrypted document to. If left blank then it will be the same as the input file. |
-
-## ExtractText ##
-
-This application will extract all text from the given PDF document.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar ExtractText [OPTIONS] <inputfile> [Text file] ``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -encoding | default encoding | The encoding type of the text file, e.g. ISO-8859-1, UTF-8, UTF-16BE. |
-| -console | false | Send text to console instead of file. |
-| -html | false | Output in HTML format instead of raw text. |
-| -sort | false | Sort the text before writing. |
-| -ignoreBeads | false | Disables the separation by beads. |
-| -force | false | Enables pdfbox to ignore corrupt objects. |
-| -debug | false | Enables debug output about the time consumption of every stage. |
-| -startPage | 1 | The first page to extract, one based. |
-| -endPage | Integer.MAX_INT | The last page to extract, one based. |
-
-## OverlayPDF ##
-
-This application will overlay one document with the content of another document
-
-usage: ``java -jar pdfbox-app-2.y.z.jar OverlayPDF <input.pdf> [OPTIONS] <output.pdf>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| inputfile | | The PDF file to be overlayed. |
-| defaultOverlay.pdf | | Default overlay file. |
-| -odd oddPageOverlay.pdf| | Overlay file used for odd pages. |
-| -even evenPageOverlay.pdf| | Overlay file used for even pages. |
-| -first firstPageOverlay.pdf| | Overlay file used for the first page. |
-| -last lastPageOverlay.pdf| | Overlay file used for the last pages. |
-| -page pageNumber specificPageOverlay.pdf| | overlay file used for the given page number, may occur more than once. |
-| -position | background | Where to put the overlay, foreground or background. |
-| outputfile | | The resulting pdf file. |
-
-Examples:
-
-- OverlayPDF input.pdf overlay.pdf output.pdf
-- OverlayPDF input.pdf defaultOverlay.pdf -page 10 overlayForPage10.pdf -position foreground output.pdf
-- OverlayPDF input.pdf -odd oddOverlay.pdf -even evenOverlay.pdf output.pdf
-
-## PDFDebugger ##
-
-This application will take an existing PDF document and allows to analyze and inspect the internal structure.
-It is used as replacement for the PDFReader which was removed in 2.0.0.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar PDFDebugger [inputfile] ``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -viewstructure | | Activates the "view structure" view on startup. |
-| inputfile | | the name of an optional PDF file to open. |
-
-## PDFMerger ##
-
-This application will take a list of pdf documents and merge them, saving the result in a new document.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar PDFMerger <Source PDF files (2 ..n)> <Target PDF file>``
-
-## PDFSplit ##
-
-This application will take an existing PDF document and split it into a number of other documents
-
-usage: ``java -jar pdfbox-app-2.y.z.jar PDFSplit [OPTIONS] <PDF file>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| -split | | Number of pages of every splitted part of the pdf.|
-| -startPage | | The page to start at. |
-| -endPage | | The page to stop at. |
-
-Examples:
-
- - PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in pieces of 2 pages each except the last which will contain 1 page only.
- - PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf containing all pages of the source pdf starting at page 5
- - PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide a pdf containing all pages from 5 to 10 of the source pdf
- - PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages each
-
-## PDFToImage ##
-
-This application will create an image for every page in the PDF document.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar PDFToImage [OPTIONS] <PDF file>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document.|
-| -imageType | jpg | The image type to write to. Currently only jpg or png. |
-| -outputPrefix | Name of PDF document | The prefix to the image file. |
-| -startPage | 1 | The first page to convert, one based. |
-| -endPage | Integer.MAX_INT | The last page to convert, one based. |
-
-## PrintPDF ##
-
-This application will send a pdf document to the printer.
-
-<p class="alert alert-info">You must have the correct permissions to print the document!</p>
-
-usage: ``java -jar pdfbox-app-2.y.z.jar PrintPDF [OPTIONS] <inputfile>``
-
-| Command Line Parameter | Description |
-| --- | --- |
-| -password | The password to decrypt the PDF. |
-| -silentPrint | Print the PDF without prompting for a printer. |
-| inputfile | The PDF file to print. |
-
-## TextToPDF ##
-
-This application will create a PDF document from a text file.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar TextToPDF [OPTIONS] <outputfile> <textfile>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -standardFont | Helvetica | The font to use for the text. Either this or -ttf should be specified but not both. |
-| -ttf | | The TTF font to use for the text. Either this or -standardFont should be specified but not both. |
-| -fontSize | 10 | The size of the font to use. |
-
-The following font names can be used for the parameter ``standardFont``:
-
- - Courier
- - Courier-Bold
- - Courier-Oblique
- - Courier-BoldOblique
- - Helvetica
- - Helvetica-Bold
- - Helvetica-Oblique
- - Helvetica-BoldOblique
- - Symbol
- - Times-Bold
- - Times-Roman
- - Times-Italic
- - Times-BoldItalic
- - ZapfDingbats
-
-## WriteDecodedDoc ##
-
-An application to decompress PDF documents.
-
-usage: ``java -jar pdfbox-app-2.y.z.jar WriteDecodedDoc <input-file> <output-file>``
-
-| Command Line Parameter | Default | Description |
-| --- | --- | --- |
-| -password | | The password to the PDF document. |
-| <input-file> | | The PDF file to decompress |
-| <output-file> | | The destination PDF file |
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/2.0/cookbook/encryption.md
----------------------------------------------------------------------
diff --git a/content/2.0/cookbook/encryption.md b/content/2.0/cookbook/encryption.md
deleted file mode 100644
index 672ac0c..0000000
--- a/content/2.0/cookbook/encryption.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Cookbook - Encrypting a file
----
-
-Encrypting a file
-=================
-
-PDF encryption requires two passwords: the "user password" to open and view the file with restricted permissions, the "owner password" to access the file with all permission.
-
-
-Load and save encrypted
------------------------
-
-This small sample shows how to encrypt a file so that it can be viewed, but not printed..
-
- PDDocument doc = PDDocument.load("filename.pdf");
-
- // Define the length of the encryption key.
- // Possible values are 40, 128 or 256.
- int keyLength = 256;
-
- AccessPermission ap = new AccessPermission();
-
- // disable printing, everything else is allowed
- ap.setCanPrint(false);
-
- // owner password (to open the file with all permissions) is "12345"
- // user password (to open the file but with restricted permissions, is empty here)
- StandardProtectionPolicy spp = new StandardProtectionPolicy("12345", "", ap);
- spp.setEncryptionKeyLength(keyLength);
- spp.setPermissions(ap);
- doc.protect(spp);
-
- doc.save("filename-encrypted.pdf");
- doc.close();
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/2.0/dependencies.md
----------------------------------------------------------------------
diff --git a/content/2.0/dependencies.md b/content/2.0/dependencies.md
deleted file mode 100644
index f8d8c04..0000000
--- a/content/2.0/dependencies.md
+++ /dev/null
@@ -1,73 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Dependencies
----
-
-<p class="alert alert-warning">This is an unreleased development preview and may change without notice.</p>
-
-# Dependencies
-
-PDFBox has the following basic dependencies:
-
-- Java 6
-- [commons-logging](http://commons.apache.org/logging/)
-
-Commons Logging is a generic wrapper around different logging frameworks, so you'll either need to also use a logging library like [log4j](http://logging.apache.org/log4j/)
-or let commons-logging fall back to the standard [java.util.logging API](http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html)
-included in the Java platform.
-
-## Optional components
-
-PDFBox does not ship with all features enabled. Third party compoenets are necessary to get full support for certain functionality.
-
-### JAI Image I/O
-
-PDF supports embedded image files, however support for some formats require third party libraries which are distributed under terms incompatible with the Apache 2.0 license:
-
-- Reading **JBIG2** images: [JBIG2 ImageIO](https://github.com/levigo/jbig2-imageio) or [JBIG2-Image-Decoder
-](https://github.com/Borisvl/JBIG2-Image-Decoder)
-- Reading **JPEG 2000 (JPX)** images: [JAI Image I/O Tools Core](https://java.net/projects/jai-imageio-core)
-- Writing **TIFF** images requires *JAI Image I/O Tools Core* also.
-
-These libraries are optional and will be loaded if present on the classpath, otherwise support for these image formats will be disable and a warning will be logged when an unsupported image is encountered.
-
-Maven dependencies for these components can be found in [parent/pom.xml](https://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?view=markup). Please make sure that any third party licenses are suitable for your project.
-
-### Encryption and Signing
-
-Encrypting and sigining PDFs requires the *bcprov* and *bcmail* libraries from the [Legion of the Bouncy Castle](http://www.bouncycastle.org/). These can be included in your Maven project using the following dependencies:
-
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>1.53</version>
- </dependency>
-
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcmail-jdk15on</artifactId>
- <version>1.53</version>
- </dependency>
-
-### Java Cryptography Extension (JCE)
-
-256-bit AES encryption requires a JDK with "unlimited strength" cryptography, which requires extra files to be installed. For JDK 7, see [Java Cryptography Extension (JCE)](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html). If these files are not installed, building PDFBox will throw an exception with the following message:
-
- JCE unlimited strength jurisdiction policy files are not installed
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/2.0/examples.md
----------------------------------------------------------------------
diff --git a/content/2.0/examples.md b/content/2.0/examples.md
deleted file mode 100644
index 83eaa33..0000000
--- a/content/2.0/examples.md
+++ /dev/null
@@ -1,26 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Examples
----
-<p class="alert alert-warning">This is an unreleased development preview and may change without notice.</p>
-
-# Examples
-
-This content is under construction. Please look at our [examples](https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/) directory in SVN.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/2.0/getting-started.md
----------------------------------------------------------------------
diff --git a/content/2.0/getting-started.md b/content/2.0/getting-started.md
deleted file mode 100644
index 8b55e8c..0000000
--- a/content/2.0/getting-started.md
+++ /dev/null
@@ -1,50 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Getting Started
----
-
-<p class="alert alert-warning">This is an unreleased development preview and may change without notice.</p>
-
-# Getting Started
-
-This content is under construction.
-
-## Maven
-
-To use the latest 2.0 snapshot release from the SVN trunk, you'll need to add the following dependency:
-
- <dependency>
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>pdfbox</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- </dependency>
-
-You'll also need to add the following repository:
-
- <repository>
- <id>ApacheSnapshot</id>
- <name>Apache Repository</name>
- <url>https://repository.apache.org/content/groups/snapshots/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
-
-Please note that this will use the latest **unstable** development snapshot.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/2.0/migration.md
----------------------------------------------------------------------
diff --git a/content/2.0/migration.md b/content/2.0/migration.md
deleted file mode 100644
index 3550b46..0000000
--- a/content/2.0/migration.md
+++ /dev/null
@@ -1,191 +0,0 @@
----
-license: 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.
-
-layout: default
-title: PDFBox 2.0.0 Migration Guide
----
-
-# Migration to PDFBox 2.0.0
-
-## Environment
-PDFBox 2.0.0 requires at least Java 6
-
-## Packages
-There are some significant changes to the package structure of PDFBox:
-
-- Jempbox is no longer supported and was removed in favour of Xmpbox
-- all examples were moved to the new package "pdfbox-examples"
-- all commandline tools were moved to the new package "pdfbox-tools"
-- all debugger related stuff was moved to the new package "pdfbox-debugger"
-- the new package "debugger-app" provides a standalone pre built binary for the debugger
-
-## Dependency updates
-All libraries on which PDFBox depends are updated to their latest stable versions:
-
-- Bouncy Castle 1.53
-- Apache Commons Logging 1.2
-
-For test support the libraries are updated to
-
-- JUnit 4.12
-- JAI Image Core 1.2
-- Levigo JBIG ImageIO Plugin 1.6.3
-
-## Breaking Changes to the Library
-
-### Deprecated API calls
-Most deprecated API calls in PDFBox 1.8.x have been removed for PDFBox 2.0.0
-
-### API Changes
-The API changes are reflected in the Javadoc for PDFBox 2.0.0. The most notable changes are:
-
-- `getCOSDictionary()` is no longer used. Instead `getCOSObject` now returns the matching `COSBase` subtype.
-- `PDXObjectForm` was renamed to `PDFormXObject` to be more in line with the PDF specification.
-- `PDXObjectImage` was renamed to `PDImageXObject` to be more in line with the PDF specification.
-- `PDPage.getContents().createInputStream()`was simplified to `PDPage.getContents()`.
-
-### General Behaviour
-PDFBox 2.0.0 is now parsing PDF files following the Xref information in the PDF. This is similar to the functionality using
-`PDDocument.loadNonSeq` with PDFBox 1.8.x. Users still using `PDDocument.load` with PDFBox 1.8.x might experience different
-results when switching to PDFBox 2.0.0.
-
-### Font Handling
-Font handling now has full Unicode support and supports font subsetting.
-
-TrueType fonts shall now be loaded using
-
-~~~java
-PDType0Font.load
-~~~
-
-to leverage that.
-
-### PDF Resources Handling
-The individual calls to add resources such as `PDResource.addFont(PDFont font)` and `PDResource.addXObject(PDXObject xobject, String prefix)`
-have been replaced with `PDResource.add(resource type)` where `resource type` represents the different resource classes such as `PDFont`, `PDAbstractPattern`
-and so on. The `add` method now supports all the different type of resources available.
-
-### Working with Images
-The individual classes `PDJpeg()`, `PDPixelMap()` and `PDCCitt()` to import images have been replaced with `PDImageXObject.createFromFile` which works for JPG, TIFF (only G4 compression), PNG, BMP and GIF.
-
-In addition there are some specialized classes:
-
-- `JPEGFactory.createFromStream` which preserve the JPEG data and embed it in the PDF file without modification. (This is best if you have a JPEG file).
-- `CCITTFactory.createFromFile` (for bitonal TIFF images with G4 compression).
-- `LosslessFactory.createFromImage` (this is best if you start with a BufferedImage).
-
-### Iterating Pages
-With PDFBox 2.0.0 the prefered way to iterate through the pages of a document is
-
-~~~java
-for(PDPage page : document.getPages())
-{
- ... (do something)
-}
-~~~
-
-### PDF Rendering
-With PDFBox 2.0.0 `PDPage.convertToImage` has been removed. Instead the new `PDFRenderer` class shall be used.
-
-~~~java
-PDDocument document = PDDocument.load(new File(pdfFilename));
-PDFRenderer pdfRenderer = new PDFRenderer(document);
-int pageCounter = 0;
-for (PDPage page : document.getPages())
-{
- pdfRenderer.renderImageWithDPI(pageCounter, 300, ImageType.RGB);
-
- // suffix in filename will be used as the file format
- ImageIOUtil.writeImage(bim, pdfFilename + "-" + (pageCounter++) + ".png", 300);
-}
-document.close();
-~~~
-
-`ImageIOUtil` has been moved into the `org.apache.pdfbox.tools.imageio` package.
-
-<p class="alert alert-warning">Important notice when using PDFBox with Java 8
-</p>
-Due to the change of the java color management module towards "LittleCMS", users can experience slow performance in color operations.
-Solution: disable LittleCMS in favour of the old KCMS (Kodak Color Management System):
-
-- start with ``-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider``or call
-- ``System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider");``
-
-Sources:
-http://www.subshell.com/en/subshell/blog/Wrong-Colors-in-Images-with-Java8-100.html
-https://bugs.openjdk.java.net/browse/JDK-8041125
-
-### PDF Printing
-With PDFBox 2.0.0 `PDFPrinter` has been removed.
-
-Users of `PDFPrinter.silentPrint()` should now use this code:
-
-~~~java
-PrinterJob job = PrinterJob.getPrinterJob();
-job.setPageable(new PDFPageable(document));
-job.print();
-~~~
-
-While users of `PDFPrinter.print()` should now use this code:
-
-~~~java
-PrinterJob job = PrinterJob.getPrinterJob();
-job.setPageable(new PDFPageable(document));
-if (job.printDialog()) {
- job.print();
-}
-~~~
-
-Advanced use case examples can be found in th examples package under org/apache/pdfbox/examples/printing/Printing.java
-
-### Text Extraction
-In 1.8, to get the text colors, one method was to pass an expanded .properties file to the PDFStripper constructor. To achieve the same
-in PDFBox 2.0 you can extend ``PDFTextStripper``and add the following ``Operators`` to the constructor:
-
-~~~java
-addOperator(new SetStrokingColorSpace());
-addOperator(new SetNonStrokingColorSpace());
-addOperator(new SetStrokingDeviceCMYKColor());
-addOperator(new SetNonStrokingDeviceCMYKColor());
-addOperator(new SetNonStrokingDeviceRGBColor());
-addOperator(new SetStrokingDeviceRGBColor());
-addOperator(new SetNonStrokingDeviceGrayColor());
-addOperator(new SetStrokingDeviceGrayColor());
-addOperator(new SetStrokingColor());
-addOperator(new SetStrokingColorN());
-addOperator(new SetNonStrokingColor());
-addOperator(new SetNonStrokingColorN());
-~~~
-
-### Interactive Forms
-Large parts of the support for interactive forms (AcroForms) has been rewritten. The most notable change from 1.8.x is that
-there is a clear distinction between fields and the annotations representing them visually. Intermediate nodes in a field
-tree are now represented by the `PDNonTerminalField` class.
-
-With PDFBox 2.0.0 the prefered way to iterate through the fields is now
-
-~~~java
-PDAcroForm form;
-...
-for (PDField field : form.getFieldTree())
-{
- ... (do something)
-}
-~~~
-
-Most `PDField` subclasses now accept Java generic types such as `String` as parameters instead of the former `COSBase` subclasses.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/_layouts/default.html
----------------------------------------------------------------------
diff --git a/content/_layouts/default.html b/content/_layouts/default.html
deleted file mode 100644
index 5412e08..0000000
--- a/content/_layouts/default.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE- 2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="description" content="{{site.description}}">
-
- <title>Apache PDFBox | {% if page.title %}{{ page.title }}{% endif %}</title>
-
- <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
- <link href="/assets/open-iconic/font/css/open-iconic-bootstrap.min.css" rel="stylesheet">
- <link href="/css/pygments-github.css" rel="stylesheet">
-
- <link href="/css/site.css" rel="stylesheet">
-
- {% if headers.atom %}
- <link rel="alternate" href="{{ headers.atom.url }}" type="application/atom+xml" title="{{ headers.atom.title }}" />
- {% endif %}
-
- {% if headers.base %}
- <base href="{{ headers.base }}" />
- {% endif %}
-
- {% if headers.notice %}
- <!-- {{ headers.notice }} -->
- {% endif %}
-
-</head>
-
-<body>
- <nav class="navbar navbar-default navbar-top">
- <div class="container">
- <div class="navbar-header">
- <a href="/index.html">
- <img class="logo" src="/images/logo-head.gif">
- </a>
- <p class="pull-right visible-xs">
- <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
- </p>
- </div>
- </div>
- </nav>
-
- <div class="container">
-
- <div class="row row-offcanvas row-offcanvas-left">
- <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
-
- <ul class="sidebar">
- <li class="sidebar-header">Apache PDFBox</li>
- <li><a href="/index.html">Overview</a></li>
- <li><a href="/download.cgi">Downloads</a></li>
-
- <li class="sidebar-header">Community</li>
- <li><a href="/support.html">Support</a></li>
- <li><a href="/mailinglists.html">Mailing Lists</a></li>
- <li><a href="/team.html">Project Team</a></li>
-
- <li class="sidebar-header">Documentation</li>
- <li class="sidebar-node" id="v2-0">
- <a href="#">2.0.0 (trunk)</a>
- <ul>
- <li><a href="/2.0/migration.html">Migration Guide</a></li>
- <li><a href="/2.0/getting-started.html">Getting Started</a></li>
- <li><a href="/2.0/examples.html">Examples</a></li>
- <li><a href="/2.0/dependencies.html">Dependencies</a></li>
- <li class="sidebar-node" id="v2-0-cookbook">
- <a href="#">Cookbook</a>
- <ul>
- <li><a href="/2.0/cookbook/encryption.html">Document Encryption</a></li>
- </ul>
- </li>
- <li><a href="/2.0/commandline.html">Command Line Tools</a></li>
- <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
- </ul>
- </li>
- <li class="sidebar-node" id="v1-8">
- <a href="#">1.8.10</a>
- <ul>
- <li><a href="/1.8/architecture.html">Architecture</a></li>
- <li><a href="/1.8/dependencies.html">Dependencies</a></li>
- <li class="sidebar-node" id="v1-8-cookbook">
- <a href="#">Cookbook</a>
- <ul>
- <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
- <li><a href="/1.8/cookbook/textextraction.html">Text Extraction</a></li>
- <li><a href="/1.8/cookbook/encryption.html">Document Encryption</a></li>
- <li><a href="/1.8/cookbook/workingwithfonts.html">Working with Fonts</a></li>
- <li><a href="/1.8/cookbook/workingwithmetadata.html">Working with Metadata</a></li>
- <li><a href="/1.8/cookbook/workingwithattachments.html">Working with Attachments</a></li>
- <li><a href="/1.8/cookbook/pdfavalidation.html">PDF/A Validation</a></li>
- <li><a href="/1.8/cookbook/pdfacreation.html">Creating a PDF/A document</a></li>
- </ul>
- </li>
- <li><a href="/1.8/commandline.html">Command Line Tools</a></li>
- <li><a href="/docs/1.8.10/javadocs/">API Docs</a></li>
- <li><a href="/1.8/faq.html">FAQ</a></li>
- </ul>
- </li>
-
- <li class="sidebar-header">Development</li>
- <li><a href="/building.html">Building from Source</a></li>
- <li><a href="/codingconventions.html">Coding Conventions</a></li>
- <li><a href="/siteupdate.html">Update the Website</a></li>
- <li><a href="https://builds.apache.org/view/All/job/PDFBox-trunk/">Jenkins</a></li>
- <li><a href="https://travis-ci.org/apache/pdfbox">Travis CI</a></li>
- <li><a href="https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor">SonarQube</a></li>
- <li><a href="https://issues.apache.org/jira/browse/PDFBOX">JIRA</a></li>
- <li><a href="/ideas.html">Ideas</a></li>
- <li><a href="/references.html">External Links</a></li>
-
- <li class="sidebar-header">Apache Software Foundation</li>
- <li><a href="http://www.apache.org/">Apache Software Foundation</a></li>
- <li><a href="http://www.apache.org/foundation/thanks.html">ASF Sponsors</a></li>
- <li><a href="http://www.apache.org/security/">Security</a></li>
- </ul>
- </div>
- <div class="col-xs-12 col-sm-9">
- {{ content }}
- </div>
- </div>
- </div>
-
- <footer class="footer">
- <div class="container"
- <div class="row">
- <div class="span3">
- <!-- nothing in here on purpose -->
- </div>
- <div class="span9">
- <p>Copyright © 2009–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
- <br/>Apache PDFBox, PDFBox, Apache, the Apache feather logo and the Apache PDFBox project logos are trademarks of The Apache Software Foundation.</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Twitter Bootstrap and jQuery after this line. -->
- <script src="//code.jquery.com/jquery-latest.js"></script>
- <script src="/bootstrap/js/bootstrap.min.js"></script>
- <script type="text/javascript">
-
- $(document).ready(function () {
- $('[data-toggle="offcanvas"]').click(function () {
- $('.row-offcanvas').toggleClass('active')
- });
- });
-
- $(function() {
- // collapse tree nodes dynamically to support noscript
- $('.sidebar-node').addClass('collapsed');
-
-
- // toggle expand/collapse
- $('.sidebar-node > a').click(function(e) {
- $(this).parent().toggleClass('collapsed');
- e.preventDefault();
- });
-
- // preserve expand/collapse across page navigation
- var path = document.location.pathname;
- if (path.indexOf('/2.0') == 0) {
- $('#v2-0').removeClass('collapsed');
- if (path.indexOf('/2.0/cookbook') == 0) {
- $('#v2-0-cookbook').removeClass('collapsed');
- }
- } else {
- $('#v1-8').removeClass('collapsed');
- if (path.indexOf('/1.8/cookbook') == 0) {
- $('#v1-8-cookbook').removeClass('collapsed');
- }
- }
-
- });
- </script>
-
-</body>
-
-</html>
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/assets/open-iconic/.gitignore
----------------------------------------------------------------------
diff --git a/content/assets/open-iconic/.gitignore b/content/assets/open-iconic/.gitignore
deleted file mode 100755
index 496ee2c..0000000
--- a/content/assets/open-iconic/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-.DS_Store
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/assets/open-iconic/font/css/open-iconic-bootstrap.css
----------------------------------------------------------------------
diff --git a/content/assets/open-iconic/font/css/open-iconic-bootstrap.css b/content/assets/open-iconic/font/css/open-iconic-bootstrap.css
index 56c4e5f..eeaba43 100755
--- a/content/assets/open-iconic/font/css/open-iconic-bootstrap.css
+++ b/content/assets/open-iconic/font/css/open-iconic-bootstrap.css
@@ -949,4 +949,4 @@
.oi-zoom-out:before {
content:'\e0de';
-}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/assets/open-iconic/font/css/open-iconic-foundation.css
----------------------------------------------------------------------
diff --git a/content/assets/open-iconic/font/css/open-iconic-foundation.css b/content/assets/open-iconic/font/css/open-iconic-foundation.css
index 905a821..4ee4f24 100755
--- a/content/assets/open-iconic/font/css/open-iconic-foundation.css
+++ b/content/assets/open-iconic/font/css/open-iconic-foundation.css
@@ -1392,4 +1392,3 @@
.fi-zoom-out:before {
content:'\e0de';
}
-
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/assets/open-iconic/font/css/open-iconic.css
----------------------------------------------------------------------
diff --git a/content/assets/open-iconic/font/css/open-iconic.css b/content/assets/open-iconic/font/css/open-iconic.css
index 301a138..0d2af3d 100755
--- a/content/assets/open-iconic/font/css/open-iconic.css
+++ b/content/assets/open-iconic/font/css/open-iconic.css
@@ -508,4 +508,4 @@
.oi[data-glyph=zoom-in]:before { content:'\e0dd'; }
-.oi[data-glyph=zoom-out]:before { content:'\e0de'; }
+.oi[data-glyph=zoom-out]:before { content:'\e0de'; }
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/bootstrap/css/bootstrap-responsive.css
----------------------------------------------------------------------
diff --git a/content/bootstrap/css/bootstrap-responsive.css b/content/bootstrap/css/bootstrap-responsive.css
index fcd72f7..cccfebc 100644
--- a/content/bootstrap/css/bootstrap-responsive.css
+++ b/content/bootstrap/css/bootstrap-responsive.css
@@ -1106,4 +1106,4 @@
height: auto !important;
overflow: visible !important;
}
-}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/bootstrap/css/bootstrap-responsive.min.css
----------------------------------------------------------------------
diff --git a/content/bootstrap/css/bootstrap-responsive.min.css b/content/bootstrap/css/bootstrap-responsive.min.css
index d1b7f4b..5dde338 100644
--- a/content/bootstrap/css/bootstrap-responsive.min.css
+++ b/content/bootstrap/css/bootstrap-responsive.min.css
@@ -6,4 +6,4 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{dis
play:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-flui
d{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094
017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307
693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:
28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span
6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px
}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87
292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margi
n-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.4737275185141
7%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.sp
an11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:aut
o}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.m
odal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:a
uto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar
-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,
255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}}
+ */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{dis
play:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-flui
d{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094
017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307
693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:
28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span
6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px
}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87
292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margi
n-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.4737275185141
7%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.sp
an11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:aut
o}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.m
odal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:a
uto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar
-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,
255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/bootstrap/css/bootstrap-theme.css
----------------------------------------------------------------------
diff --git a/content/bootstrap/css/bootstrap-theme.css b/content/bootstrap/css/bootstrap-theme.css
index c4cadf1..8168e7d 100644
--- a/content/bootstrap/css/bootstrap-theme.css
+++ b/content/bootstrap/css/bootstrap-theme.css
@@ -467,4 +467,4 @@
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
-/*# sourceMappingURL=bootstrap-theme.css.map */
+/*# sourceMappingURL=bootstrap-theme.css.map */
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/bootstrap/css/bootstrap.css
----------------------------------------------------------------------
diff --git a/content/bootstrap/css/bootstrap.css b/content/bootstrap/css/bootstrap.css
index c6f3d21..f4da336 100644
--- a/content/bootstrap/css/bootstrap.css
+++ b/content/bootstrap/css/bootstrap.css
@@ -6329,4 +6329,4 @@ button.close {
display: none !important;
}
}
-/*# sourceMappingURL=bootstrap.css.map */
+/*# sourceMappingURL=bootstrap.css.map */
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/bootstrap/js/bootstrap.js
----------------------------------------------------------------------
diff --git a/content/bootstrap/js/bootstrap.js b/content/bootstrap/js/bootstrap.js
index b6ac8d9..41c1a47 100644
--- a/content/bootstrap/js/bootstrap.js
+++ b/content/bootstrap/js/bootstrap.js
@@ -2317,4 +2317,4 @@ if (typeof jQuery === 'undefined') {
})
})
-}(jQuery);
+}(jQuery);
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/building.md
----------------------------------------------------------------------
diff --git a/content/building.md b/content/building.md
deleted file mode 100644
index 91eecd4..0000000
--- a/content/building.md
+++ /dev/null
@@ -1,87 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Building PDFBox
----
-
-# Building from Source
-
-Building PDFBox from source is only necessary if you're wanting to contribute code to the PDFBox project. Most users should use the [binary releases](http://pdfbox.apache.org/download.cgi) instead.
-
-## Obtaining the Source
-
-You can obtain the latest source of PDFBox from our [SVN repo](http://pdfbox.apache.org/download.cgi) The current trunk is v2.0.0-SNAPSHOT. There is a seperate branch for the 1.8.x series. You can fetch the latest 2.0 trunk using Subversion:
-
- svn checkout http://svn.apache.org/repos/asf/pdfbox/trunk/
- cd trunk
-
-## Build dependencies
-
-### PDFBox 1.8
-
-- JDK 5 or 6
-- [Maven 2](http://maven.apache.org/)
-
-### PDFBox 2.0
-
-- JDK 6+
-- Java Cryptography Extension (JCE) [see below]
-- [Maven 2](http://maven.apache.org/)
-
-### Java Cryptography Extension (JCE)
-
-Building PDFBox 2.0 requires a JDK with "unlimited strength" cryptography, which requires extra files to be installed. For JDK 7, see [Java Cryptography Extension (JCE)](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html). If these files are not installed, building PDFBox will fail the following test:
-
- TestPublicKeyEncryption.setUp:70 JCE unlimited strength jurisdiction policy files are not installed
-
-## Building with Maven
-
-In the root directory of PDFBox:
-
- mvn clean install
-
----
-
-## Building with Ant (Deprecated, removed in 2.0.0)
-
-The old Ant build is still available, and can be used especially for
-building .NET binaries with IKVM:
-
-1. Install [ANT](http://ant.apache.org/). PDFBox currently uses 1.6.2
- but other versions probably work as well.
-2. (optional) Setup IKVM, if you want to build the .NET DLL version of
- PDFBox.
- 1. [IKVM](http://www.ikvm.net/) binaries
- 2. In the build.properties, set the ikvm.dir property:\
- `ikvm.dir=C:\\javalib\\ikvm-12-07-2004\\ikvm`
-
-3. Run "`ant`" from the root PDFBox directory. This will create the
- .zip package distribution. See the build file for other ant targets.
-
-NOTE: If you want to run PDFBox from an IDE them you will need to add
-the 'Resources' directory to the project classpath in your IDE.
-
-### Dependencies for Ant Builds
-
-The above instructions expect that you're using [Maven](http://maven.apache.org/) or another build tool like [Ivy](http://ant.apache.org/ivy/) that supports Maven dependencies.
-If you instead use tools like [Ant](http://ant.apache.org/) where you need to explicitly include all the required library jars in your application, you'll need to do
-something different.
-
-The easiest approach is to run ``mvn dependency:copy-dependencies`` inside the pdfbox directory of the latest PDFBox source release. This will copy all the required and optional
-libraries discussed above into the pdfbox/target/dependencies directory. You can then simply copy all the libraries you need from this directory to your application.
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/codingconventions.md
----------------------------------------------------------------------
diff --git a/content/codingconventions.md b/content/codingconventions.md
deleted file mode 100644
index 7f977a9..0000000
--- a/content/codingconventions.md
+++ /dev/null
@@ -1,145 +0,0 @@
----
-license: 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.
-
-layout: default
-title: Coding Conventions
----
-
-# Coding Conventions
-
-Over the years the PDFBox project has come to adopt a number of coding conventions. These are not always followed in old code but new code should try to follow these rules where possible.
-
-### Formatting
-
-- Braces go on their own line.
-
-- Always use braces with control flow statements.
-
-- No lines longer than 100 characters, including JavaDoc.
-
-- Wrapped lines should use either an indent of 4 or 8 characters or align with the expression at the same level on the previous line.
-
-- Wrapped lines should be broken after operators, not before.
-
-- Prefer aligned wrapped lines.
-
-- Prefer aligned wrapped parameter lists.
-
-### Whitespace
-
-- Four spaces for indents, no tabs.
-
-- Do not use spaces around parenthesis.
-
-- Use spaces after control flow keywords.
-
-- Prefer using blank lines to separate logical blocks of code, but do not be excessive.
-
-- Prefer not following casts with a blank space.
-
-### Structure
-
-- Do not use package imports (e.g. `import java.util.*`)
-
-- Static fields and methods must appear at the top of a class, before any other code.
-
-- Within a class, definitions should be ordered as follows:
-
- Class (static) variables
- Instance variables
- Constructors
- Methods
-
-### JavaDoc
-
-- Public and protected methods and fields must have JavaDoc.
-
-- Don't use `@version` tags.
-
-- Don't use `@since` tags.
-
-- Don't include your e-mail address in `@author` tags.
-
-- You may omit `@return` tags for getters as long as you include a summary which begins with the word "Returns".
-
-- Private methods do not require JavaDoc but may have partial JavaDoc if it adds valuable information.
-
-### Comments
-
-- Only use line comments within code, never block comments.
-
-- Prefer comments on their own line, rather than trailing, unless the latter is more readable.
-
-- Prefix line comments by a space `// like this`.
-
-### Variables
-
-- Prefer initializing variables when they are declared, rather than C-style declaration before use.
-
-- Always use final fields when possible.
-
-### Control Flow
-
-- Prefer multiple return statements over additional control flow logic.
-
-- Prefer switch statements over multi-clause if-then statements.
-
-### API Design
-
-- Give variables and methods meaningful names. Keep these short but don't use abbreviations. Prefer using the same terminology as the PDF spec.
-
-- Prefer final classes and final protected methods for non-final public classes, this reduces the surface area of the public API.
-
-- Avoid non-final protected variables in public classes. Prefer protected getters over protected variables when protected fields are necessery in public classes.
-
-- Minimize the API. Don't make everything public just because you can.
-
-- Don't expose implementation details unless there is a clear need: allowing subclassing means that the behaviour of protected methods becomes part of the contract of the public AP.
-
-- Avoid unnecesary abstraction. While you're encouraged to avoid brittle designs, it's unlikey that an API designed for "future use" will have the correct API without any code which actually uses it.
-
-### Example
-
-Here's an example of PDFBox's formatting style:
-
- public class Foo extends Bar
- {
- public static void main(String args[])
- {
- try
- {
- for (int i = 0; i < args.length; i++)
- {
- System.out.println(Integer.parseInt(args[i]));
- }
- }
- catch (NumberFormatException e)
- {
- e.printStackTrace();
- }
- }
- }
-
-## Eclipse Formatter
-
-Eclipse users may download this preferences file: pdfbox-eclipse-formatter.xml and import this into Eclipse.
-(Window->Preferences, go to Java->Code Style->Formatter and click "Import...").
-Once you have done this you can reformat your code by using Source->Format (Ctrl+Shift+F).
-
-Also note that Eclipse will automatically format your import statements appropriately when
-you invoke Source -> Organize Imports (Ctrl+Shift+O).
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/css/pygments-default.css
----------------------------------------------------------------------
diff --git a/content/css/pygments-default.css b/content/css/pygments-default.css
index 67e6ea3..4e1f074 100644
--- a/content/css/pygments-default.css
+++ b/content/css/pygments-default.css
@@ -58,4 +58,4 @@
.vc { color: #19177C } /* Name.Variable.Class */
.vg { color: #19177C } /* Name.Variable.Global */
.vi { color: #19177C } /* Name.Variable.Instance */
-.il { color: #666666 } /* Literal.Number.Integer.Long */
+.il { color: #666666 } /* Literal.Number.Integer.Long */
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/css/pygments-friendly.css
----------------------------------------------------------------------
diff --git a/content/css/pygments-friendly.css b/content/css/pygments-friendly.css
index 23f09db..61af14e 100644
--- a/content/css/pygments-friendly.css
+++ b/content/css/pygments-friendly.css
@@ -58,4 +58,4 @@
.vc { color: #bb60d5 } /* Name.Variable.Class */
.vg { color: #bb60d5 } /* Name.Variable.Global */
.vi { color: #bb60d5 } /* Name.Variable.Instance */
-.il { color: #40a070 } /* Literal.Number.Integer.Long */
+.il { color: #40a070 } /* Literal.Number.Integer.Long */
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f67f8b8/content/css/site.css
----------------------------------------------------------------------
diff --git a/content/css/site.css b/content/css/site.css
index 4f29e6e..288533f 100644
--- a/content/css/site.css
+++ b/content/css/site.css
@@ -199,4 +199,4 @@ table tr:nth-child(even) td, table tr.even td {
top: 0;
width: 50%; /* 6 columns */
}
-}
+}
\ No newline at end of file