Following list highlights major features and you will also learn how you can use Aspose.Words for Java 19.8 to:
- Define default options for ChartDataLabels of ChartSeries
- Access the revised version of a Document
- Aspose.Words for Java is tested on Java 12. It works fine both on Oracle JDK 12.0.2 and OpenJDK 12.0.2.
- Aspose.Words for Java will now use simplified TIFFImageWriter when external TIFF image libs (JAI, etc.) are not available.
Define Default Options for ChartDataLabels of ChartSeries
The ChartDataLabelCollection class defines properties which can be used to set default options for ChartDataLabel for Chart Series. These properties include setShowCategoryName, setShowBubbleSize, setShowPercentage, setShowSeriesName, setShowValue etc. Following code example shows how to use these properties:
Chart layout/result in output Word document will look like this:
Access Revised Version of a Document
The API now provides RevisionsView public enumeration which allows specifying whether to work with the original or revised version of a document. The document class provides RevisionsView property which can be used to get or set enumeration value. The default value is Aspose.Words.RevisionsView.Original.
The code example given below shows how to use this enumeration and access the revised version.
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.