Fixed bug where properties on `OpenXmlCompositeElement` instances could not be set to null to remove element (#850) Fixed issue where `OpenSettings.RelationshipErrorHandlerFactory` creates invalid XML if the resulting URI is smaller than the input (#883) Fixed issue where `CellValue` may validate incorrectly for boolean values (#890) It no longer persists and will be removed in a future version (#912) Fixed massive performance bottleneck when `UniqueAttributeValueConstraint` is involved (#924) Fixed parsing to allow exponents for numeric cell values (#901) Fixed serialization of `CellValue` constructors to use invariant cultures (#903) Implemented `IEquatable` on `IdPartPair` to fix equality implementation there and obsoleted setters (#871)
Added `HexBinaryValue.TryGetBytes(.)` and `HexBinaryValue.Create(byte)` to manage the encoding and decoding of bytes (#867) Added overload for `OpenXmlPartReader` and `OpenXmlReader.Create(.)` to ignore whitespace (#857) Added nullability attributes (#840, #849) Added generated classes for Office 2019 types and constraints (#882) Additional O19 types to match Open Specifications (#916) Fixed a regression in AddDataPartRelationship (#954) Replaced some documentation entries that were generic values with helpful comments (#992) Fixed an issue with adding additional children to data parts (#934) Fixed issue that would dispose a `TextReader` when creating an `XmlReader` under certain circumstances (#940) Fixed some nullability annotations that were incorrectly defined (#953, #955) Added methods to generate unique paragraph ids (#1000) Added parts for Rich Data types (#1002) Added public constructors for `XmlPath` (#1013) Added `Features` property to `OpenXmlPartContainer` and `OpenXmlElement` to enable a per-part or per-document state storage Added generated classes for Office 2021 types and constraints (#1030) Some documentation issues around `FileFormatVersions` enum
Updated known namespaces to be generated via an in-repo source generator (#1092) Correctly serialize `new CellValue(bool)` values (#1070) ShapeTree is now available only in Office 2010 and above, not 2007. Fixed issue for changed mime type `model/gltf.binary` (#1069) Added generated classes and `FileFormatVersions.Microsoft365` for new subscription model types and constraints (#1097). Added extension method to support getting image part type (#1082) See documentation in repo for additional details. Shipping additional libraries for some additional functionality in `` and ``. Added samples for strongly typed classes and Linq-to-XML in the `./samples` directory (#1101, #1087)
Schema code generation was moved to the SDK project using C# code generators Added method `OpenXmlPart.UnloadRootElement` that will unload the root element if it is loaded (#1126) The format is based on ( )Īnd this project adheres to ( ). Showing the top 5 popular GitHub repositories that depend on DocumentFormat.OpenXml:Īll notable changes to this project will be documented in this file. You do not need Microsoft Office/Excel to be installed. You can create new Open XML spreadsheets, or work with existing Open XML spreadsheets that are compatible with Microsoft Excel 2007/2010/2013 and LibreOffice Calc. NET library written in C#, and is released under the MIT License. SpreadsheetLight is an open source Open XML spreadsheet.
Showing the top 5 NuGet packages that depend on DocumentFormat.OpenXml:ĬlosedXML is a.