M 501 wrote:

One way would be to generate pdf with acroforms and store them on the server and afterwards fill them with data.

This is the best way, but it doesn't work if you have paragraphs in which you have to fit a name or other data.
In this case, I use an XML file for instance:
<student /> has been following courses from <startdate /> to <enddate />. He has successfully participated to all the exams and earned a degree in <degree />.
For each student, I create a Hashmap:
key: student / value: Bruno Lowagie
key: startdate / value: October 1, 1994
key: enddate / value: July 7, 1995
key: degree / value: Civil Engineering
Then I parse the XML to PDF with the com.lowagie.text.xml package.
br,
Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to