mjul / docjure

Read and write Office documents from Clojure
MIT License
622 stars 129 forks source link

Generate workbook as a stream? #39

Closed donbonifacio closed 8 years ago

donbonifacio commented 8 years ago

Hello,

Any tips on how to generate the workbook as a stream? From the code I see that we can deliver the complete workbook to a stream, but I'd like to have a stream of input rows and a stream of output workbook.

mjul commented 8 years ago

As far as I understand, the Office Excel output format is essentially a zip compressed directory of XML files. Thus, while we could stream the input rows into the application, I think it is less likely that we could stream the document into a zip compressed directory structure. However, Clojure uses the Apache POI library as a back-end, so it would be interesting if you could have a look at its possibilities and give a definite answer to your question. Cheers, Martin