Preserve Meta Characters During Replacement Show Hide Chart Axis using Aspose.Words for Java 18.1

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Words for Java

We are pleased to announce the new monthly release of Aspose.Words for Java 18.1. 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.1 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.

Enhanced Support of Single-Column Table Data Bands and Conditional Blocks for LINQ Reporting Engine

We have enhanced the support of data band inside a single-column table row for LINQ Reporting Engine. In previous versions of Aspose.Words, when opening and closing foreach tags are inside same cell, the output contents would be in the same cell. Starting from Aspose.Words 18.1, you can export the single-column data band in separate new row using greedy switch. Please refer to the following article for more detail.
Working with Table-Row Data Bands

In this release, we have enhanced the support of conditional blocks in table’s row for LINQ Reporting Engine. If you put an opening if, elseif, or else tag and a closing if tag in the same cell, the engine treats a template option formed by these tags as a common one rather than a table-row one by default. However, you can override this behavior making the engine to treat such a template option as a table-row one by specifying a greedy switch. Please refer to the following article for more detail.
Working with Table-Row Conditional Blocks

Added Feture to Preserve Meta-Characters During Replacement

We have added FindReplaceOptions.PreserveMetaCharacters property in Aspose.Words 18.1 to preserve meta-characters beginning with “&” during replacement. Please check the detail and code example from following article.
How to Preserve Meta-Characters During Replacement


/// 
/// True indicates that meta-characters beginning with "&" are preserved.
/// Default value is false.
/// 
public boolean PreserveMetaCharacters

Removed Obsolete Method in CompositeNode

In this release, we have removed following obsolete public method from CompositeNode class. The parameter “isLive” is not used anymore. Please use CompositeNode.GetChildNodes(NodeType nodeType, bool isDeep) instead.


public NodeCollection getChildNodes(NodeType nodeType, boolean isDeep, boolean isLive)

Added Feature to Show Hide Chart Axis

We have added new feature in the release of Aspose.Words to show or hide the chart axis. You can use ChartAxis.Hidden property to achieve this. Please refer to the following article for more detail.
How to Hide Chart Axis


/// 
/// Gets or sets a flag indicating whether this axis is hidden or not.
/// 
/// 
/// Default value is false.
/// 
public boolean Hidden
{
    get; set;
}

Added Feature to Get StoreItemID Property of StructuredDocumentTag

XmlMapping.StoreItemId property has been added in this release to specify the custom XML data identifier for the custom XML data part. Please read DataBinding class for more detail about storeItemID property.


/// 
/// Specifies the custom XML data identifier for the custom XML data part which
/// shall be used to evaluate the  expression.
/// 
public String StoreItemId

Other Improvements

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

  • Improved character spacing control logic.
  • Improved space shrinking for Verdana font.
  • Improved “allow handing punctuation” handling when kerning is enabled.
  • Fixed clip issue with semi-broken tables.
  • Fixed draw order of wrapped shapes in 2013 mode.
  • Fixed repeated header height problem during field update.
  • Fixed the bug causing error in page numbers in multi-page documents rendered into PostScript.
  • Proper calculation of undocumented margins in DrawingML Charts implemented.
  • Horizontal axis of Bubble Chart scaling fixed.
  • Vertical axis of 3DArea Chart scaling fixed.
  • MS Word 2016 approach for rendering of DrawingML Charts axis labels implemented; (Labels are rotated to fit the chart).
  • Fixed rendering of Legend markers for 3D-LineChart.
  • Improved rendering of composite (with multiple series) charts.
  • Chart title with ManualLayout rendering fixed.

Aspose.Words for Java Resources

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


To keep up with our news, you can follow us on Twitter or follow our Facebook page.