Re: corrupt PDF generated

hablutzel1 <[email protected]>
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <[email protected]>
How can the appearances be regenerated or the file marked as needing
appearances regeneration? Can this be done without
"com.itextpdf.text.pdf.AcroFields#regenerateField"? Because as far as I can
see, you need a "PdfStamper" to load an "AcroFields" instance, so this would
create a new PDF incremental update if I'm not wrong. 

Is there anyway to get appearances regenerated for fields inmediately after
something like this:



Failing to regenerate appearances for the previous snippet would not display
the "Default value not shown if appearances are not regenerated", because
this widget appearance is bound to "new Rectangle(0,0)" inmediately after
the "text.getTextField()" call.

PS: Currently working with itext 5.0.6



--
View this message in context: http://itext-general.2136553.n4.nabble.com/corrupt-PDF-generated-tp2172523p4660247.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.