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

Pivot tables serialization fixes #867

Merged

Conversation

artem-iron
Copy link
Contributor

Completed CT_CustomFilters and CT_CustomFilter classes and their usage in AutoFilter

Added namespaces to pivot tables definition: xmlns:mc, mc:Ignorable, xmlns:xr. Changed some nodes serialization in pivot table parts, to conform with ECMA standard XSD of OOXML.

Added reload for XmlHelper.WriteAttribute for string type values, that can accept a default value, to decide if this attribute should be present in stream or it can be omitted.

Pivot area property was serializing wrong, omitting "field" property when it has value of 0, which causes excel to repair the pivot tables that contain this object.

Artem Kolosov added 3 commits June 30, 2022 11:41
Some namespaces were missing in pivot table related objects.
Pivot area property was serializing wrong, omiting "field" property when it has value of 0, which causes excel to repair the pivot tables that contain this object. Added WriteAttribute reload for string values, to accept a default string in method call.
@tonyqus tonyqus merged commit 2c3ffbd into nissl-lab:master Jul 23, 2022
@artem-iron artem-iron deleted the pivot-tables-serialization-fixes branch July 23, 2022 14:04
@tonyqus tonyqus added this to the NPOI 2.6.0 milestone Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants