svn commit: r1708883 - /pdfbox/tags/2.0.0-RC1/

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:51:48 2015
New Revision: 1708883

URL: http://svn.apache.org/viewvc?rev=1708883=rev
Log:
[maven-release-plugin] copy for tag 2.0.0-RC1

Added:
pdfbox/tags/2.0.0-RC1/   (props changed)
  - copied from r1708882, pdfbox/trunk/

Propchange: pdfbox/tags/2.0.0-RC1/
--
--- svn:ignore (added)
+++ svn:ignore Thu Oct 15 19:51:48 2015
@@ -0,0 +1,2 @@
+.*
+target

Propchange: pdfbox/tags/2.0.0-RC1/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Oct 15 19:51:48 2015
@@ -0,0 +1,2 @@
+/pdfbox/branches/no-awt:1618517-1621410
+/pdfbox/no-awt:1618514-1618516




svn commit: r1708888 - /pdfbox/cmssite/trunk/content/2.0/migration.md

2015-10-15 Thread msahyoun
Author: msahyoun
Date: Thu Oct 15 20:35:47 2015
New Revision: 170

URL: http://svn.apache.org/viewvc?rev=170=rev
Log:
PDFBOX-3030: fix typo

Modified:
pdfbox/cmssite/trunk/content/2.0/migration.md

Modified: pdfbox/cmssite/trunk/content/2.0/migration.md
URL: 
http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/content/2.0/migration.md?rev=170=1708887=170=diff
==
--- pdfbox/cmssite/trunk/content/2.0/migration.md (original)
+++ pdfbox/cmssite/trunk/content/2.0/migration.md Thu Oct 15 20:35:47 2015
@@ -89,5 +89,5 @@ With PDFBox 2.0.0 the prefered way to it
 ... (do something)
 }
 
-Most `PDField` subclasses now accept Java generic types such as `String` as 
parameters instead of the former `COSBase`subclasses.
+Most `PDField` subclasses now accept Java generic types such as `String` as 
parameters instead of the former `COSBase` subclasses.
 




svn commit: r1708881 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java

2015-10-15 Thread jahewson
Author: jahewson
Date: Thu Oct 15 19:50:23 2015
New Revision: 1708881

URL: http://svn.apache.org/viewvc?rev=1708881=rev
Log:
PDFBOX-2943: Default width of zero for missing Type 3 glyphs is correct

Modified:

pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java

Modified: 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java?rev=1708881=1708880=1708881=diff
==
--- 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java
 (original)
+++ 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java
 Thu Oct 15 19:50:23 2015
@@ -19,8 +19,6 @@ package org.apache.pdfbox.pdmodel.font;
 import java.awt.geom.GeneralPath;
 import java.io.IOException;
 import java.io.InputStream;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.fontbox.FontBoxFont;
 import org.apache.fontbox.util.BoundingBox;
 import org.apache.pdfbox.cos.COSArray;
@@ -42,8 +40,6 @@ import org.apache.pdfbox.util.Vector;
  */
 public class PDType3Font extends PDSimpleFont
 {
-private static final Log LOG = LogFactory.getLog(PDType3Font.class);
-
 private PDResources resources;
 private COSDictionary charProcs;
 private Matrix fontMatrix;
@@ -131,7 +127,6 @@ public class PDType3Font extends PDSimpl
 }
 else
 {
-LOG.warn("No width for glyph " + code + " in font " + 
getName() + ", using width from font");
 return getWidthFromFont(code);
 }
 }
@@ -143,7 +138,6 @@ public class PDType3Font extends PDSimpl
 PDType3CharProc charProc = getCharProc(code);
 if (charProc == null)
 {
-LOG.warn("No CharProc for glyph " + code + " found, returning 0");
 return 0;
 }
 return charProc.getWidth();




svn commit: r1708882 - in /pdfbox/trunk: app/pom.xml debugger-app/pom.xml debugger/pom.xml examples/pom.xml fontbox/pom.xml parent/pom.xml pdfbox/pom.xml pom.xml preflight-app/pom.xml preflight/pom.xm

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:51:34 2015
New Revision: 1708882

URL: http://svn.apache.org/viewvc?rev=1708882=rev
Log:
[maven-release-plugin] prepare release 2.0.0-RC1

Modified:
pdfbox/trunk/app/pom.xml
pdfbox/trunk/debugger-app/pom.xml
pdfbox/trunk/debugger/pom.xml
pdfbox/trunk/examples/pom.xml
pdfbox/trunk/fontbox/pom.xml
pdfbox/trunk/parent/pom.xml
pdfbox/trunk/pdfbox/pom.xml
pdfbox/trunk/pom.xml
pdfbox/trunk/preflight-app/pom.xml
pdfbox/trunk/preflight/pom.xml
pdfbox/trunk/tools/pom.xml
pdfbox/trunk/xmpbox/pom.xml

Modified: pdfbox/trunk/app/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/app/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/app/pom.xml (original)
+++ pdfbox/trunk/app/pom.xml Thu Oct 15 19:51:34 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/debugger-app/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/debugger-app/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/debugger-app/pom.xml (original)
+++ pdfbox/trunk/debugger-app/pom.xml Thu Oct 15 19:51:34 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/debugger/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/debugger/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/debugger/pom.xml (original)
+++ pdfbox/trunk/debugger/pom.xml Thu Oct 15 19:51:34 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/examples/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/examples/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/examples/pom.xml (original)
+++ pdfbox/trunk/examples/pom.xml Thu Oct 15 19:51:34 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/fontbox/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/fontbox/pom.xml (original)
+++ pdfbox/trunk/fontbox/pom.xml Thu Oct 15 19:51:34 2015
@@ -21,7 +21,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/parent/pom.xml (original)
+++ pdfbox/trunk/parent/pom.xml Thu Oct 15 19:51:34 2015
@@ -29,7 +29,7 @@
 
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 pom
 
 PDFBox parent
@@ -369,4 +369,10 @@
 
 
 
+
+  
+
scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/2.0.0-RC1/pdfbox-parent
+
scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/2.0.0-RC1/pdfbox-parent
+
http://svn.apache.org/viewvc/maven/pom/tags/2.0.0-RC1/pdfbox-parent
+  
 

Modified: pdfbox/trunk/pdfbox/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/pdfbox/pom.xml (original)
+++ pdfbox/trunk/pdfbox/pom.xml Thu Oct 15 19:51:34 2015
@@ -23,7 +23,7 @@
 
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 ../parent/pom.xml
 
 

Modified: pdfbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=1708882=1708881=1708882=diff
==
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Oct 15 19:51:34 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-SNAPSHOT
+2.0.0-RC1
 parent/pom.xml
   
 
@@ -34,12 +34,12 @@
 
   
 
-  scm:svn:http://svn.apache.org/repos/asf/pdfbox/trunk
+  scm:svn:http://svn.apache.org/repos/asf/pdfbox/tags/2.0.0-RC1
 
 
-  scm:svn:https://svn.apache.org/repos/asf/pdfbox/trunk
+  scm:svn:https://svn.apache.org/repos/asf/pdfbox/tags/2.0.0-RC1
 
-http://svn.apache.org/viewvc/pdfbox/trunk
+http://svn.apache.org/viewvc/pdfbox/tags/2.0.0-RC1
   
 
   

Modified: pdfbox/trunk/preflight-app/pom.xml
URL: 

svn commit: r1708890 - /pdfbox/trunk/pom.xml

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 20:42:10 2015
New Revision: 1708890

URL: http://svn.apache.org/viewvc?rev=1708890=rev
Log:
fixed url for release candidate

Modified:
pdfbox/trunk/pom.xml

Modified: pdfbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=1708890=1708889=1708890=diff
==
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Oct 15 20:42:10 2015
@@ -135,7 +135,7 @@ Subject: [VOTE] Release Apache PDFBox ${
 
 A candidate for the PDFBox ${project.version} release is available at:
 
-http://people.apache.org/~${username}/pdfbox/${project.version}/
+https://dist.apache.org/repos/dist/dev/pdfbox/${project.version}/
 
 The release candidate is a zip archive of the sources in:
 




svn commit: r10828 [1/2] - /dev/pdfbox/2.0.0-RC1/

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 20:15:17 2015
New Revision: 10828

Log:
added 2.0.0-RC1

Added:
dev/pdfbox/2.0.0-RC1/
dev/pdfbox/2.0.0-RC1/RELEASE-NOTES.txt   (with props)
dev/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/debugger-app-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/fontbox-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip.asc   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip.md5
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1-src.zip.sha
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/pdfbox-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/pdfbox-app-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/pdfbox-debugger-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/pdfbox-tools-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/preflight-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.sha
dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar   (with props)
dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.asc   (with props)
dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.md5
dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.sha

Added: dev/pdfbox/2.0.0-RC1/RELEASE-NOTES.txt
==
--- dev/pdfbox/2.0.0-RC1/RELEASE-NOTES.txt (added)
+++ dev/pdfbox/2.0.0-RC1/RELEASE-NOTES.txt Thu Oct 15 20:15:17 2015
@@ -0,0 +1,1145 @@
+Release Notes -- Apache PDFBox -- Version 2.0.0-RC1
+
+Introduction
+
+
+The Apache PDFBox library is an open source Java tool for working with PDF 
documents.
+
+This is a first release candidate for the upcoming major release 2.0.0 of 
PDFBox.
+This release contains a lot of improvements, fixes and refactorings. The API 
is 
+supposed to be stable, but we can't guarantee that there won't be any last 
changes
+to it before providing the final release candidate.
+
+For more details on these changes and all the other fixes and improvements
+included in this release, please refer to the following issues on the
+PDFBox issue tracker at https://issues.apache.org/jira/browse/PDFBOX.
+
+Sub-task
+
+[PDFBOX-1869] - Implementation for ShadingType 1
+[PDFBOX-1870] - PDFunctionType0 incorrect
+[PDFBOX-2117] - AxialShadingContext is slow
+[PDFBOX-2279] - Text with gradient not shown
+[PDFBOX-2529] - Preflight: mention the page on which a problem has been found
+[PDFBOX-2531] - better error message on not yet read stream
+[PDFBOX-2535] - mention subtype in COSStream IOException
+[PDFBOX-2536] - More specific TIFFFaxDecoder exceptions
+[PDFBOX-2537] - do not discard underlying cause when creating validation error
+[PDFBOX-2611] - possibly incorrect error message "Hexa String must have only 
Hexadecimal Characters" in preflight
+[PDFBOX-2612] - error "Destination contains invalid page reference 'null'" is 
not detected by preflight
+[PDFBOX-2613] - Conflicting /N information for OutputIntent not detected by 
preflight
+[PDFBOX-2614] - missing /Type/FontDescriptor not detected by preflight
+[PDFBOX-2619] - XMP dates contain time zone, while document info dates do not, 
and this isn't detected by preflight
+[PDFBOX-2625] - Preflight error: The character with CID 0 should have a width 
equals to 57.0, but has 57.78
+[PDFBOX-2627] - Add block composer to handle multiline text
+[PDFBOX-2630] - "loop in destinations" not detected by preflight
+[PDFBOX-2647] - Check thumbnails in XMP metadata
+[PDFBOX-2718] - Allow to create new AcroForm fields from scratch
+[PDFBOX-2783] - Remove getCOSDictionary() 

svn commit: r969080 - in /websites/staging/pdfbox/trunk/content: ./ 2.0/migration.html

2015-10-15 Thread buildbot
Author: buildbot
Date: Thu Oct 15 20:36:08 2015
New Revision: 969080

Log:
Staging update by buildbot for pdfbox

Modified:
websites/staging/pdfbox/trunk/content/   (props changed)
websites/staging/pdfbox/trunk/content/2.0/migration.html

Propchange: websites/staging/pdfbox/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Thu Oct 15 20:36:08 2015
@@ -1 +1 @@
-1708885
+170

Modified: websites/staging/pdfbox/trunk/content/2.0/migration.html
==
--- websites/staging/pdfbox/trunk/content/2.0/migration.html (original)
+++ websites/staging/pdfbox/trunk/content/2.0/migration.html Thu Oct 15 
20:36:08 2015
@@ -252,7 +252,7 @@ tree are now represented by the PD
 
 
 
-Most PDField subclasses now accept Java generic types such as 
String as parameters instead of the former 
COSBasesubclasses. 
+Most PDField subclasses now accept Java generic types such as 
String as parameters instead of the former COSBase 
subclasses. 
 
 
 




svn commit: r10828 [2/2] - /dev/pdfbox/2.0.0-RC1/

2015-10-15 Thread lehmi
Propchange: dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.asc
--
svn:mime-type = application/pgp-signature

Added: dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.md5
==
--- dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.md5 (added)
+++ dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.md5 Thu Oct 15 20:15:17 
2015
@@ -0,0 +1 @@
+ec0871e4360bbf4f11895f1ff5c23cfd

Added: dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.sha
==
--- dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.sha (added)
+++ dev/pdfbox/2.0.0-RC1/preflight-app-2.0.0-RC1.jar.sha Thu Oct 15 20:15:17 
2015
@@ -0,0 +1 @@
+666fffdf0661d0f8c92383e9cd42a29aca4d8d3f

Added: dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar
==
Binary file - no diff available.

Propchange: dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar
--
svn:mime-type = application/java-archive

Added: dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.asc
==
Binary file - no diff available.

Propchange: dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.asc
--
svn:mime-type = application/pgp-signature

Added: dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.md5
==
--- dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.md5 (added)
+++ dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.md5 Thu Oct 15 20:15:17 2015
@@ -0,0 +1 @@
+2edb1d3782b4a75b2110f537fa8003d8

Added: dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.sha
==
--- dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.sha (added)
+++ dev/pdfbox/2.0.0-RC1/xmpbox-2.0.0-RC1.jar.sha Thu Oct 15 20:15:17 2015
@@ -0,0 +1 @@
+cf99265e1038d57f5762c8fe2a695e95e5b018c3




svn commit: r1708884 - in /pdfbox/trunk: app/pom.xml debugger-app/pom.xml debugger/pom.xml examples/pom.xml fontbox/pom.xml parent/pom.xml pdfbox/pom.xml pom.xml preflight-app/pom.xml preflight/pom.xm

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:51:52 2015
New Revision: 1708884

URL: http://svn.apache.org/viewvc?rev=1708884=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
pdfbox/trunk/app/pom.xml
pdfbox/trunk/debugger-app/pom.xml
pdfbox/trunk/debugger/pom.xml
pdfbox/trunk/examples/pom.xml
pdfbox/trunk/fontbox/pom.xml
pdfbox/trunk/parent/pom.xml
pdfbox/trunk/pdfbox/pom.xml
pdfbox/trunk/pom.xml
pdfbox/trunk/preflight-app/pom.xml
pdfbox/trunk/preflight/pom.xml
pdfbox/trunk/tools/pom.xml
pdfbox/trunk/xmpbox/pom.xml

Modified: pdfbox/trunk/app/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/app/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/app/pom.xml (original)
+++ pdfbox/trunk/app/pom.xml Thu Oct 15 19:51:52 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/debugger-app/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/debugger-app/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/debugger-app/pom.xml (original)
+++ pdfbox/trunk/debugger-app/pom.xml Thu Oct 15 19:51:52 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/debugger/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/debugger/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/debugger/pom.xml (original)
+++ pdfbox/trunk/debugger/pom.xml Thu Oct 15 19:51:52 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/examples/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/examples/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/examples/pom.xml (original)
+++ pdfbox/trunk/examples/pom.xml Thu Oct 15 19:51:52 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/fontbox/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/fontbox/pom.xml (original)
+++ pdfbox/trunk/fontbox/pom.xml Thu Oct 15 19:51:52 2015
@@ -21,7 +21,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/parent/pom.xml (original)
+++ pdfbox/trunk/parent/pom.xml Thu Oct 15 19:51:52 2015
@@ -29,7 +29,7 @@
 
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 pom
 
 PDFBox parent
@@ -369,10 +369,4 @@
 
 
 
-
-  
-
scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/2.0.0-RC1/pdfbox-parent
-
scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/2.0.0-RC1/pdfbox-parent
-
http://svn.apache.org/viewvc/maven/pom/tags/2.0.0-RC1/pdfbox-parent
-  
 

Modified: pdfbox/trunk/pdfbox/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/pdfbox/pom.xml (original)
+++ pdfbox/trunk/pdfbox/pom.xml Thu Oct 15 19:51:52 2015
@@ -23,7 +23,7 @@
 
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
 
 

Modified: pdfbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=1708884=1708883=1708884=diff
==
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Oct 15 19:51:52 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 parent/pom.xml
   
 
@@ -34,12 +34,12 @@
 
   
 
-  scm:svn:http://svn.apache.org/repos/asf/pdfbox/tags/2.0.0-RC1
+  scm:svn:http://svn.apache.org/repos/asf/pdfbox/trunk
 
 
-  scm:svn:https://svn.apache.org/repos/asf/pdfbox/tags/2.0.0-RC1
+  scm:svn:https://svn.apache.org/repos/asf/pdfbox/trunk
 
-http://svn.apache.org/viewvc/pdfbox/tags/2.0.0-RC1
+http://svn.apache.org/viewvc/pdfbox/trunk
   
 
   

Modified: pdfbox/trunk/preflight-app/pom.xml
URL: 

svn commit: r1708885 - /pdfbox/cmssite/trunk/content/2.0/migration.md

2015-10-15 Thread msahyoun
Author: msahyoun
Date: Thu Oct 15 20:12:52 2015
New Revision: 1708885

URL: http://svn.apache.org/viewvc?rev=1708885=rev
Log:
PDFBOX-3030: 2nd iteration to migration guide

Modified:
pdfbox/cmssite/trunk/content/2.0/migration.md

Modified: pdfbox/cmssite/trunk/content/2.0/migration.md
URL: 
http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/content/2.0/migration.md?rev=1708885=1708884=1708885=diff
==
--- pdfbox/cmssite/trunk/content/2.0/migration.md (original)
+++ pdfbox/cmssite/trunk/content/2.0/migration.md Thu Oct 15 20:12:52 2015
@@ -23,8 +23,11 @@ For test support the libraries are updat
 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. Most notably 
`getCOSDictionary()` is no longer used. Instead
-`getCOSObject` now returns the matching `COSBase` subtype. 
+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`  
+- `PDXObjectImage` was renamed to `PDImageXObject`
 
 ### 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
@@ -34,12 +37,25 @@ results when switching to PDFBox 2.0.0.
 ### Iterating Pages
 With PDFBox 2.0.0 the prefered way to iterate through the pages of a document 
is
 
-for(PDPage page : doc.getPages())
+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.
+
+PDDocument document = PDDocument.load(new File(pdfFilename));
+PDFRenderer pdfRenderer = new PDFRenderer(document);
+int pageCounter = 0;
+for (PDPage page : document.getPages())
+{ 
+pdfRenderer.renderImageWithDPI(page, 300, ImageType.RGB);
+
+// suffix in filename will be used as the file format
+ImageIOUtil.writeImage(bim, pdfFilename + "-" + (pageCounter++) + 
".png", 300);
+}
+document.close();
 
 ### PDF Printing
 




svn commit: r969077 - in /websites/staging/pdfbox/trunk/content: ./ 2.0/migration.html

2015-10-15 Thread buildbot
Author: buildbot
Date: Thu Oct 15 20:13:11 2015
New Revision: 969077

Log:
Staging update by buildbot for pdfbox

Modified:
websites/staging/pdfbox/trunk/content/   (props changed)
websites/staging/pdfbox/trunk/content/2.0/migration.html

Propchange: websites/staging/pdfbox/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Thu Oct 15 20:13:11 2015
@@ -1 +1 @@
-1708875
+1708885

Modified: websites/staging/pdfbox/trunk/content/2.0/migration.html
==
--- websites/staging/pdfbox/trunk/content/2.0/migration.html (original)
+++ websites/staging/pdfbox/trunk/content/2.0/migration.html Thu Oct 15 
20:13:11 2015
@@ -186,15 +186,19 @@ h2:hover > .headerlink, h3:hover > .head
 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. Most notably 
getCOSDictionary() is no longer used. Instead
-getCOSObject now returns the matching COSBase 
subtype. 
+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  
+PDXObjectImage was renamed to PDImageXObject
+
 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.
 Iterating Pages
 With PDFBox 2.0.0 the prefered way to iterate through the pages of a 
document is
-for(PDPage page 
: doc.getPages())
+for(PDPage page 
: document.getPages())
 {
  ... (do 
something)
 }
@@ -202,6 +206,21 @@ results when switching to PDFBox 2.0.0.<
 
 
 PDF Rendering
+With PDFBox 2.0.0 PDPage.convertToImagehas been removed. 
Instead the new PDFRenderer class shall be used.
+PDDocument document = PDDocument.load(new File(pdfFilename));
+PDFRenderer pdfRenderer = new PDFRenderer(document);
+int pageCounter = 0;
+for (PDPage page : 
document.getPages())
+{ 
+pdfRenderer.renderImageWithDPI(page, 300, ImageType.RGB);
+
+// suffix in filename will 
be used as 
the file format
+ImageIOUtil.writeImage(bim, pdfFilename 
+ - + (pageCounter++) 
+ .png, 300);
+}
+document.close();
+
+
+
 PDF Printing
 With PDFBox 2.0.0 PDFPrinter has been removed.
 Users of PDFPrinter.silentPrint() should now use this code:




svn commit: r1708878 - /pdfbox/tags/2.0.0-RC1/

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:43:16 2015
New Revision: 1708878

URL: http://svn.apache.org/viewvc?rev=1708878=rev
Log:
removed tagged version due to some missing bits

Removed:
pdfbox/tags/2.0.0-RC1/



svn commit: r1708880 - /pdfbox/trunk/pom.xml

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:48:17 2015
New Revision: 1708880

URL: http://svn.apache.org/viewvc?rev=1708880=rev
Log:
added new sub projects to be released

Modified:
pdfbox/trunk/pom.xml

Modified: pdfbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=1708880=1708879=1708880=diff
==
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Oct 15 19:48:17 2015
@@ -108,8 +108,11 @@
 
 
 
+
+
 
 
+
   
 
 




svn commit: r1708853 - /pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/PDFAIdentificationSchema.java

2015-10-15 Thread msahyoun
Author: msahyoun
Date: Thu Oct 15 17:21:56 2015
New Revision: 1708853

URL: http://svn.apache.org/viewvc?rev=1708853=rev
Log:
PDFBOX-3027: allow conformance level 'U' as a valid entry

Modified:

pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/PDFAIdentificationSchema.java

Modified: 
pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/PDFAIdentificationSchema.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/PDFAIdentificationSchema.java?rev=1708853=1708852=1708853=diff
==
--- 
pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/PDFAIdentificationSchema.java
 (original)
+++ 
pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/PDFAIdentificationSchema.java
 Thu Oct 15 17:21:56 2015
@@ -148,11 +148,11 @@ public class PDFAIdentificationSchema ex
  * @param value
  *The conformance level value to set
  * @throws BadFieldValueException
- * If Conformance Value not 'A' or 'B'
+ * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and 
PDF/A-3)
  */
 public void setConformance(String value) throws BadFieldValueException
 {
-if (value.equals("A") || value.equals("B"))
+if (value.equals("A") || value.equals("B") || value.equals("U"))
 {
 TextType conf = createTextType(CONFORMANCE, value);
 addProperty(conf);
@@ -161,7 +161,7 @@ public class PDFAIdentificationSchema ex
 else
 {
 throw new BadFieldValueException(
-"The property given not seems to be a PDF/A conformance 
level (must be A or B)");
+"The property given not seems to be a PDF/A conformance 
level (must be A, B or U)");
 }
 }
 
@@ -171,19 +171,19 @@ public class PDFAIdentificationSchema ex
  * @param conf
  *The conformance level property to set
  * @throws BadFieldValueException
- * If Conformance Value not 'A' or 'B'
+ * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and 
PDF/A-3)
  */
 public void setConformanceProperty(TextType conf) throws 
BadFieldValueException
 {
 String value = conf.getStringValue();
-if (value.equals("A") || value.equals("B"))
+if (value.equals("A") || value.equals("B") || value.equals("U"))
 {
 addProperty(conf);
 }
 else
 {
 throw new BadFieldValueException(
-"The property given not seems to be a PDF/A conformance 
level (must be A or B)");
+"The property given not seems to be a PDF/A conformance 
level (must be A, B or U)");
 }
 }
 




svn commit: r1708874 - in /pdfbox/trunk: app/pom.xml debugger-app/pom.xml debugger/pom.xml examples/pom.xml fontbox/pom.xml parent/pom.xml pdfbox/pom.xml pom.xml preflight-app/pom.xml preflight/pom.xm

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:19:27 2015
New Revision: 1708874

URL: http://svn.apache.org/viewvc?rev=1708874=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
pdfbox/trunk/app/pom.xml
pdfbox/trunk/debugger-app/pom.xml
pdfbox/trunk/debugger/pom.xml
pdfbox/trunk/examples/pom.xml
pdfbox/trunk/fontbox/pom.xml
pdfbox/trunk/parent/pom.xml
pdfbox/trunk/pdfbox/pom.xml
pdfbox/trunk/pom.xml
pdfbox/trunk/preflight-app/pom.xml
pdfbox/trunk/preflight/pom.xml
pdfbox/trunk/tools/pom.xml
pdfbox/trunk/xmpbox/pom.xml

Modified: pdfbox/trunk/app/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/app/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/app/pom.xml (original)
+++ pdfbox/trunk/app/pom.xml Thu Oct 15 19:19:27 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/debugger-app/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/debugger-app/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/debugger-app/pom.xml (original)
+++ pdfbox/trunk/debugger-app/pom.xml Thu Oct 15 19:19:27 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/debugger/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/debugger/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/debugger/pom.xml (original)
+++ pdfbox/trunk/debugger/pom.xml Thu Oct 15 19:19:27 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/examples/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/examples/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/examples/pom.xml (original)
+++ pdfbox/trunk/examples/pom.xml Thu Oct 15 19:19:27 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/fontbox/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/fontbox/pom.xml (original)
+++ pdfbox/trunk/fontbox/pom.xml Thu Oct 15 19:19:27 2015
@@ -21,7 +21,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
   
 

Modified: pdfbox/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/parent/pom.xml (original)
+++ pdfbox/trunk/parent/pom.xml Thu Oct 15 19:19:27 2015
@@ -29,7 +29,7 @@
 
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 pom
 
 PDFBox parent
@@ -369,10 +369,4 @@
 
 
 
-
-  
-
scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/2.0.0-RC1/pdfbox-parent
-
scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/2.0.0-RC1/pdfbox-parent
-
http://svn.apache.org/viewvc/maven/pom/tags/2.0.0-RC1/pdfbox-parent
-  
 

Modified: pdfbox/trunk/pdfbox/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/pdfbox/pom.xml (original)
+++ pdfbox/trunk/pdfbox/pom.xml Thu Oct 15 19:19:27 2015
@@ -23,7 +23,7 @@
 
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 ../parent/pom.xml
 
 

Modified: pdfbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=1708874=1708873=1708874=diff
==
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Oct 15 19:19:27 2015
@@ -23,7 +23,7 @@
   
 org.apache.pdfbox
 pdfbox-parent
-2.0.0-RC1
+2.0.0-SNAPSHOT
 parent/pom.xml
   
 
@@ -34,12 +34,12 @@
 
   
 
-  scm:svn:http://svn.apache.org/repos/asf/pdfbox/tags/2.0.0-RC1
+  scm:svn:http://svn.apache.org/repos/asf/pdfbox/trunk
 
 
-  scm:svn:https://svn.apache.org/repos/asf/pdfbox/tags/2.0.0-RC1
+  scm:svn:https://svn.apache.org/repos/asf/pdfbox/trunk
 
-http://svn.apache.org/viewvc/pdfbox/tags/2.0.0-RC1
+http://svn.apache.org/viewvc/pdfbox/trunk
   
 
   

Modified: pdfbox/trunk/preflight-app/pom.xml
URL: 

svn commit: r1708873 - /pdfbox/tags/2.0.0-RC1/

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:19:16 2015
New Revision: 1708873

URL: http://svn.apache.org/viewvc?rev=1708873=rev
Log:
[maven-release-plugin] copy for tag 2.0.0-RC1

Added:
pdfbox/tags/2.0.0-RC1/   (props changed)
  - copied from r1708872, pdfbox/trunk/

Propchange: pdfbox/tags/2.0.0-RC1/
--
--- svn:ignore (added)
+++ svn:ignore Thu Oct 15 19:19:16 2015
@@ -0,0 +1,2 @@
+.*
+target

Propchange: pdfbox/tags/2.0.0-RC1/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Oct 15 19:19:16 2015
@@ -0,0 +1,2 @@
+/pdfbox/branches/no-awt:1618517-1621410
+/pdfbox/no-awt:1618514-1618516




svn commit: r1708875 - in /pdfbox/cmssite/trunk: content/2.0/migration.md templates/skeleton.html

2015-10-15 Thread msahyoun
Author: msahyoun
Date: Thu Oct 15 19:21:58 2015
New Revision: 1708875

URL: http://svn.apache.org/viewvc?rev=1708875=rev
Log:
PDFBOX-3030: initial migration guide

Added:
pdfbox/cmssite/trunk/content/2.0/migration.md
Modified:
pdfbox/cmssite/trunk/templates/skeleton.html

Added: pdfbox/cmssite/trunk/content/2.0/migration.md
URL: 
http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/content/2.0/migration.md?rev=1708875=auto
==
--- pdfbox/cmssite/trunk/content/2.0/migration.md (added)
+++ pdfbox/cmssite/trunk/content/2.0/migration.md Thu Oct 15 19:21:58 2015
@@ -0,0 +1,77 @@
+Title: PDFBox 2.0.0 Migration Guide 
+
+# Migration to PDFBox 2.0.0
+
+## Environment
+PDFBox 2.0.0 requires at least Java 6
+ 
+## 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. Most notably 
`getCOSDictionary()` is no longer used. Instead
+`getCOSObject` now returns the matching `COSBase` subtype. 
+
+### 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.
+
+### Iterating Pages
+With PDFBox 2.0.0 the prefered way to iterate through the pages of a document 
is
+
+for(PDPage page : doc.getPages())
+{
+ ... (do something)
+}
+
+### PDF Rendering
+
+### PDF Printing
+
+With PDFBox 2.0.0 `PDFPrinter` has been removed.
+
+Users of `PDFPrinter.silentPrint()` should now use this code:
+
+PrinterJob job = PrinterJob.getPrinterJob();
+job.setPageable(new PDFPageable(document));
+job.print();
+
+While users of `PDFPrinter.print()` should now use this code:
+
+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
+
+### 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
+
+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.
+

Modified: pdfbox/cmssite/trunk/templates/skeleton.html
URL: 
http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/templates/skeleton.html?rev=1708875=1708874=1708875=diff
==
--- pdfbox/cmssite/trunk/templates/skeleton.html (original)
+++ pdfbox/cmssite/trunk/templates/skeleton.html Thu Oct 15 19:21:58 2015
@@ -106,6 +106,7 @@
 
 2.0.0 (trunk)
 
+Migration 
Guide
 Getting 
Started
 Examples
 Dependencies




svn commit: r1708870 - /pdfbox/trunk/RELEASE-NOTES.txt

2015-10-15 Thread lehmi
Author: lehmi
Date: Thu Oct 15 19:15:50 2015
New Revision: 1708870

URL: http://svn.apache.org/viewvc?rev=1708870=rev
Log:
prepare 2.0.0-RC1 release

Modified:
pdfbox/trunk/RELEASE-NOTES.txt

Modified: pdfbox/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/RELEASE-NOTES.txt?rev=1708870=1708869=1708870=diff
==
--- pdfbox/trunk/RELEASE-NOTES.txt (original)
+++ pdfbox/trunk/RELEASE-NOTES.txt Thu Oct 15 19:15:50 2015
@@ -1,143 +1,1113 @@
-Release Notes -- Apache PDFBox -- Version 1.8.0
+Release Notes -- Apache PDFBox -- Version 2.0.0-RC1
 
 Introduction
 
 
 The Apache PDFBox library is an open source Java tool for working with PDF 
documents.
 
-This is an incremental feature release based on the earlier 1.x releases.
-This release contains many improvements and fixes especially related to
-performance, resource usage and rendering. The most significant 
-new features are the first official release of the new PDF/A preflight module 
as
-part of Apache PDFBox and the improved signature abilities.
+This is a first release candidate for the upcoming major release 2.0.0 of 
PDFBox.
+This release contains a lot of improvements, fixes and refactorings. The API 
is 
+supposed to be stable, but we can't guarantee that there won't be any last 
changes
+to it before providing the final release candidate.
 
 For more details on these changes and all the other fixes and improvements
 included in this release, please refer to the following issues on the
 PDFBox issue tracker at https://issues.apache.org/jira/browse/PDFBOX.
 
-New features
+Sub-task
 
-[PDFBOX-46] - Support XFA form submitting
-[PDFBOX-81] - Excetion while extracting images
-[PDFBOX-84] - Read PDF XFA Form Contents
-[PDFBOX-127] - Accessing XML-Forms (patch provided)
-[PDFBOX-1067] - PDF Scan from Xerox WorkCentre 5030 renders as all black
-[PDFBOX-1514] - Improved overlay cammand line tool
-
-Improvements
-
-[PDFBOX-1246] - Allow resolution to be defined when calling 
ImageIOUtil.writeImage
-[PDFBOX-1312] - Refactor the PdfA parser
-[PDFBOX-1352] - xmpbox refactoring
-[PDFBOX-1367] - Do not generate preflight jar with dependencies at each build
-[PDFBOX-1369] - support getting file pointer from RandomAccessRead interface
-[PDFBOX-1377] - Simplify PDF/A schema parsing
-[PDFBOX-1387] - Create NonSequentialParser with InputStream
-[PDFBOX-1388] - Create a branch to refactor xmpbox
-[PDFBOX-1392] - Enable usage of compressionQuality when creating a PDJpeg
-[PDFBOX-1399] - Add an example on how to extract embedded files
-[PDFBOX-1418] - Improved font mapping
-[PDFBOX-1423] - An error exists on this page. Acrobat may not display the page 
correctly
-[PDFBOX-1425] - Make PositionWrapper.getTextPosition public
-[PDFBOX-1439] - Problems with Image Extraction from PDF
-[PDFBOX-1468] - Decrypting unencrypted strings
-[PDFBOX-1488] - Add generics to the COSArrayList class
-[PDFBOX-1492] - Add basic XFA extraction
-[PDFBOX-1513] - PDF signature improvements
-[PDFBOX-1536] - Improve the ExtractEmbeddedFiles example to deal with 
different kind of 
-trees representing the embedded files
-
-Bug Fixes
-
-[PDFBOX-137] - Does not detect paper format
-[PDFBOX-811] - EmbeddedFiles example does not work
-[PDFBOX-819] - PDFBox prints landscape documents as portrait
-[PDFBOX-927] - Problem on writing some kind of images to a File in filesystem
-[PDFBOX-969] - IndexOutOfBound whle creating a Type1C font
-[PDFBOX-985] - PDF Printing Orientation
-[PDFBOX-992] - IndexOutOfBoundsException: while parsing few pdf's
-[PDFBOX-1072] - PDFImageWriter extracts black images from arabic PDFs
-[PDFBOX-1084] - java.lang.NumberFormatException when getting PDF text of some 
PDF file if 
-dup line does not contains font index
-[PDFBOX-1130] - ExtractText -html doesn't always close the  tags it opens
-[PDFBOX-1138] - Printing fails for pages in landscape format
-[PDFBOX-1169] - Images extracted from PDF are loosing color (are shown in 
blackcolor)
-[PDFBOX-1191] - Lost information while extracting images from pdf scanned by 
XEROX
-[PDFBOX-1298] - java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-2)
-[PDFBOX-1344] - xml namespace problem in ResourceRef
-[PDFBOX-1346] - Can't assign an arbitrary string value to an editable acroform 
combobox
-[PDFBOX-1359] - stack overflow~~ ExtractText (PDF2TXT)
-[PDFBOX-1362] - Slovakian characters
-[PDFBOX-1364] - Error On MetaData
-[PDFBOX-1365] - Error On MetaData: The Metadata entry doesn't reference a 
stream object
-[PDFBOX-1368] - Xmp validation KO if there are complex type in a seq element
-[PDFBOX-1371] - MetaData : Trapped property
-[PDFBOX-1373] - Body Syntax Error : Possible Encoding problem
-[PDFBOX-1374] - Error On MetaData: Title
-[PDFBOX-1376] - xmpbox cannot parse structured types containing structured 
types
-[PDFBOX-1378] - [PATCH] COSArray: Avoid NullPointerException in setString

svn commit: r969074 [2/2] - in /websites/staging/pdfbox/trunk/content: ./ 1.8/ 1.8/cookbook/ 2.0/ 2.0/cookbook/ docs/1.8.2/ docs/2.0.0-SNAPSHOT/javadocs/ docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox

2015-10-15 Thread buildbot
Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDButton.html
==
--- 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDButton.html
 (original)
+++ 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDButton.html
 Thu Oct 15 19:22:41 2015
@@ -390,7 +390,7 @@ extends getValueAsStringin
 classPDField
-Returns:The fields value as a String 
representation.
+Returns:The list of widget 
annotations.
 
 
 

Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDChoice.html
==
--- 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDChoice.html
 (original)
+++ 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDChoice.html
 Thu Oct 15 19:22:41 2015
@@ -697,7 +697,7 @@ extends getValueAsStringin
 classPDField
-Returns:The fields value as a String 
representation.
+Returns:The list of widget 
annotations.
 
 
 

Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDField.html
==
--- 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDField.html
 (original)
+++ 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDField.html
 Thu Oct 15 19:22:41 2015
@@ -321,7 +321,7 @@ implements http://download.oracle.com/javase/1.6.0/docs/api/java/lang/String.html?is-external=true;
 title="class or interface in 
java.lang">StringgetValueAsString()
 Returns a string representation of the "V" entry, or an 
empty string.
-Returns:The fields value as a 
String representation.
+Returns:The list of widget 
annotations.
 
 
 
@@ -349,7 +349,7 @@ implements PDNonTerminalField 
the list will be empty as non terminal fields
  have no visual representation in the form.
-Returns:the List of PDAnnotationWidget
 associated with the field.
+Returns:A non-null 
string.
 
 
 

Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDNonTerminalField.html
==
--- 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDNonTerminalField.html
 (original)
+++ 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDNonTerminalField.html
 Thu Oct 15 19:22:41 2015
@@ -337,7 +337,7 @@ extends getValueAsStringin
 classPDField
-Returns:The fields value as a String 
representation.
+Returns:The list of widget 
annotations.
 
 
 
@@ -417,7 +417,7 @@ extends getWidgetsin
 classPDField
-Returns:the List of PDAnnotationWidget
 associated with the field.
+Returns:A non-null string.
 
 
 

Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDPushButton.html
==
--- 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDPushButton.html
 (original)
+++ 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDPushButton.html
 Thu Oct 15 19:22:41 2015
@@ -332,7 +332,7 @@ extends getValueAsStringin
 classPDButton
-Returns:The fields value as a String 
representation.
+Returns:The list of widget 
annotations.
 
 
 

Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDSignatureField.html
==
--- 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDSignatureField.html
 (original)
+++ 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDSignatureField.html
 Thu Oct 15 19:22:41 2015
@@ -380,7 +380,7 @@ publicvoidsetSignature(
 Specified by:
 getValueAsStringin
 classPDField
-Returns:The fields value as a String 
representation.
+Returns:The list of widget 
annotations.
 
 
 

Modified: 
websites/staging/pdfbox/trunk/content/docs/2.0.0-SNAPSHOT/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDTextField.html
==
---