Giter Club home page Giter Club logo

Comments (4)

salvois avatar salvois commented on June 1, 2024

Hello @easysummer
thanks for reporting this issue!
I'm having a look and be back to you as soon as possible.

from largexlsx.

salvois avatar salvois commented on June 1, 2024

Hello @easysummer
looks like enabling the ZIP64 format is not enough to support your use case.
The SharpCompress library, used by LargeXlsx, appears to produce a ZIP file that is not compatible with Excel when enabling ZIP64. Excel complains about a corrupted file but it is able to repair it (LibreOffice, on the other hand, appears to have no support for ZIP64 altogether).
I will try to understand what Excel considers wrong about the generated file (looks like https://rzymek.github.io/post/excel-zip64/ may be a good start) and try to patch SharpCompress.
Thanks,
Salvo

from largexlsx.

salvois avatar salvois commented on June 1, 2024

Hello @easysummer
I've just opened a pull request to SharpCompress that solves the issue (adamhathcock/sharpcompress#601), letting us to enable ZIP64.
Hope it is considered for merge, so that a next version of LargeXlsx can take advantage of it.
Thanks,
Salvo

from largexlsx.

salvois avatar salvois commented on June 1, 2024

Hello @easysummer
I have just released version 1.3.0 of LargeXlsx, which lets you enable the ZIP64 compression.
Please see the updated documentation about constructing an XlsxWriter.

I have tested ZIP64 both on small files with Excel and LibreOffice with no problems, and on a file larger than 4 GiB uncompressed, which works fine in Excel but it is reported as corrupt in LibreOffice. I don't know the reason for the latter and further testing could be helpful.

Look forward to your feedback!
Thanks,
Salvo

from largexlsx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.