Hi
I need to read a template PDF, fill in some values, and write a new PDF with
the filled-in values.  My current approach is to create form fields in the
template PDF using Acrobat and then to use PdfStamper to fill in the field
data dynamically (in a Servlet, btw).  However, I need to be able to "check"
a checkbox on the original PDF.  Ideally, I would draw two diagonal lines in
the box to form an X.  However, the appearance of a checked Check Box form
field is also acceptable.  However, I can't figure out how to make a Check
Box appear to be checked using PdfStamper.  AcroFields.setField(String,
String) seems to only work with Text fields and has no apparent effect on
Check Boxes.. I see no other methods for checking a box.  So I figure maybe
I have to create an FDF and use AcroFields.setField(FdfReader) but I am not
sure how to check a Check Box using FdfWriter either.  Ideas?

Thanks
Jason


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to