Re: All my POI built Excel files are suddenly corrupt?
PJ Fanning <[email protected]> Wed, 6 Nov 2024 18:29:13 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <[email protected]> |
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 ab= ove 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 <andreas@ma= nticore-projects.com> wrote:=20 Dear All, there is feedback from LibreOffice:=C2=A0https://ask.libreoffice.org/t/is-spreadsheet-corrupt-or-n= ot/113519/4?u=3Dwarwound 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=C2=A0https://gerrit.libreoffice.org/c/core/+/170571=C2=A0(which co= nfirms my observation). So do we need to turn to Commons Compress now? Cheers Andreas