[EMAIL PROTECTED] wrote:
Hi.But if i know that your name will be only on one line and 'how are you?' on
other,could i do such template?And also, i can write such example as
Paragraph p=new Paragraph("Hi,");
p.add("Bruno Lowagie");
p.add("\nHow are you?");
In such way,i supose that it is not important the length of yout name,isn't it?
Then replace p.add("Bruno Lowagie") and add a TextField instead.
Use a Chunk with a genericTag to do this.
That way, you will have a PDF template.
You can then use PdfStamper to fill in the TextField and
generate your 10 PDFs very, very quickly.
That way we are back at my original answer: use an AcroForm
(but that's the answer you rejected for reasons I do not understand).
br,
Bruno
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions