-------------- Original message ----------------------
From: Renjan Bhasi <[email protected]>
>
> Hi,
> 
> I have a pdf document, which don't have any acro-form fields in it. My
> requirement is to fill some data dynamically into the pdf, against some
> fields like, name, age, address etc. To make it more clear, the pdf is kind
> of a form, where user is currently printing the pdf and then filling the
> details using a pen. I want to fill the form programmatically (using iText).
> *
> 
> Initial Document
> *
<snip>
> If it is not possible with iText, is there any other tools which I can use
> to accomplish this task of creating acro-fields to my current pdf. If this
> is possible, I know how to fill dynamic data using iText.
> 

It is indeed possible with iText. The example TextFields.java in the iText 
Tutorial shows you how to create an AcroForm with text fields on it. You can 
easily generate multiple fields programatically if the spacing of the fields is 
uniform.

You can find examples of how this has been done for PDF forms with hundreds of 
fields at http://segraves.tripod.com.

If oyu don't have Bruno's book, _iText in Action_, you should get a copy if you 
wish to be successful in this endeavor.

Best regards,
Bill Segraves


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to