Return-Path: X-Original-To: apmail-pdfbox-commits-archive@www.apache.org Delivered-To: apmail-pdfbox-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D78E2D24A for ; Mon, 6 Aug 2012 20:53:11 +0000 (UTC) Received: (qmail 62513 invoked by uid 500); 6 Aug 2012 20:53:11 -0000 Delivered-To: apmail-pdfbox-commits-archive@pdfbox.apache.org Received: (qmail 62498 invoked by uid 500); 6 Aug 2012 20:53:11 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 62490 invoked by uid 99); 6 Aug 2012 20:53:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 20:53:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 20:53:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 964142388C7E; Mon, 6 Aug 2012 20:52:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@pdfbox.apache.org From: leleueri@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120806205227.964142388C7E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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