Any clue about a good library to programmatically produce a PDF in Java, using a PDF as a template?
+7
A:
try iText. It has many many goodies. There is also a book about it by Manning iText in Action
TheVillageIdiot
2009-06-12 09:29:46
+1 for iText in Action, great book
dfa
2009-06-12 09:43:49
And +1 for iText itself.
skaffman
2009-06-12 11:48:03
A:
If you want to be able to edit the Text in the template, you should set up the template carefully and use forms for text content. You can't easily replace text in PDFs because they do not contain text structure.
There is a blog article highlighting some of the issues at http://pdf.jpedal.org/java-pdf-blog/bid/17370/Problems-editing-PDF-files