Repository navigation
This release is a significant milestone which offers extensibility capabilities.
The v1.0.0 of CssInliner was built as an inheritance model but this model move extensions in concurrence.
You can read more about those new capabilities: Transformers, ParserConfigurators and NodeProcessors in the documentation.
Some new commodities methods:
- New
WordDocumentFactory.Create(orientation, paperSize)helper. - New
WordDocumentFactory.AddPage(orientation, paperSize)helper. - New
WordDocumentFactory.AddPageBreak()helper. - New
LoadDocumentAsync(html)which allow parsing once and converting multiple times.
Bug fixes:
- Image size expressed in percentage (max-width) consider the current page width (orientation and different paper size than A4).
- Image widths are automatically constrained to prevent overflow of the page.
- Fix SVG appended to the body rather than in the footer/header.
[BREAKING CHANGE]
- Remove the non-standard attribute
page-orientationon the body to change the orientation. UseAddPage()instead. - Stop mutating the
HttpClientinDefaultWebRequest. - Remove
ILoggerfromDefaultWebRequestwhich removes one extra package dependency. - Prefer
converter.UseCssInliner()rather than creating a new instance ofCssStyleHtmlConverter.