If you generate everything there's no reason not to use a single document. Best Regards, Paulo Soares
> -----Original Message----- > From: Travis Leippi [SMTP:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 16:18 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Converting multiple TIFF plus generated > PDF to one PDF > > I am working on a project where the following can occur: A mix of TIFF > and > or pdf's that are generated from some java code are all to be bundled > together and displayed in one pdf. Currently, I am generating each pdf to > a bytearrayoutputstream, get the byte array from that and store it in a > vector. Take each Tiff image, create a pdf to a bytearrayoutputstream, > get > the byte array and store it in the previously mentioned vector. Then I > have a static method that takes this vector full of byte arrays and > combines them altogether into one pdf. Would it be better just to create > a > document, pass the document reference around and add all the appropriate > information to this one document or stick with the current approach? > > --Travis > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
