GroupDocs.Editor for Java 24.4 Release Notes

New features and improvements

Export styles during document editing

Starting from the version 24.4 the GroupDocs.Editor for Java contains a new forward conversion mode for the WordProcessing documents - when the original document, which belongs to the family of WordProcessing formats (most commonly DOCX), is converted to HTML, then all of its built-in and user-defined styles are preserved and stored in the intermediate HTML-document as a set of CSS rulesets in the external stylesheet. This enables a possibility to manipulate with these styles, edit and apply them to the text in the external WYSIWYG-editor. More on this feature in this article.

Inline styles option

Version 24.4 also provides a new public option in the WordProcessingEditOptions class - getUseInlineStyles() boolean flag. This option provides a possiblity to generate the intermediate HTML-document, where all text, paragraph, list, and table formatting except document styles is stored not in the external stylesheet, as before, but inside the HTML markup, in the values of the style attributes within HTML elements. This article explains the new feature in detail.

New method for saving EditableDocument to HTML format with resource callback

Starting from the version 24.4 the GroupDocs.Editor for Java contains a new way for saving the EditableDocument content to the HTML format - a new overload of the save() method, with new HTML save options class. More in a special article.

Template format strings when saving HTML markup

When working with EditableDocument instance and trying to save the HTML markup only with methods getContent and getBodyContent it was possible to specify the resource prefixes only. Now, after release of version 24.4, it is possible to specify a template string with placeholders. More in a special article.

Default constructors for the save options

Starting from the version 24.4 all save options classes have the parameterless constructors.

New method for saving EditableDocument to HTML format with resource callback

🚀 Get ready for the future of document editing with GroupDocs.Editor for Java! 🌟 In the upcoming version 23.9, unleash the power to create new documents. To initiate the document creation process, the GroupDocs.Editor constructor is employed. This constructor enables the creation of documents in different formats. Let’s explore the key components of the code and how it handles various Document Formats. More in a special article.

We are excited to announce the release of GroupDocs.Editor for Java version 24.4. This release includes bug-fixes, and improvements to enhance the overall functionality and user experience. Below is a summary of the key changes in this release:

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
EDITORNET-2466Implement export of all build-in and custom styles during forward conversionNew feature
EDITORNET-2465Develop new forward conversion mode with inline styles adjusted for AppNew feature
EDITORNET-2556Improve table rendering qualityImprovement
EDITORNET-2557Develop border-spacing CSS property with its parsingImprovement
EDITORNET-2226Different issues in rendering quality for PDF documentBug
EDITORNET-2579Fix incorrectly rendered text box within shapesBug
EDITORNET-2588Fix complex bug with InvalidOperationException during documents roundtrip with exported stylesBug
EDITORNET-2590Fix bug with invalid class name in CSS selectorBug
EDITORNET-2591Fix bug with duplicate class names and rulesets after multiple roundtrips of WordProcessing documentBug
EDITORNET-2619Add possibility to specify template string instead of prefix for external resourcesNew feature
EDITORNET-2620Add possibility to save EditableDocument to binary streams with resource saving callbackNew feature
EDITORNET-2655Add parameterless constructors to all save optionsNew feature
EDITORNET-2624Fix and improve SVG parserImprovement
EDITORNET-2616Fix exception with missing external image on .NET Framework 4.6.2Bug
EDITORNET-2627Fix different bugs in different parts of CSS parser and improve its qualityBug
EDITORNET-2677Document creator - create new document by formatNew feature
EDITORNET-1942WordProcessing: Process TabStop in Run ProcessorImprovement
EDITORNET-2289WordProcessing: Improve rendering of shapes in colontitlesImprovement
EDITORNET-2664EBook: bug in EBookFormats classBug
EDITORNET-2095Presentation: Cannot process svg image with incorrect dimensionsBug
EDITORNET-2226PDF: wrong image positions while rendering document.Bug
EDITORNET-2681WordPocessing: process unsupported Node type on a Block levelBug
EDITORNET-2731Replaced dependencies on the System.DrawingImprovement
EDITORNET-2753Small improvements base on feedback from the Review DocumentationImprovement
EDITORNET-2756Css selector parser: posible null exception during parsingBug
EDITORNET-2755PDF: after build to dll cannot detect formatBug

Public API and Backward Incompatible Changes

New public types:

New public members:

Removed public members:

  • static com.groupdocs.editor.EditableDocument.fromBodyMarkupAndResourceFolder(String htmlBodyContent, String resourceFolderPath) - use a fromMarkupAndResourceFolder static method instead

Modify public types:

Bug Fixes

  • EDITORNET-2756: Resolved an issue with the CSS selector parser that could lead to a possible null exception during parsing.
  • EDITORNET-2755: Fixed an issue where, after building to DLL, the format detection for PDF files was not working correctly.

Improvements

  • EDITORNET-2731: Replaced dependencies on the System.Drawing library to enhance performance and compatibility.
  • EDITORNET-2753: Implemented small improvements based on feedback from the Review Documentation, enhancing the overall quality of the documentation.

We appreciate your continued support and feedback. Please feel free to reach out to our support team if you have any questions or encounter any issues.

Thank you for choosing GroupDocs.Editor for Java!

Link to Documentation