On 4/07/2011 16:48, grv1984 wrote: > My question is - Is form flattening achieves same functionality as setting > the PDF's fields read-only. No, it isn't.
Form flattening takes away all interactivity from the form. Fields that are stored as "PDF dictionary objects" are removed and the content is stored in an XObject that is used in the content stream of a page. If you ask the resulting PDF for the value of that field, it will be null, as the field is no longer present. Setting a field read only keeps the field dictionary. It just changes the value of a flag that tells a viewer application that the field should not be changed by a user. Using software this field can be changed to make the field editable again. You can also ask the PDF file for the value of the field. In other words: there's a huge difference between form flattening and setting fields read only. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
