GroupDocs.Editor for .NET 20.7 Release Notes

GroupDocs.Editor for .NET version 20.7 provides several completely new features with new API types and members, a lot of improvements and bug fixes, all of which are described below. Despite a lot of API changes, all of them are new types and members of existing types, and they don’t break a backward compatibility, so existing client code is fully compatible for this release.

New features

Support of Mobi format

Starting from version 20.7, the GroupDocs.Editor for .NET started to support a Mobi E-book format. However, at this time only loading, detecting and editing operations are supported, but not saving. We’ve prepared a special article, that described working especially with Mobi format: “Working with Mobi documents". Along with this format, we’ve introduced new public types: MobiEditOptions, Metadata.MobiDocumentInfo, and Formats.EBookFormats. All of them are introduced in the article.

Ability to embed fonts in resultant WordProcessing document during saving

Before version 20.7 the GroupDocs.Editor was able to extract fonts from input WordProcessing document, that is editing, and put them into the intermediate EditableDocument and through it — to the HTML, that will be edited on client-side. Starting from version 20.7 the GroupDocs.Editor is also able to grab fonts after client-side edit from EditableDocument and operating system and embed them into output WordProcessing document, that is generated from edited EditableDocument. For doing this there is a new type — an Options.FontEmbeddingOptions enum. Also, the WordProcessingSaveOptions class now contains a new property FontEmbedding, of FontEmbeddingOptions type. Like with Mobi, there is a new article “Font embedding options", which is dedicated especially for this feature.

Improvements

Support of new CSS properties

In version 20.7 we’ve added full support of four new CSS properties: box-sizing, visibility, text-rendering, and tab-size. This means that end-users can use these properties in documents while editing them in WYSIWYG-editors; GroupDocs.Editor now is able to parse and correctly process them.

Support of new HTML elements

In version 20.7 we’ve added a full support of IFRAME and NOSCRIPT HTML elements. Despite these elements have nothing common with HTML editing in WYSIWYG-editor and are ignored, from now their presence in HTML markup and consequent EditableDocument instance will not break the GroupDocs.Editor work by causing an exception.

Bugs

GroupDocs.Editor version 20.7 contains lots of bugfixes, related no distorted document rendering, exceptions, missed elements in edited documents, improper support and processing of different use-cases and so on.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
EDITORNET-1069Implement support of MOBI document formatNew feature
EDITORNET-1558Implement font embedding for backward HTML-to-WordProcessing converterNew feature
EDITORNET-1716Add support of box-sizing CSS declarationImprovement
EDITORNET-1717Add support of visibility CSS declarationImprovement
EDITORNET-1718Add support of text-rendering CSS declarationImprovement
EDITORNET-1721Add support of tab-size CSS declarationImprovement
EDITORNET-1723Add support of IFRAME elementImprovement
EDITORNET-1724Add support of NOSCRIPT elementImprovement
EDITORNET-1608Fix layout truncation from right side in paged modeBug
EDITORNET-1694Check possible bug in Presentation moduleBug
EDITORNET-1715Exception while comparing IMG elements with absent imagesBug
EDITORNET-1719Exception while opening reconverted XLSXBug
EDITORNET-1725Add support of QUOT mnemonics for font-familyBug
EDITORNET-1726Content is shifted to the left outside from viewportBug
EDITORNET-1728Can’t get HTML representation of docx fileBug

Public API and Backward Incompatible Changes

As it was described in “New Features” section above, there is a several new public types and members in GroupDocs.Editor API, however, all of them don’t break a backward compatibility.

List of new types is below:

  • GroupDocs.Editor.Formats.EBookFormats struct
  • GroupDocs.Editor.Metadata.MobiDocumentInfo struct
  • GroupDocs.Editor.Options.MobiEditOptions class
  • GroupDocs.Editor.Options.FontEmbeddingOptions enum

List of new members in existing types:

  • FontEmbedding property of FontEmbeddingOptions type in GroupDocs.Editor.Options.WordProcessingSaveOptions class