We are pleased to announce new release Aspose.Words for Java 17.6. As Aspose.Words for Java is auto-ported from Aspose.Words for .NET, this month release includes all the new features, enhancements and fixes introduced in its corresponding version .NET version i.e Aspose.Words for .NET 17.6. Some of the new features are the support of automatically adjust space between Asian and Latin Text/Numbers and import of HTML form field tags as Content Control tags (SDT). Please check the detailed release notes of this version to get an idea about the new features/enhancements and fixes made in this release.
Furthermore, if you are planning to upgrade the API from any previous version, we strongly recommend you to check the Public API Changes section of current release and other intermediate releases from release notes folder, to know what has been changed since your current revision of the API.
The following sections describe some details regarding these newly added features/enhancements.
Improved rendering of SVG images
We have improved the SVG image rendering technique in this version. Earlier, upon inserting the SVG image into the document, it is converted to meta-file (EMF) using GDI/+. We have noticed that GDI/+ is not working as expected in the multithreading approach, an exception occurs in GDI/+. To prevent problems with multi-threading, we have switched to our own EMF renderer instead of GDI/+.
Automatically Adjust Space between East Asian and Latin Text/Number
We have implemented a new feature in this release to automatically adjust space between East Asian and Latin text and Numbers and East Asian text. We have added two public properties in ParagraphFormat class AddSpaceBetweenFarEastAndAlpha and AddSpaceBetweenFarEastAndDigit to achieve this. Gets or Sets flag indicating whether inter-character spacing is automatically adjusted.
Import HTML Form Fields Tags as Content Control Tags(SDT)
Some of our customers have the requirement to import HTML form fields as content control tags(SDT) in HTML to DOCX conversion. We have introduced this new feature in Aspose.Words for Java 17.6. Now you can import <input> and <select> elements as content control (SDT) during HTML to DOCX conversion. Please check the following sample code snippet for detail:
Other Improvements
We have 95 improvements and fixes in the current release. In addition to the above features and enhancements following are some of the notable improvements of this release:
- Performance and memory optimizations caused by shrinking and optimizing the storage of internal unsigned types.
- Throw warnings when an external resource in HTML could not be loaded.
- Track changes view settings in LibreOffice.
- Added ability to reference data from parent region in child regions.
- Implemented support for distributed paragraph alignment.
- Improved handling of justified alignment in Asian text.
- Improved line height calculation for inline images in Asian text
- Improved handling of hidden paragraph breaks around text frames
- Improved text wrapping of sections breaks around floating objects
- Improved Aps logical structure generation for repeated header rows
- Improved rendering of PDF logical structure of Table headers.
- Character offsets in META_EXTTEXTOUT records are now taken into account while rendering multi-byte encoding metafiles.
Aspose.Words for Java Resources
The following resources will help you work with Aspose.Words for Java:
- Home page for Aspose.Words for Java
- Download Aspose.Words for Java
- Install Aspose.Words for Java from Maven
- Aspose.Words product family forum – Post your technical questions and queries, or any other problem you faced while running Aspose.Words APIs.
- Words for Java online documentation– Help documentation.
- Words for Java online API reference – API reference documents.
- Enable Blog Subscription– Do not limit yourself, you can keep yourself updated with the latest news on Aspose.Words, APIs, new features, fixes and other API related topics by subscribing to Aspose.Words blog.
- Aspose.Words for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.