Incorrect handling of table:number-columns-repeated in ODS #177
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#177
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Hi. I think there may be incorrect handling of number-columns-repeated attribute in ODS files.
If I have a table where two adjacent cells have the same value, the second will not be present in Sheet object.
For example, having an ODS with
A1
cell set to "A" andB1
cell set to "A" too,console.log(require('xlsx').readFile('./Test.ods').Sheets.Sheet1);
outputs this:
{ A1: { t: 's', v: 'A', w: 'A' }, '!ref': 'A1' }
So B1 is missing there.
Version I tried this on is 0.7.12.
@ziacik do you have a sample file so I can take a look?
@SheetJSDev Sample file is at this link http://www.koliksoftware.net/Stuff/Test.ods
What is holding this back? This bug makes this toolset unusable for parsing ODS files. The patch works for me.
i'm facing same problem is there any solution for this?
I had to fork this locally and apply ziacik's patch. Ugly but only way to get around this without involvement of owners.