Hi Balder, Ed and All,
I'm sorry for the poorly worded request for help. I was looking for
advise on the general approach I should/could use. Not looking for example
code. Just wanted to be pointed in the right direction. I tried it the way
I thought it should work and that is not the way to go. I was hoping I had
overlooked an obvious utility method.
I got the results I desired by using PdfCopyFields. I got a reference to
the response output stream and defined the PdfCopyFields with the output
stream in the constructor. I then looped through my database records and
created each pdf, stamped the page numbers and called
PdfCopyFields.addDocument(new PdfReader(baos.toByteArray())); for each
report. I then finish the report loop, close the instance of PdfCopyFields
and call flush() and then close() on the above mentioned output stream.
Thanks for assisting me. iText does it again.
--
Tim Troy
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php