pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leleu...@apache.org
Subject svn commit: r1370010 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
Date Mon, 06 Aug 2012 20:52:27 GMT
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



Mime
View raw message