The code that zips sxssfworkbooks is basically this PR plus a few changes. https://github.com/apache/poi/pull/154
Zip64Mode.Always - the zip writing logic is mainly in the code in the PR above with a bit of help from commons-compress. Any other Zip64Mode and the zip writing is done using commons-compress but with the specific Zip64Mode applied. On Wednesday 6 November 2024 at 15:56:45 GMT+1, Andreas Reichel <[email protected]> wrote: Dear All, there is feedback from LibreOffice: https://ask.libreoffice.org/t/is-spreadsheet-corrupt-or-not/113519/4?u=warwound In summary, they claim the ZIP file was invalid since it contained holes/unused blocks. An additional check for this has been added only recently https://gerrit.libreoffice.org/c/core/+/170571 (which confirms my observation). So do we need to turn to Commons Compress now? Cheers Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
