-
Notifications
You must be signed in to change notification settings - Fork 807
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
Panic Read xlsx file when shardStrings.xml has repeat strings. #45
Comments
Thanks bronze1man. I'll look into it ASAP. |
Just some conjecture, but it may have to do with the handling of empty strings? We just updated to the most recent version of master, and the cell count is lower than it was before in one of our test sheets. Additionally, some of our sheets now encounter this error as well. Hopefully this helps! |
Easy to reproduce (in windows and mac excel): New Workbook, set A1 to the string abcdef and set A2 to the string abcdef. Then edit the cell A2, select the letters "def" and hit control-b to bold it. Here is a sample:
It must be thrown off by the fact that two strings have the same plaintext but different formatted text |
Thanks to both of you for you input. It's much appreciated and very helpful. I'm aware of the round tripping issue - it's part of why I call the write functionality experimental ;-) |
fix #45 add an isWrite option on RefTable.
fix #45 add an isWrite option on RefTable.
fix #45 add an isWrite option on RefTable.
The excel file is coming from windows ms excel.
Sorry,I can not public that excel file,and I do not have windows ms excel. Other excel software(mac numbers, windows wps) will not product that kind of xlsx file.
change this function it will pass this xlsx file,but will fail some other tests.
https://github.com/tealeg/xlsx/blob/master/sharedstrings.go#L91
The text was updated successfully, but these errors were encountered: