Zenith wrote:

> So The other option what I have in my mind is to parse through csv and then
> generate a pdf, dropping the idea of generating a template.

That makes sense.
You'd need chapter 14 to know how to do that:
http://itext.ugent.be/itext-in-action/examples/chapter14/SimpleLetter.java
In the example, a background template:
http://itext.ugent.be/itext-in-action/examples/chapter14/results/simple_letter.pdf
is merged with a letter:
http://itext.ugent.be/itext-in-action/examples/chapter14/resources/simple_letter.xml
Resulting in different PDFs like this:
http://itext.ugent.be/itext-in-action/examples/chapter14/results/simple_letter1.pdf
http://itext.ugent.be/itext-in-action/examples/chapter14/results/simple_letter2.pdf
Piece of cake,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to