GroupDocs.Editor for .NET 23.5 Release Notes

GroupDocs.Editor for .NET version 23.5 is a mostly bug fixing and optimization update — it has only one new minor feature, which is present in the public API changes, but this release is mostly focused on the several quite significant performance improvements and bug fixes.

New features and improvements

Ability to generate a preview of selected page of a loaded WordProcessing document in SVG format

Starting from the version 23.5 the GroupDocs.Editor for .NET is able to generate an SVG preview of arbitrary page within a WordProcessing document, like DOC, DOCX, RTF, or ODT. In order to do this need to load a desired WordProcessing document inside the Editor class, invoke the GetDocumentInfo method, and then in the obtained GroupDocs.Editor.Metadata.WordProcessingDocumentInfo struct call the GeneratePreview(int pageIndex) method.

A separate article “Generating page preview for WordProcessing documents” explains this new feature in detail.

Different optimizations

Version 23.5 is mostly focused on different optimizations in memory consumption and performance. In particular, now generated EditableDocument contains only unique images - all duplicates are removed upon its preparation. Also, once the loaded document was processed, it is stored in the internal global cache and will not be reopened during the instance of the Editor class exists. Only when Editor.Dispose() method is invoked, all cached data is cleared. However, this optimization imposes a higher responsibility to the end-user — if the Editor.Dispose() method will not be called, the files and resources will stay locked.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
EDITORNET-2521Generate page preview of WordProcessing doc in SVGNew feature
EDITORNET-2493Investigate and fix memory leakageImprovement
EDITORNET-2523Develop global document cacheImprovement
EDITORNET-2528Implement redundant image optimizerImprovement
EDITORNET-2520Fix bug in new GetContent methodBug
EDITORNET-2527Fix issue with duplicate image filenames in WordProcessing forward converterBug
EDITORNET-2529Fix preparing of different resources in EditableDocumentBug
EDITORNET-2531Fix bug with reading beyond the end of streamBug

Public API and Backward Incompatible Changes

New public members: