We are pleased to announce the new monthly release of Aspose.Words for Java 18.8. The release of this month contains a number of new features, enhancements and bug fixes of the issues reported by our users in previous versions. Please check the detailed release notes of Aspose.Words for Java 18.8 to get an idea about all 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.

Java 10 Supported

We have tested Aspose.Words for Java with Java 10 and are pleased to announce that Java 10 is now supported by the latest versions of Aspose.Words for Java.

Nested Reports are Supported by LINQ Reporting Engine

You can insert the contents of outer documents to your reports dynamically using LINQ Reporting. Starting from Aspose.Words for Java 18.8, you can enable doc tag to check the template syntax and populate with data using LINQ Reporting. By default, a document being inserted is not checked against template syntax and is not populated with data. Please read the following article for more detail.

Inserting Documents Dynamically

Added Feature to Create Snip Corner Rectangle

We have added support to create snip corner rectangles in this version of Aspose.Words for Java. Please refer to the following article for more details.

Create Snip Corner Rectangle

Reference Resources in MHTML Documents using the “Content-Id” URL Scheme

We have added HtmlSaveOptions.ExportCidUrlsForMhtmlResources property in Aspose.Words 18.8. You can use this property to save the resources of MHTML document using the “Content-Id” URL Scheme. Please refer to the following article for more detail

Reference Resources in MHTML Documents using the “Content-Id” URL Scheme

Show or Hide Comments in Fixed file Format

We have added new property ShowComments in LayoutOptions class. This property is used to show or hide comments in fixed file formats e.g. PDF, XPS. By default, the comments are visible. Please read following article.

Working with Layout Options

Show Revisions in Balloons

A new property ShowInBalloons has been added to RevisionOptions class. This property is used to show revisions in the balloons. By default, the revisions in balloons are not shown. Please refer to the following article.

Working with Layout Options

Write all CSS Declarations of HtmlFixed Documents into Single File

Previously, Aspose.Words used to save “@font-face” rules of HtmlFixed documents into a separate file “fontFaces.css” while other CSS declarations were written to “styles.css”. We have changed this behavior and now Aspose.Words saves all CSS rules and declarations into the same file “styles.css”. In case the old behavior is required for compatibility with legacy code, it can be restored by using the new public property HtmlFixedSaveOptions.SaveFontFaceCssSeparately. Please read following article.

Write all CSS Declarations of HtmlFixed Document into Single File

Detect UTF8 Text While Loading RTF

We have added new property RecognizeUtf8Text in RtfLoadOptions class. This property allows to detect UTF-8 encoded characters and preserve them during import. Please read following article.

Detect UTF8 Text While Loading RTF

Obsolete Member NumInDash was Removed from NumberStyle Enum

Obsolete value NumInDash was removed from NumberStyle enum. Please, use NumberStyle.NumberInDash value instead.

Obsolete Method ToTxt() was Removed from Node Class

Obsolete method ToTxt() was removed from Node class. Please, use ToString(SaveFormat.Text) instead.

Obsolete Property Location was Removed from FootnoteOptions and EndnoteOptions Classes

The obsolete property Location has been removed from the FootnoteOptions and EndnoteOptions classes. Please use the Position property. Also, the FootnoteLocation emum type has been removed.

Obsolete Property WarningCallback was Removed from SaveOptions Class

Obsolete property WarningCallback was removed from SaveOptions class. Please, use the Document.WarningCallback property instead.

Other Improvements

There are 86 improvements and fixes in this regular monthly release. The most notable are:

  • Java 10 tested and supported now
  • New and updated Samples and Examples
  • Change SHA-1 to SHA-256 and public asymmetric key from 1024 to 2048 for the license mechanism
  • Implemented support for “underline trailing spaces” compatibility option
  • Implemented support for paragraph alignment in Omath when inserted using EQ fields
  • Enhanced computation of interscript spacing values based on TTF properties
  • Improved wrapping of text around floating objects
  • Improved calculation of position of floating tables and shapes
  • Improved floater overlapping logic
  • Improved computing of pages numbers in continuous sections which have restart attribute and conflicting oddity
  • Fixed line justification issue when RTL span is at the end of the line
  • Fixed issue with null dml properties
  • Fixed issue with rendering of floating shapes in truncated headers/footers
  • Fixed issue with rendering of lines inside of a field result when updated in truncated part of a cell
  • Improved rendering of math operators in MathML objects
  • Improved rendering of MathML objects with n-ary math element when n-ary character and limit location are not specified
  • Fixed a bug with rendering of a math n-ary element if it is part of a fraction
  • Fixed a bug when polyline with an arrow and a very small line segment at the end
  • was corrupted upon rendering
  • Fixed a bug when an arrow pointer is incorrectly directed while rendering Bezier curves with arrows
  • Fixed a bug where the end of the line was outside the “stealth arrow” when rendering
  • LINQ Reporting Engine supports nested reports

Aspose.Words for Java Resources

The following resources will help you work with Aspose.Words for Java: