You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2012/08/06 22:52:27 UTC
svn commit: r1370010 -
/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
Author: leleueri
Date: Mon Aug 6 20:52:27 2012
New Revision: 1370010
URL: http://svn.apache.org/viewvc?rev=1370010&view=rev
Log:
[https://issues.apache.org/jira/browse/PDFBOX-1312] Addition of getPrefligthDocument method
Modified:
pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java?rev=1370010&r1=1370009&r2=1370010&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java (original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java Mon Aug 6 20:52:27 2012
@@ -202,4 +202,8 @@ public class PreflightParser extends PDF
// Add XMP MetaData
return document;
}
+
+ public PreflightDocument getPreflightDocument() throws IOException {
+ return (PreflightDocument)getPDDocument();
+ }
}
\ No newline at end of file