Sawant, Ramdas (IT) wrote:

> Hi all,
>
>            
>
> <>            I am a novice to itext. Not much work done. Please 
> correct me where ever necessary. 
>
> I want to create a form (like HTML form ) to enter the information and 
> submit it to the server.  
>
> <>First, is it possible?

Yes, but it's a lot of work because you have to position every field 
(define coordinates).

> <> <>I have seen PdfAcroForm with methods like 
> addHtmlPostButton(),addFormField(), etc.   <>
> Is this the right approach, using PdfAcroForm, for my problem.

No.
You need to create a PdfFormField object and add it to a document
using PdfWriter.addAnnotation. To help you there are objects such
as PushbuttonField and TextField that make it easier to create the fields.

> <> <>In addition, i am facing a problem with getting an instance of 
> PdfAcroForm.

That's not the way to go.
br,
Bruno

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to