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
Key | Summary | Category |
---|---|---|
EDITORNET-2521 | Generate page preview of WordProcessing doc in SVG | New feature |
EDITORNET-2493 | Investigate and fix memory leakage | Improvement |
EDITORNET-2523 | Develop global document cache | Improvement |
EDITORNET-2528 | Implement redundant image optimizer | Improvement |
EDITORNET-2520 | Fix bug in new GetContent method | Bug |
EDITORNET-2527 | Fix issue with duplicate image filenames in WordProcessing forward converter | Bug |
EDITORNET-2529 | Fix preparing of different resources in EditableDocument | Bug |
EDITORNET-2531 | Fix bug with reading beyond the end of stream | Bug |
Public API and Backward Incompatible Changes
New public members: