Repository navigation
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
PageOrientationduring 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.