I've checked as far back as the pdf 1.3 spec, and if you have an AcroForm in your Catalog then it MUST have a Fields property. But, if you use either PdfReader.removeAnnotations() or PdfReader.removeFields() then when iText deletes and rebuilds the Catalog.AcroForm, it fails to populate a new (empty) Fields array.
I only became aware of this because it caused some subsequent pdf software (other than iText) to barf. John -- View this message in context: http://www.nabble.com/PdfReader.removeAnnotations-leaves-the-PDF-in-an-invalid-state-tp19629614p19629614.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
