GroupDocs.Editor for .NET 21.10 Release Notes
GroupDocs.Editor for .NET version 21.10 is a new big release with a lot of new features, improvements and bug fixes, that brings quality of document editing on a new level! Along with a tons of bugfixes and improvements, there are two new features, which significantly change the public API: audio support and new HTML parsing mechanism. More on that below.
Version 21.10 of GroupDocs.Editor contains two new features, which are described below
In version 21.10 GroupDocs.Editor is able to process the MP3 audio files, embedded in the WordProcessing documents. For supporting this a new public namespace “GroupDocs.Editor.HtmlCss.Resources.Audio” and two new public types inside it, — AudioType and Mp3Audio, — were added. Now, when WordProcessing document contains an embedded audio, it will be preserved and stored in the EditableDocument instance, and will be present in editable HTML representation.
New HTML parser
When edited document content in a form of HTML markup, CSS, images and other resources, is passing back to the GroupDocs.Editor via EditableDocument in order to create an output document, GroupDocs.Editor internally performs a parsing of HTML markup. Before version 21.10 the HTML parser supported only a strict and narrow range of valid HTML markup, with proper tag structure, where all opening tags are properly closed, and structure is complete and well-formed. There even was a special method “FromBodyMarkupAndResourceFolder” for coping with inner-BODY content.
Starting from 21.10 the completely new HTML parser has replaced the old one, and now any HTML content is supportable and correctly processable, even invalid. Method “FromBodyMarkupAndResourceFolder” now is obsolete; instead of it a new method “FromMarkupAndResourceFolder” is introduced.
Support of new HTML elements and CSS properties
Because of audio support (described above), a set of new HTML elements were added: AUDIO, SOURCE, and LABEL. All of them are supported in full size: on input (parsing), and output (serialization).
Also a new CSS property was added: text-align-last.
GroupDocs.Editor version 21.10 contains big amount of bugfixes and performance improvements, which address different issues in different modules of GroupDocs.Editor, including WordProcessing, Spreadsheet, Presentation, and HTML processing.
Full List of Issues Covering all Changes in this Release
|EDITORNET-2137||Add support of embedded audio||New feature|
|EDITORNET-2138||Develop new HTML parser with new public method||New feature|
|EDITORNET-2140||Implement text-align-last CSS declaration||Improvement|
|EDITORNET-2141||Implement SOURCE HTML element||Improvement|
|EDITORNET-2142||Implement AUDIO HTML element||Improvement|
|EDITORNET-2159||Presentation: improve quality through applying a new HTML parser||Improvement|
|EDITORNET-2099||Presentation: failed with System.NullReferenceException after updating to Aspose.Slides ver 21.5||Bug|
|EDITORNET-2102||Insufficient formatting while converting HTML to Spreadsheet||Bug|
|EDITORNET-2132||Presentation: Strikethrough and Underline formatting (html to presentation processing)||Bug|
Public API and Backward Incompatible Changes
New public types:
New public methods and properties:
- GroupDocs.Editor.EditableDocument.Audio - instance property
- GroupDocs.Editor.EditableDocument.FromMarkupAndResourceFolder(string newHtmlContent, string resourceFolderPath) - static method