Skip to content

Release 4.2

Latest

Choose a tag to compare

@onizet onizet released this 13 Nov 21:57
· 5 commits to master since this release
c502c06

Ease of Use Improvements

This release introduces significant enhancements to the library's abstraction layer, reducing boilerplate required when converting HTML to OpenXML.

  • WordDocumentFactory.Create(): Added a streamlined helper class for simplified document generation.
  • Automatic Structure Generation: Automatically generates missing document parts, including MainDocumentPar, the main Body and page size.
  • New HtmlConverter(WordProcessingDocument) constructor overload supports different workflows..
  • Page Layout Support: Added support for defining PageOrientation during document creation.

Css Inliner

We are pleased to announce the complementary companion library, HtmlToOpenXml.CssInliner which streamlines CSS handling by enabling the processing of:

  • global stylesheets (<link rel="stylesheet">)
  • embedded <style> block content.

Improvements & bug fixes

  • Improve numbering list items which do not inherit styling from the parent list #252
  • Fix text-align: left being ignored- #263, thanks to @cyril265
  • Numbering list now support border style.
  • Fix indentation and hanging of nested paragraph in numbering list.
  • Underlying code robustness and internal quality improvements.