You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a bug, missing feature, out of scope, or covered under the planned features. (My knowledge of Excel files isnt great yet).
I have an old file that has been converted up to xlsx from who knows what versions of excel before it.
Inside spreadsheets and drawings xml files it has the tags for mc:AlternateContent & mc:Choice which appear to be related to the checkboxes from my testing.
It looks like these are being dropped when the file is run through Excelize. I'm guessing that adding support for persisting these through is a fair bit of work though.
These are interesting, as if I open the file post-excelize in Excel on Mac OS X then the checkboxes are either in the wrong location or missing.
Whereas, if I open first on a Windows 10 install, and save. Then everything works just fine.
So I'm inclined to think these are computed values rather than the "truth" data for these items, but also unsure if there is anything that can be done in Excelize about this?
If this is mostly a matter of having to create a bunch of struct definitions, just point me to where i can look them up and I'm happy to make them / try for a PR.
Steps to reproduce the issue:
Please let me know if this is confusing and ill try and create a small repro file for you, haven't been able to make one in 15 minutes (yet).
Describe the results you received:
In a drawing file (such as ./xl/drawings/drawing2.xml)
The wrapping two tags and the Fallback tag appear to disappear?
Thanks for your issue. The position and size are may be different under a different OS, the reason for that was similar to issue #212. I'll evaluate recently to add preserve support for existing alternate content in drawingML.
Description
Hello,
Not sure if this is a bug, missing feature, out of scope, or covered under the planned features. (My knowledge of Excel files isnt great yet).
I have an old file that has been converted up to
xlsx
from who knows what versions of excel before it.Inside spreadsheets and drawings xml files it has the tags for
mc:AlternateContent
&mc:Choice
which appear to be related to the checkboxes from my testing.It looks like these are being dropped when the file is run through Excelize. I'm guessing that adding support for persisting these through is a fair bit of work though.
These are interesting, as if I open the file post-excelize in Excel on Mac OS X then the checkboxes are either in the wrong location or missing.
Whereas, if I open first on a Windows 10 install, and save. Then everything works just fine.
So I'm inclined to think these are computed values rather than the "truth" data for these items, but also unsure if there is anything that can be done in Excelize about this?
If this is mostly a matter of having to create a bunch of struct definitions, just point me to where i can look them up and I'm happy to make them / try for a PR.
Steps to reproduce the issue:
Please let me know if this is confusing and ill try and create a small repro file for you, haven't been able to make one in 15 minutes (yet).
Describe the results you received:
In a drawing file (such as
./xl/drawings/drawing2.xml
)The wrapping two tags and the Fallback tag appear to disappear?
In the
sheetX.xml
files instead, these sections are entirely removed from the end of the file:Describe the results you expected:
Output ~= Input
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Tested on Linux and Mac OSX; go 1.17 and 1.18.
Files are edited with latest office365.
Notes
Happy to help in any way I can for this :)
The text was updated successfully, but these errors were encountered: