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
Key | Summary | Category |
---|---|---|
EDITORNET-2466 | Implement export of all build-in and custom styles during forward conversion | New feature |
EDITORNET-2465 | Develop new forward conversion mode with inline styles adjusted for App | New feature |
EDITORNET-2556 | Improve table rendering quality | Improvement |
EDITORNET-2557 | Develop border-spacing CSS property with its parsing | Improvement |
EDITORNET-2226 | Different issues in rendering quality for PDF document | Bug |
EDITORNET-2579 | Fix incorrectly rendered text box within shapes | Bug |
EDITORNET-2588 | Fix complex bug with InvalidOperationException during documents roundtrip with exported styles | Bug |
EDITORNET-2590 | Fix bug with invalid class name in CSS selector | Bug |
EDITORNET-2591 | Fix bug with duplicate class names and rulesets after multiple roundtrips of WordProcessing document | Bug |
EDITORNET-2619 | Add possibility to specify template string instead of prefix for external resources | New feature |
EDITORNET-2620 | Add possibility to save EditableDocument to binary streams with resource saving callback | New feature |
EDITORNET-2655 | Add parameterless constructors to all save options | New feature |
EDITORNET-2624 | Fix and improve SVG parser | Improvement |
EDITORNET-2616 | Fix exception with missing external image on .NET Framework 4.6.2 | Bug |
EDITORNET-2627 | Fix different bugs in different parts of CSS parser and improve its quality | Bug |
EDITORNET-2677 | Document creator - create new document by format | New feature |
EDITORNET-1942 | WordProcessing: Process TabStop in Run Processor | Improvement |
EDITORNET-2289 | WordProcessing: Improve rendering of shapes in colontitles | Improvement |
EDITORNET-2664 | EBook: bug in EBookFormats class | Bug |
EDITORNET-2095 | Presentation: Cannot process svg image with incorrect dimensions | Bug |
EDITORNET-2226 | PDF: wrong image positions while rendering document. | Bug |
EDITORNET-2681 | WordPocessing: process unsupported Node type on a Block level | Bug |
EDITORNET-2731 | Replaced dependencies on the System.Drawing | Improvement |
EDITORNET-2753 | Small improvements base on feedback from the Review Documentation | Improvement |
EDITORNET-2756 | Css selector parser: posible null exception during parsing | Bug |
EDITORNET-2755 | PDF: after build to dll cannot detect format | Bug |
Public API and Backward Incompatible Changes
New public types:
New public members:
boolean
com.groupdocs.editor.options.WordProcessingEditOptions.getUseInlineStyles()
com.groupdocs.editor.EditableDocument.save(Writer htmlMarkup, HtmlSaveOptions saveOptions)
com.groupdocs.editor.options.DelimitedTextSaveOptions()
parameterless constructorcom.groupdocs.editor.options.EbookSaveOptions()
parameterless constructorcom.groupdocs.editor.options.PresentationSaveOptions()
parameterless constructorcom.groupdocs.editor.options.SpreadsheetSaveOptions()
parameterless constructorcom.groupdocs.editor.options.WordProcessingSaveOptions()
parameterless constructorcom.groupdocs.editor.Editor(Action<InputStream> newDocumentAction, IDocumentFormat format)
parameterless constructor
Removed public members:
static com.groupdocs.editor.EditableDocument.fromBodyMarkupAndResourceFolder(String htmlBodyContent, String resourceFolderPath)
- use afromMarkupAndResourceFolder
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!