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
In the styles.xml, excel seems to expect it to be alignment then protection. With the creation of a new cell format it always creates the protection which will always put it before the alignment. If I change the code to force create the alignment before it creates the protection in the create method it "fixes" it but I don't' think that's the correct approach.
What excel expects
What openXLSX creates
In the demo10.cpp file, the cell format is copied from a cell that doesn't have a format. This bug doesn't effect the format when created this way.
The text was updated successfully, but these errors were encountered:
Your title is not entirely clear - am I understanding correct that you have the same issue here where Excel complains about the sequence of XML tags, like in the borders issue #304?
I really want to do something painful to the responsible Microsoft "developers". This has "intentionally breaking compatibility" written all over it.
as per #304, I have (hopefully) fixed this today with 77f4370 and would appreciate some testing.
aral-matrix
added
enhancement
New feature or request
testing
Functionality has been implemented in development branch and is pending a merge into main
ready to close
Pull request has been answered or implemented & is pending closure
labels
Dec 19, 2024
aral-matrix
added
resolved
This issue has been resolved.
and removed
testing
Functionality has been implemented in development branch and is pending a merge into main
ready to close
Pull request has been answered or implemented & is pending closure
labels
Jan 6, 2025
In the styles.xml, excel seems to expect it to be alignment then protection. With the creation of a new cell format it always creates the protection which will always put it before the alignment. If I change the code to force create the alignment before it creates the protection in the create method it "fixes" it but I don't' think that's the correct approach.
What excel expects

What openXLSX creates

In the demo10.cpp file, the cell format is copied from a cell that doesn't have a format. This bug doesn't effect the format when created this way.
The text was updated successfully, but these errors were encountered: