Browse our Products

Aspose.Words for Java 16.5.0 Release Notes

Major Features

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

  • Improved reflow performance for large paragraphs.
  • Added explicit support of multiple data sources to LINQ Reporting Engine.
  • SVG output with IE compatibility improved.
  • Improved widow/orphan handling for tables.
  • Improved asian text line breaking.
  • Improved font metrics calculation for substituted fonts.
  • Implemented support for SuppressEndnotes option.

Full List of Issues Covering all Changes in this Release

WORDSJAVA-1064Wrong shape of blurBug
WORDSJAVA-1173Image color is changed.Bug
WORDSJAVA-1324Shapes do not render correctly in output PdfBug
WORDSJAVA-1361DigitalSignatureUtil.sign() receives InputStream for input and output.Bug
WORDSJAVA-1374[TestCase] without [Test] adds ’enabled = false’ to java test.Enhancement
WORDSJAVA-1231java.lang.IllegalStateException is thrown while converting Docx to PdfException
WORDSJAVA-1347Shadow mirror Dml effect is lost.Regression
WORDSJAVA-1348DML image’s Shadow size and type is changed.Regression
WORDSJAVA-1349DML image’s border is changed.Regression
WORDSJAVA-1381Embedded fonts are lost.Regression
WORDSNET-11897A symbol in picture is transformed to SDT and its actual look is not preserved during open/save a DOCXBug
WORDSNET-12133Save Word document as PDF corrupts WordArtBug
WORDSNET-12432Missing text in text boxes when converting to PDFBug
WORDSNET-12535Word To PDF conversion - Problem with TextboxBug
WORDSNET-12927Horizontal lines are not visible in generated documentBug
WORDSNET-13011/para rules during row break/ A Table row breaks across pages in PDFBug
WORDSNET-13062TestJira4499 fails on certain machinesBug
WORDSNET-13122Numbered list does not get converted properly in the attached PDFBug
WORDSNET-13134Google Chrome error: Duplicate headers received from serverBug
WORDSNET-13137Div is not imported into Aspose.Words DOMBug
WORDSNET-13169Specifying new values to ComparisonOperator, LeftExpression or RightExpression of FieldIf cause lose of Tables and other formattingBug
* MERGEFORMAT is overlapped after re-saving Rtf.
WORDSNET-13357Japanese text wraps to next line after English word in output PdfBug
WORDSNET-13365Hyperlink text should not wrap to the next lineBug
WORDSNET-13372A Page’s content is splitting into two pages during renderingBug
WORDSNET-13373Docx to SVG conversion issue with text selection in IE-11Bug
WORDSNET-13409Word to PDF conversion - missing drawingBug
WORDSNET-13410Converting to PDF pushes last row on next pageBug
WORDSNET-13417Table’s rows are moved to previous page after saving Doc to PdfBug
WORDSNET-13419Document.UpdateFields corrupts the documentBug
WORDSNET-13442Table’s cell margins are changed after re-saving DocxBug
WORDSNET-13444Table’s cells width are changed after re-saving DocBug
WORDSNET-13448Mergefield TableStart inside an IF field are processed although the IF condition is false (IF field is outside any merge regions)Bug
WORDSNET-13458Docx to Doc/Pdf conversion issue with bounded check-boxesBug
WORDSNET-13464Document.UpdateFields does not update REF fieldsBug
WORDSNET-13465Image (shape) is lost after re-saving mhtmlBug
WORDSNET-13471Not able to load DOCX fileBug
WORDSNET-13474Paragraph moves to previous page after conversion from Docx to PdfBug
WORDSNET-13477Cell border not rendered in Word where rowspan is used in HtmlBug
WORDSNET-13481Barcode font is changed to Arial after re-saving DocxBug
WORDSNET-13491Chinese text is truncated in output HtmlFixed formatBug
WORDSNET-13494Asian text is improperly wrapped. Font is improperly detected for not asian characters.Bug
WORDSNET-13511Data Labels in chart are changed after re-saving DocxBug
WORDSNET-13523Missing Numbering when save as PDF in Memory StreamBug
WORDSNET-13528Special characters are displayed in PDFBug
WORDSNET-13536MailMerge.PreserveUnusedTags does not preserve “mustache” tagsBug
WORDSNET-13549Right-hand border thickness is incorrect during open/save a DOCBug
WORDSNET-13579Converting to PDF messes up the table cell formatBug
WORDSNET-13582Hyperlink color changes to Black in generated DOC/PDFBug
WORDSNET-13619Text is truncated and renders outside the Table in PDFBug
WORDSNET-5108Images are lost after open/save DOCX document (Sdt).Bug
WORDSNET-5134Drop caps do not export well to HTMLBug
WORDSNET-6464The contents do not fit in table’s cell in output PDF file.Bug
WORDSNET-6514Unable to view Aspose.Words generated DOCX file with GoogleDocsBug
WORDSNET-7492Picture is shifted up during DOCX to PDF conversionBug
WORDSNET-7795Table contents become invisible in output PDF fileBug
WORDSNET-7847Incorrect text color in output PDFBug
WORDSNET-8232Moderate effect Shape Style is not preserved during open/saveBug
WORDSNET-11353SmartArt text render incorrectly in output PdfEnhancement
WORDSNET-11963Inconsistent formatting of comment references exported to HTMLEnhancement
WORDSNET-12169Implement public API to set the shape fill to picture (at least) // Ellipse shape image is rendered as square in PDFEnhancement
WORDSNET-12225Html to Docx conversion issue with display : inline styleEnhancement
WORDSNET-12398Contents are moved from 1st page to second page in output PdfEnhancement
WORDSNET-13295Support special handling of backslash for IF fieldsEnhancement
WORDSNET-13309list-style:none does not take effect in output documentEnhancement
WORDSNET-13400Unrecognized image type encountered during DOCX exportException
WORDSNET-13437Aspose.Words.FileCorruptedException is thrown while loading mhtmlException
WORDSNET-13483Saving to PDF throws “Parameter is not valid” exceptionException
WORDSNET-13499System.NullReferenceException during converting DOCX to DOCXException
WORDSNET-13501Document.AcceptAllRevisions throws “The bookmark range is invalid” exceptionException
WORDSNET-13507Aspose.Words.FileCorruptedException is thrown while loading DocException
WORDSNET-13508Document.Save throws System.NullReferenceException while re-saving DocxException
WORDSNET-13517Aspose.Words.FileCorruptedException is thrown while loading DocException
WORDSNET-13534“Memory stream is not expandable” error occurs upon loading a RTFException
WORDSNET-13560UnsupportedFileFormatException while loading txt fileException
WORDSNET-10921/para rules during row break/ Table’s row split over pages after conversion from Docx to PdfFeature
WORDSNET-12492Allow creation of bookmarks over 40 chars long when the target document is PDFFeature
WORDSNET-13014Add a special mode to Aspose.Words optimized for high-performance text extractionFeature
WORDSNET-13325PageSetup.SuppressEndnotes does not work when saving to PDFFeature
WORDSNET-13538Provide ReportingEngine.buildReport overload that accepts multiple data source objectsFeature
WORDSNET-13418Optimize line wrapping performancePerformance
WORDSNET-13514It takes long to save a document to PDFPerformance
WORDSNET-13577Certain images don’t show up in the printed version of the generated reportRegression

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.Words 16.5.0. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in Aspose.Words which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.

WORDSNET-13538 - Added ReportingEngine.BuildReport() overload

The following overload has been added to the ReportingEngine class:

/// <summary>
/// Populates the specified template document with data from the specified sources making it a ready report.
/// </summary>
/// <remarks>
/// <para>
/// Using this overload you can reference multiple data source objects and their members in the template.
/// The name of the first data source can be omitted (i.e. be an empty string or null) if you are going to
/// reference the data source's members but not the data source object itself. Names of the other data sources
/// must be specified and unique.
/// </para>
/// <para>
/// If you are going to use a single data source, consider using of <see cref="BuildReport(Document, object)"/>
/// and <see cref="BuildReport(Document, object, string)"/> overloads instead.
/// </para>
/// </remarks>
/// <param name="document">A template document to be populated with data.</param>
/// <param name="dataSources">An array of data source objects.</param>
/// <param name="dataSourceNames">An array of names to reference the data source objects within the template.</param>
public void BuildReport(Document document, object[] dataSources, string[] dataSourceNames)

It allows using multiple data source objects while building a report.