Process Original or Revised Version of Document, Java 12 Supported by Aspose.Words for Java 19.8

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

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.