Aaron J Weber wrote:

Does anyone have any example java illustrating the filling of PDF Forms?

First a clarification:
you can use iText to fill in AcroForms (forms created with Acrobat),
not to fill in XFA Forms (forms created with LiveCycle).

I thought I saw some, but lost it. I see that the "iText by Example" has still left that to be filled-in (the rest of that work is tremendously helpful).

The tutorial isn't updated because I have written a book about iText.
This book is now being revised by an editor (it isn't published yet).

 <>Any links, pointers, sample code, etc. would be just great!

Suppose you have a form like this:
http://itextdocs.lowagie.com/tutorial/forms/fill/SimpleRegistrationForm.pdf
Then you can turn it into a form like this:
http://itextdocs.lowagie.com/tutorial/forms/fill/registered.pdf
or into a flattened PDF (without a form) like this:
http://itextdocs.lowagie.com/tutorial/forms/fill/registered_flat.pdf
The code to do this looks like this:
http://itextdocs.lowagie.com/examples/com/lowagie/examples/forms/fill/Register.java

There's much more to tell about forms.
The book will have examples that tell you how to fit the text
into a text field if the text is too long, how to replace a button
field by an image, and so on...
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to