Hello Mark, Mark Storer [[email protected]] wrote: >Is this other library flattening the form as well? That can get >pricey, computation-wise. Is it appending its changes to the >existing PDF, or rewriting everything? Are both Java libraries? > Yes, the alternative library is pure Java and does the flattening of the form too. I implemented the exact same use-case and they generate an almost identical PDF Letter: - create a new empty document in memory - load PDF part templates i.e. a PDF file that contains only a header part. - populate and flatten the part templates if needed e.g. fields - add the populated parts to specific coordinates in the new document - create tables dynamically with pre-populated form fields - add the populated tables to specific coordinates in the new document - add dynamic text to the new document e.g. date, preamble, specific notes, etc. I will post the full iText code that shows the use-case (and workload) I used for doing this micro-benchmarking. Best regards, Giovanni
------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
