Re: [iText-questions] concationate multiple PDF documents that are generated in code

2006-10-28 Thread Tony Akocs
I have found and implemented a way to concatenate multiple PDFs together.  Here is the code that got me most of the way there. I had to retype this code in by hand so there may be some small errors . This code concationates PDF files in memory and streamed them to a File. Once I had this working I

Re: [iText-questions] concationate multiple PDF documents that are generated in code

2006-10-23 Thread Bruno Lowagie
Tony Akocs wrote: > I display the consolidated documents in a browser in a ServletOutputStream. OK, but you use the workaround for MSIE, do you? In that case you create a ByteArrayOutputStream first. > I do not have a byte[ ], just the Document object I think we are talking a different language.

Re: [iText-questions] concationate multiple PDF documents that are generated in code

2006-10-23 Thread Tony Akocs
I display the consolidated documents in a browser in a ServletOutputStream.   I do not have a byte[ ], just the Document object   Here is what I would like to do I generate the PDF Document, then place the Document in a java.util.List. After I am done populating the List with PDF Documents. I want

Re: [iText-questions] concationate multiple PDF documents that are generated in code

2006-10-23 Thread Bruno Lowagie
Tony Akocs wrote: > I generate multiple PDF Documents in my code and display them one at a time. Define 'display'. You send them to a browser in a ServletOutputStream? > I want to be able to add them to a List object Define 'them'. Do you mean you want to add byte[] to a List object? Is this Lis

[iText-questions] concationate multiple PDF documents that are generated in code

2006-10-23 Thread Tony Akocs
I generate multiple PDF Documents in my code and display them one at a time. I want to be able to add them to a List object and when I'm done populating the list add them together in one master PDF Document to display to the user. Can this be done. I do not want to have to save these PDF files to t