What is flattened is the appearances. If you want to make sure that
there are appearances set all the fields with the retrieved values.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Dominic Maricic
> Sent: Friday, September 23, 2005 4:10 AM
> To: [email protected]
> Subject: [iText-questions] Flatten almost All fields
> 
> I have about 200 fields in my form. I want to flatten all of 
> them except whether
> they are filled or not, except for 5 which are to remain 
> unflattened. Whats the
> best way to do this? 
> 
> I tried using stamp.setFormFlattening(true); and then         
> stamp.partialFormFlattening("fieldName"); on all 200 fields 
> (took awhile). The
> problem with this tactict is that they only get flattened if 
> they have a value. 
> 
> If it was a textfield for example thats left blank when I 
> process the pdf, then
> the field doesn't get flattened. Thanks for the help!
> 
> Dominic
>      
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. 
> Download it for free - -and be entered to win a 42" plasma tv 
> or your very
> own Sony(tm)PSP.  Click here to play: 
> http://sourceforge.net/geronimo.php
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to