Skip to content
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

Can not Load </b> from xl/styles.xml #1119

Closed
hans-cn opened this issue Jan 13, 2022 · 1 comment
Closed

Can not Load </b> from xl/styles.xml #1119

hans-cn opened this issue Jan 13, 2022 · 1 comment
Labels
confirmed This issue can be reproduced

Comments

@hans-cn
Copy link

hans-cn commented Jan 13, 2022

styles.xml source data:

image

When open a existing file && save, data will be:

image

Then, the cell will be lost "B" style. I think the following fields have the same problem:

type xlsxFont struct {
B *attrValBool xml:"b,omitempty"
I *attrValBool xml:"i,omitempty"
Strike *attrValBool xml:"strike,omitempty"
Outline *attrValBool xml:"outline,omitempty"
Shadow *attrValBool xml:"shadow,omitempty"
Condense *attrValBool xml:"condense,omitempty"
Extend *attrValBool xml:"extend,omitempty"
...

@xuri xuri added confirmed This issue can be reproduced in progress Working in progress labels Jan 13, 2022
@xuri xuri closed this as completed in 236ee61 Jan 14, 2022
@xuri
Copy link
Member

xuri commented Jan 14, 2022

Thanks for your issue. I have fixed it, please try upgrading to the master branch code, and this patch will be released in the next version.

@xuri xuri removed the in progress Working in progress label Jan 14, 2022
xuri added a commit to carbin-gun/excelize that referenced this issue Oct 9, 2022
jenbonzhang pushed a commit to jenbonzhang/excelize that referenced this issue Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed This issue can be reproduced
Projects
No open projects
Status: Bugfix
Development

No branches or pull requests

2 participants