We are pleased to announce the new monthly release of Aspose.Words for Java 18.6. The release of this month contains 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.6 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.
Insert Hyperlink Dynamically in Word Documents using Java
A new feature has been introduced in this version of Aspose.Words to insert hyperlink dynamically using LINQ Reporting engine. Please read the following article for more detail.
Title and Description Properties for Table Class
Starting from Aspose.Words 18.6, you can set the alternative text of the table. We have added Title and Description properties into Table class. Please refer to the following article for more detail.
Insert Shapes through DocumentBuilder using ShapeType
We have added the following methods in DocumentBuilder class to insert inline and free-floating shapes. These methods allow inserting DML shape into the document model. For more detail, please read the following article.
Changed Public Properties of AxisScaling Class
We have removed MinimumIsAuto and MaximumIsAuto properties from the AxisScaling class. The type of the Minimum and Maximum properties has been changed from double to AxisBound. A new class AxisBound has been added in latest API that allows specifying axis bound as a numeric, DateTime or “auto” value. Please check the code examples from following article
Setup Language Preferences
The LanguagePreferences class has been added for this feature. We have added a new feature in this release to setup language preferences. In MS Word, you can setup it from ‘Set the Office Language Preferences’ dialog. Please read the following article for more detail.
Move From and Move To Revisions
We have added following public properties into the Inline, Paragraph, ShapeBase and InlineStory classes to work with ‘move from’ and ‘move to ‘ revisions. For more detail, please read the following article.
Line Break Options for Asian Typography
In this release, we have added support of line break options for Asian Typography. The following public properties have been added into the ParagraphFormat class. Please read the following article for more detail.
“Add bi-directional marks” for TXT Format
We have added TxtSaveOptions.AddBidiMarks property in this version of Aspose.Words to support the insertion of bi-directional marks in output TXT file format. Please read the following article for more detail.
Obsolete Enum RowAlignment was Removed
Obsolete enum RowAlignment was Removed from API. Please use TableAlignment enum instead.
Obsolete Methods
Obsolete method InvalidateFieldTypes was removed from Document and Range classes. Please use NormalizeFieldTypes method instead.
Obsolete Properties
Obsolete property RowFormat.PreferredWidth was removed. Please use the Table.PreferredWidth property instead.
Obsolete property RowFormat.RowAlignment was removed. Please use the Table.RowAlignment property instead.
Obsolete property RowFormat.AllowAutoFit was removed. Please use the Table.AllowAutoFit property instead.
Obsolete property RowFormat.Bidi was removed. Please use the Table.Bidi property instead.
Obsolete properties RowFormat.LeftPadding/RightPadding/TopPadding/BottomPadding was removed. Please use these properties from Table class instead.
Obsolete property RowFormat.CellSpacing was removed. Please use the Table.CellSpacing property instead.
Obsolete property RowFormat.LeftIndent was removed. Please use the Table.LeftIndent property instead.
Obsolete method RowFormat.ClearCellPadding() was removed. Please use padding properties on the Table instead.
Other Improvements
There are 66 improvements and fixes in this regular monthly release. The most notable are:
- Exposed Title and Description properties into Table class
- Added feature to insert shapes through the DocumentBuilder using ShapeType
- Changed public properties of AxisScaling class
- Implemented API allowing to set up language preferences
- Added IsMoveFromRevision and IsMoveToRevision properties
- Exposed properties for Asian typography into ParagraphFormat class
- Public TXT save option AddBidiMarks is added
- Implemented “left” and “right” alignment support for Ruby objects rendering
- Improved rendering of DrawingML chart data labels with percentage values and the specified format
- Flat shapes that are perpendicular to the projection plane are not rendered now
- Zero-width characters in DrawingML textboxes no longer cause an exception during rendering
- Fixed an issue with font fallback rendering for 1F600 – 1F64F (Emoticons) Unicode range
- Fixed a bug with the rendering of the chart data labels, when label text and SpPr are specified
- Fixed a bug with the maximum value of the chart axis when rendering DrawingML charts
- Fixed a problem with rendering of subscript and superscript text in DrawingML charts
- Fixed a bug where the shadowed shapes with compound outline lost their fill
- Fixed MathML alignment issue inside text boxes
- Fixed layout when large inline shape is attached to a paragraph with space after overflowing page
- Fixed issue with preferred width of vertically merged table cells accounted for during width computation
- Fixed exception when revision balloons are displayed in certain cases
- Enhanced logic which handles page breaks inside text frames
- LINQ Reporting Engine supports dynamic insertion of hyperlinks
Aspose.Words for Java Resources
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– Do not limit yourself, you can keep yourself updated with the latest news on Aspose.Words, APIs, new features, fixes and other API related topics by subscribing to Aspose.Words blog.
- Aspose.Words for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.