So that begs the question: If I run into a XFA Form (created with LiveCycle and intended for use with Forms Server), is there anything out here that'll help me fill those forms?
 
Thanks again, and I'll be sure to pick up the book!
 
-AJ
----- Original Message -----
From: bruno
Sent: Thursday, March 23, 2006 3:01 AM
Subject: Re: [iText-questions] Filling PDF Forms

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

Reply via email to