Today, I will highlight the major features introduced in Aspose.Words for Java 19.9 release:
OpenType Fonts and Kerning Features Supported
OpenType is a font format for scalable computer fonts and introduced to provide better support for languages and writing systems as compared to PostScript and TrueType. We have added TextShaperFactory property in LayoutOptions class. This property is used to get or set ITextShaperFactory implementation used for Advanced Typography rendering features. How does this feature work? It’s very simple. Please check the code example and detail in the following article.
How to Use OpenType Features
Create Repeating Section Content Control
The repeating section content control allows repeating the content contained within it. Using Aspose.Words for Java, the structured document tag nodes of the repeating section and repeating section item types can be created and for this purpose, SdtType enumeration type provides REPEATING_SECTION_ITEM member. The following code example demonstrates how to bind a repeating section content control to a table.
LINQ Reporting using XML, JSON, and CSV Data Sources
The LINQ Reporting engine of Aspose.Words for Java now enables you to reference business objects of your application in report templates. We have added XmlDataSource, JsonDataSource, and CsvDataSource classes in this release to use XML, JSON, and CSV as data sources to generate reports using LINQ Reporting. Please read the following articles for complete detail of this feature.
Create and Modify VBA Macros
The following code example demonstrates how to modify VBA Macros from the document using the VbaModule.setSourceCode() property.
Link Custom Document Property to Bookmark
Aspose.Words for Java now provides a method CustomDocumentProperties.addLinkToContent(String, String) to create a new ‘linked to content’ custom document property which returns the newly created property object or null if the link source is invalid. The following code example demonstrates how to configure the link to a content custom property.
See also Useful Links
- Aspose.Words for Java Online Documentation – up-to-date documentation containing Programmer’s Guide, Knowledge Base and much more.
- Aspose.Words for Java Product Page
- Install Aspose.Words for Java from Maven
- Aspose.Words for Java API Reference Guide – detailing the publicly exposed classes, methods, properties, constants & interfaces.
- Download Examples at GitHub Repository – we have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Words for Java API by posting your suggestions and concerns in the Aspose.Words for Java Support Forum.