Roman

you could subclass ZipOutputStream and override the close() method to just call super.closeEntry()

-jason

Roman Novichenok wrote:

I am trying to write multiple pdf files into a single zip archive. 

 

The idea would be to create a ZipOutputStream and then in a loop create pdf Documents providing the zip stream to the writer.

 

I get an exception thought after trying to use the zip stream after the first document.close()  the stream is closed by i-text.

 

Is there some other way to finish the document, that would not force closing the underlying stream?

 

Thanks,

Roman


_______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to