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

Reply via email to