Giter Club home page Giter Club logo

Comments (8)

EvGeniyLell avatar EvGeniyLell commented on May 18, 2024

failed in this method Archive . scanForEndOfCentralDirectoryRecord
return nil
if potentialDirectoryEndTag == UInt32(endOfCentralDirectoryStructSignature) {
not true for any trying

from corexlsx.

MaxDesiatov avatar MaxDesiatov commented on May 18, 2024

Hi @EvGeniyLell, sorry for the delayed reply. Unfortunately, I wouldn't be able to fully diagnose the issue without having access to this file. If you run unzip in command-line on it, does that succeed? What's the extension of the file, is that .xlsx or .xls?

from corexlsx.

EvGeniyLell avatar EvGeniyLell commented on May 18, 2024

https://www.icloud.com/iclouddrive/0eTaGEZfTKXR07NFeJPfy3tHw#Account_test_19.09.01-19.10

from corexlsx.

MaxDesiatov avatar MaxDesiatov commented on May 18, 2024

Hi @EvGeniyLell, this file is saved in an old proprietary binary file format called Excel Binary File Format. This can also be easily determined from the .xls extension. The file format that CoreXLSX is able to parse is .xlsx, which is the new open format Office Open XML.

from corexlsx.

EvGeniyLell avatar EvGeniyLell commented on May 18, 2024

@MaxDesiatov you think with the help of your KIT it will be impossible to parse this file

from corexlsx.

MaxDesiatov avatar MaxDesiatov commented on May 18, 2024

@EvGeniyLell an .xls file as is can't be parsed by CoreXLSX as this is a completely different undocumented format. On the other hand, any version of Office newer than 2007 should allow saving .xls files as .xlsx, I think this should be applicable to Numbers and Google Sheets too. Some loss of formatting data could be possible when you save it as .xlsx format, but that all depends on tools you'd use for conversion. I assume Office would be much better at this than anything else.

When you convert your file to .xlsx, parsing it with CoreXLSX should work, please let me know otherwise.

from corexlsx.

EvGeniyLell avatar EvGeniyLell commented on May 18, 2024

Sorry, but I am doing automation for this and I need to convert it to CSV
that's why I started looking for a POD that could convert XLS
Thanks for the clarification

from corexlsx.

MaxDesiatov avatar MaxDesiatov commented on May 18, 2024

If you're interested in parsing the old format directly, you could try using something like libxls.

from corexlsx.

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.