This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by Rahul Bhattacharjee: Does iText support some sort of template file
You could use a PDF document containing an AcroForm, then use iText to fill in the fields that are inside this form. If you have a PDF without these AcroFields, you could still use PdfStamper to add text or images (a watermark) at specific coordinates on the page. There's also an example in the book (chapter 14) where I have a letter in XML with some empty tags that should be replaced by a name, an address,... In the real world I use this technique to create a document with 27,000 pages. Each page is an invoice for the students of Ghent University with a detailled descriptions of the different study programs he or she has subscribed too.
Note that PDF is not a format that is suitable for editing! PDF is a Page Definition Language (PDF), not a Word processing format.