Thanks, I will look into that.
Sean Conlon wrote:
>
>
> PdfReader reader reader = new PdfReader("yourFile.pdf" null);
>
> reader.isRebuilt();
>
>
> I remember this had something to deal with determining whether the file
> was corrupt, but I read that a while back. Hope this at least leads you
> to the correct answer.
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> 021336
> Sent: Tuesday, October 23, 2007 3:58 PM
> To: [email protected]
> Subject: [iText-questions] detecting corrupt PDF files with iText
>
>
> I am new to iText.
>
> Does iText have a built-in function for checking if a specified PDF file
> is
> corrupt (e.g., like getting page counts)?
>
> If not, I saw in another thread that looping through all the objects in
> the
> dictionary would throw an exception if the object is corrupt. Is this
> the
> recommended approach for solving this problem or is there a better
> approach?
>
> If I detect a corrupt object this way, is there an easy way to determine
> what page the object resides on?
>
> Thanks for any assistance you can provide.
> --
> View this message in context:
> http://www.nabble.com/detecting-corrupt-PDF-files-with-iText-tf4680326.h
> tml#a13373627
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>
--
View this message in context:
http://www.nabble.com/detecting-corrupt-PDF-files-with-iText-tf4680326.html#a13377631
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/