Matthias Pretzer schreef op 5/11/2013 15:28:
> Any Ideas? Was the API changed? If so, where can I get updated
> documentation?

I consulted with the core developers.

The problem is caused by the form. The datasheets.pdf has the 
NeedAppearances flag set, and since the most recent release, this flag 
is respected in the sense that the document expects Adobe Reader, not 
iText, to generate the appearances. Of course: this doesn't make sense 
if it's your intention to flatten the form.

You can fix your problem by overriding the NeedAppearances flag like 
this: stamper.getAcroFields().setGenerateAppearances(true);

The example on the site will be updated with the next release.

Note that you're not subscribed to the mailing-list. Further questions 
sent to the list may be ignored by accident because of that.

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to