Hi Paulo,

My initial idea was to create this pdf programmatically and place in the dynamic data as i went along.

However, this process of building a pdf is quite tedious. I know little about fonts, points, rgb, etc.

Perhaps a better approach would be:

1. Convert the existing pdf application form into an AcroForm (quite easy with the right software?). 2. use iText, as per examples, to populate the pdf and return to the users browser.

I think thats what you are saying in your email. The examples on the site make it look (quite) easy.

It would also dramatically cut the time it takes to do dynamic pdfs.

Is this a viable approach?

Cheers

Rakesh

Paulo Soares wrote:

The problem is not putting the text, the problem is to know where to put
the text. If you by some other way know, as coordinates XY, where the
text is to be placed, you don't need AcroForms. Let's say you have a PDF
that will be used as template, where you're going to place some text
like name, address, etc.

Scenario 1
In Acrobat place acroform where you want the text to be.
Fill the acroform and flatten the resulting PDF.

Scenario 2
You know the coordinates of the text.
Place that text with PdfStamper.

Paulo

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rakesh Patel
Sent: Wednesday, April 26, 2006 9:18 AM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Clarification of usage

does that mean its not viable? How would i work out where to put the text in a plain pdf?

Paulo Soares wrote:

It will work with any PDF but the advantage of AcroForms is knowing were to write the new text.

Paulo

----- Original Message ----- From: "rakesh mailgroups" <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
Sent: Tuesday, April 25, 2006 9:57 PM
Subject: [iText-questions] Clarification of usage


Hi,

just another point which may or may not be obvious.

I have been tasked with generating an application form,
pre-populated
with
client data.

I have been given a blank pdf form. I was trying to create the pdf
programmatically and merge in my dynamic data.

I was looking through the Powerpoint slides that are
available and it
talks
about being able to load a pdf and add data to it. So
rather than try and
build the pdf in its entirety from scratch, i can just read
it in and
put in
my data.

However, does this only work for AcroForms? A special type
of pdf that
would
have been created specifically for programmatic insertions, rather than any
pdf?

Cheers

Rakesh



-------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

-------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
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=k&kid0709&bid&3057&dat1642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to