gets Sheet name for multi cell named range, fixes #680 #700
No reviewers
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#700
Loading…
Reference in New Issue
No description provided.
Delete Branch "gh-680-multiple-cells-named-range"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Please have a look, this seems to resolve the issue for us.
Do you want us to add a test case or do you prefer to do that yourself?
This doesn't seem to work on all of the files from the test corpus.
After the line in question, add a line that throws an error if the field is missing:
To check against the test corpus, you can run the following command:
(The
WTF=1
part throws errors that would otherwise be caught andFMTS=xlsb
restricts to reading only XLSB files.)The first fail case is
test_files/2013/apachepoi_50939.xls.xlsb
, tripping on the newly-added error.Hi, sorry for the late reply. I've fixed the commit to fall back again to
**MISSING**
.It still fails somewhere with the
if(!sname) throw new Error("missing name");
line, but that is the same behaviour as onmaster
, so I don't think that's being caused by my changes.Let me know know what you think. Thanks!
@SheetJSDev have you been able to look at my fixed commit? see previous comment. thanks for your feedback!
I wasn't saying your commit wasn't useful for your case, but if we're going to change the function processing it's better to fixit in one fell swoop :)
Looked into this a little bit, https://github.com/SheetJS/js-xlsx/issues/680#issuecomment-307869085 was my initial brain dump on the matter.
The XLSB workbook processor is missing a few records like:
After adding some initial implementation, we ran into a few more random cases like https://github.com/SheetJS/test_files/blob/master/2013/apachepoi_ex45978-extraLinkTableSheets.xls.xlsb?raw=true . I suspect the external links files need to be processed.
OK thanks for the feedback!
The particular part was reworked, but you've been credited on a related commit involving incorrect quoting of #REF in an unknown 3d reference.
Pull request closed