We are pleased to announce the monthly release of Aspose.Words for Java 18.10. This update adds new features, enhancements, and bug fixes based on user feedback. See the detailed release notes of Aspose.Words for Java 18.10 for a full list. If you plan to upgrade, review the Public API Changes section and earlier release notes to understand API changes.
The following sections describe some details regarding these newly added features and enhancements.
Set Font Fallback Settings for Rendering Word Documents
Aspose.Words 18.10 introduces FontSettings.FallbackSettings to control font fallback when a font lacks a required character. The new FontFallbackSettings class defines the fallback mechanism. Read the article for more details.
Get Actual Bounding Box of Shape
The new property NodeRendererBase.BoundsInPoints returns the actual bounding box of a shape as rendered on the page. Learn more in the article below.
Set the Style of Content Control to Format Text Typed
Two new properties, Style and StyleName, have been added to the StructuredDocumentTag class to set or get the style applied to a content control. See the article for details.
Copy All Styles from Template
Aspose.Words now lets you copy all styles from one document to another. Use either of these methods in the Document class:
public void Document.copyStylesFromTemplate(String template)public void Document.copyStylesFromTemplate(Document template)
Read the article for more information.
Insert Untyped/Empty Field into Document
MS Word can insert an empty field, and Aspose.Words 18.10 now supports this. See the article for details.
Allow Spacing Between Cells of Table
The new Table.AllowCellSpacing property lets you enable or disable spacing between table cells. Learn more in the article.
Insert Horizontal Rule into Document
Aspose.Words 18.10 adds the InsertHorizontalRule() method to DocumentBuilder, allowing you to insert a horizontal rule. Read the article for details.
Other Improvements
There are 84 improvements and fixes in this regular monthly release. The most notable are:
- Aspose.Words for Java is now FIPS compliant. Call
SecuritySettings.startFipsMode()to enable FIPS mode. - Support for Conholdate.Total licensing system.
- Improved compatibility within the GroupDocs Total package.
- Fixed a Veracode security scan issue.
- Resolved Java 10/11 compatibility bugs on older runtimes.
- Numerous JavaDoc updates.
- Updated Aspose.BarCode architecture (from v.18.8) for more consistent barcode handling.
- New API to configure font fallback via XML.
- Option to apply a style to text typed into an SDT control.
- Feature to insert a horizontal rule into a document.
- PNG images with corrupted structures are now processed when size information is readable.
- Better rendering of abscissa labels in DrawingML charts with many dummy values.
- Improved vertical axis scaling for DrawingML charts with small ranges.
- Fixed exception during rendering of pattern‑filled DrawingML shapes when the pattern is missing.
- Fixed rendering glitch caused by negative arcsize in rounded‑rectangle VML shapes.
- Resolved gridline rendering bug in DrawingML charts when tick‑mark intervals are set.
- Fixed second‑axis title rendering in DrawingML charts with manual layout.
- Fixed paragraph‑above‑spacing issue for page‑break lines in compatibility mode.
- Fixed hidden paragraph rendering in TOC fields.
- Fixed line‑wrapping issue in compatibility mode when a line break follows an inline shape wider than the column.
- Improved underline rendering based on POST table fields in OTF fonts.
- Better alignment of page‑relative shapes in documents created with Word 2013 or later.
- LINQ Reporting Engine now removes paragraphs that become empty after template tags are removed or replaced with empty values.
The following resources will help you work with Aspose.Words for Java:
- Home page for Aspose.Words for Java
- Install Aspose.Words for Java from Maven
- Words product family forum – Post your technical questions and queries, or any other problem you faced while running Aspose.Words APIs.
- Aspose.Words for Java online documentation– Help documentation.
- Aspose.Words for Java online API reference– API reference documents.
- Enable Blog Subscription– Stay updated with the latest news, features, fixes, and topics by subscribing to the Aspose.Words blog.
- Aspose.Words for Java Examples – Explore code examples on GitHub for learning and reference.