-
Notifications
You must be signed in to change notification settings - Fork 20
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
Incompatible Excel theme #32
Comments
Thanks Dan. Confirmed. Do you happen to know what software created the original file? |
Excel 2016 64-bit |
The problem is that I assumed the first two nodes would be <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
<a:themeElements>
<a:clrScheme name="Office">
<a:dk1>
<a:sysClr val="windowText" lastClr="000000"/>
</a:dk1>
<a:lt1>
<a:sysClr val="window" lastClr="FFFFFF"/>
</a:lt1> But in this case the first one is <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
<a:themeElements>
<a:clrScheme name="Custom 2">
<a:dk1>
<a:srgbClr val="262626"/>
</a:dk1>
<a:lt1>
<a:sysClr val="window" lastClr="FFFFFF"/>
</a:lt1> So I should check the name of the child node first, then.
|
nacnudus
added a commit
that referenced
this issue
May 22, 2018
nacnudus
added a commit
that referenced
this issue
May 22, 2018
nacnudus
added a commit
that referenced
this issue
May 22, 2018
Safely get RGB from theme colour nodes (fixes #32)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Weird little Excel file linked below which will crash the rsession when attempting to open with
xlsx_cells
. I have removed all the original sheets, but this file still causes the crash, so the xlsx file can be used a minimal example.minimal.xlsx
Tested on both Windows and Linux. Was able to get a backtrace of rsession using GDB on Linux:
Line #0 gave me a clue that it had something to do with the theme1.xml inside the workbook, so I deleted it and repaired with Excel, which stops the crash. So it seems there's some issue with the RapidXML library and the theme settings in this weird Excel file.
The text was updated successfully, but these errors were encountered: