> Ahh, thanks for that, I hadn't realised the permissions would > be applied to the itext manipulations done on the PDF, I > thought they came into force when the stamper was closed. I > also hadn't realised what the ALLOW_FILL_IN permission was for.
Close, but no cigar. iText doesn't generate appearances for XFA forms at all, that's why you cannot flatten them (successfully). Acrobat/Reader does. And without the ALLOW_FILL_IN flag, it looks like they won't do it. And allow me to echo Leonard's response in that you can set the fields to locked (or read only?) in the XFA. Not sure how exactly... XFA isn't exactly my Field of Expertise. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer<Cardiff> DisCard = null; ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/