Caron van Schalkwyk wrote:

Does anyone have any suggestions or recommendations for using the .pdf template approach rather than the xhmtl parser approach?

The XHTML parser method is very frustrating because it's very difficult to control the layout.
If you use an AcroForm, you can have complete control.
You can have a graphical designer design your form (NOT using XFA technology) and fill in the form with iText. If the design changes, you don't have to change your code.
If your data is straightforward, you can create (X)FDF files and merge them.
If your data is rather complex, you need to retrieve the coordinates of the fields and write the data at their positions for instance using ColumnText or PdfContentByte.
For some very rudimental examples, see:
http://itextdocs.lowagie.com/tutorial/forms/
http://itextdocs.lowagie.com/tutorial/forms/fill/
http://itextdocs.lowagie.com/tutorial/forms/create/
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to