Open XML SDK v2.11.0 Release Notes

Release Date: 2020-05-21 // 10 days ago
  • ➕ Added

    • ➕ Added FileFormatVersions.2019 enum (#695)
    • ➕ Added ChartSpace and chart elements for the new 2016 namespaces. This allows the connecting pieces for building a chart part with chart styles like "Sunburst" (#687).
    • ➕ Added OpenXmlElementFunctionalExtensions.With(...) extension methods, which offer flexible means for constructing OpenXmlElement instances in the context of pure functional transformations (#679)
    • ➕ Added minimum Office versions for enum types and values (#707)
    • ➕ Added additional CompatSettingNameValues values: UseWord2013TrackBottomHyphenation, AllowHyphenationAtTrackBottom, and AllowTextAfterFloatingTableBreak (#706)
    • ➕ Added gfxdata attribue to Arc, Curve, Line, PolyLine, Group, Image, Oval, Rect, and RoundRect shape complex types per MS-OI29500 2.1.1783-1799 (#709)
    • ➕ Added OpenXmlPartContainer.TryGetPartById to enable child part retrieval without exception if it does not exist (#714)
    • ➕ Added OpenXmlPackage.StrictRelationshipFound property that indicates whether this package contains Transitional relationships converted from Strict (#716)

    🛠 Fixed

    • Custom derived parts did not inherit known parts from its parent, causing failure when adding parts (#722)

    🔄 Changes

    • Marked the property setters in OpenXmlAttribute as obsolete as structs should not have mutable state (#698)

    Thanks

    Thanks for contributions from the following people:


Previous changes from v2.10.1

  • 🛠 Fixed

    • Ensured attributes are available when OpenXmlElement is initialized with outer XML (#684, #692)
    • 📚 Some documentation errors (#681)
    • ✂ Removed state that made it non-thread safe to validate elements under certain conditions (#686)
    • Correctly inserts strongly-typed elements before known elements that are not strongly-typed (#690)