Skip to content

Update xlsx.js to allow compat with non office generated files. #2846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheMrDec
Copy link

Summary

Some xlsx files generated by 3rd party applications do not come with valid property data in the document formatting. The changes to xlsx.js in this patch seek to allow compatibility with these out of spec files while informing the user of the invalid data.

A simple 'fix' to a problem that shouldn't exist but for some reason 3rd party applications prefer to discard design specifications.

Test plan

I tested this on one machine running Ubuntu 24.04. I would love to test it more but I have one laptop. I did test against files from 3 3rd party clients (fortiEDR collector export, apache openoffice calc, and libreoffice calc) and 1 file made in excel.

Some xlsx files generated by 3rd party applications do not come with valid property data in the document formatting. The changes to xlsx.js in this patch seek to allow compatibility with these out of spec files while informing the user of the invalid data.

A simple 'fix' to a problem that shouldn't exist but for some reason 3rd party applications prefer to discard design specifications.
@TheMrDec
Copy link
Author

Adding: my laptop runs node 18.20.4 on Ubuntu 24.04 on kernel 6.1.0-1034-oem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant