On 28/06/2011 15:51, Павел Лобанов wrote:
Hi!
How can i flatten all annotations and form fields in PDF document.
I try :
PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(
document_out));
stamper.setFreeTextFlattening(true);
stamper.setFormFlattening(true);
stamper.close();
But at the end only FreeText Tool annotations is flatten.
Is there any another way?
No Form flattening is about flattening form fields,
not about flattening other annotations.
Flattening other annotations isn't supported.
PS:
you have posted a mail to itext-questions@lists.sourceforge.net but you
weren't subscribed.
You are receiving this answer because I've added your mail address in Bcc:
I will do this only once! Further answers will be sent to the
mailing-list only (you won't receive them if you don't subscribe).
Further questions to the mailing-list will be rejected unless you
subscribe. Further questions sent to the 1t3xt address will be ignored.
Please understand that, as long as you don't subscribe, somebody has to
MANUALLY approve your mail among a huge load of SPAM. You can help us
avoid this boring administrative job by following the rules:
http://itextpdf.com/support.php
------------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
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