Aspose.Words for Java 16.12.0 Release Notes

Major Features

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

  • Support of Hijri/Hebrew/Japanese/ThaiBuddhist and other Lunar and non-Gregorian Calendars
  • Save to image formats can be fine-tuned by passing RenderingHints to ImageSaveOptions.GraphicsQualityOptions
  • Analog of .Net’s DataTableReader
  • Support of the “people” part (Word 2013 feature)
  • StructuredDocumentTag extensions supported (Word 2013 feature)
  • REVNUM, INFO fields supported
  • Improved handling of hanging punctuation and hyphens in complex script content
  • Improved handling of “Automatically adjust space between Asian text and numbers” compatibility option
  • Improved paragraph alignment when text contains hidden content
  • Improved reflow of vertically merged cells for complex table grid layout
  • Implemented combining adjacent tables on document loading
  • Path gradient fill support while rendering SVG implemented
  • Leader lines rendering for all DrawingML Chart types (not only for pie-charts) implemented
  • Styles are now properly applied for DrawingML Charts while rendering

Full List of Issues Covering all Changes in this Release

WORDSJAVA-1320Docx to Png conversion issue with space widthBug
WORDSJAVA-1437Can’t read Docx with DML that contains tag with undeclared namespace.Bug
WORDSJAVA-1455java.lang.ArrayIndexOutOfBoundsException when specifying ResourcesFolderBug
WORDSJAVA-1456word equation conversion problemBug
WORDSJAVA-1432JAI and imageIO exception while converting Doc to PdfException
WORDSJAVA-1453License.SetLicense throws java.lang.IllegalStateException: The signature is invalid.Exception
WORDSJAVA-1433Date Field support of Hijri/Lunar Calendar option.Feature
WORDSJAVA-1447Pass RenderingHints as a parameter in ImageSaveOptionsFeature
WORDSJAVA-1452Analog of .Net’s DataTableReader.Feature
WORDSJAVA-1137Word to PDF performance issue over WebLogic Server 10.3.5Performance
WORDSJAVA-1458Aspose.Words ignores fonts while converting mhtml to pdfRegression
WORDSNET-13203Incorrect cell width causes contents to wrap to the next lineBug
WORDSNET-13350Incorrect image size in AW pdf outputBug
WORDSNET-13355Some images not displayed correctly when converting from docx to pdfBug
WORDSNET-13398Docx to Pdf conversion issue with Shape (image) renderingBug
WORDSNET-13413Row deletion is not read properly.Bug
WORDSNET-13469Vertical position of stretched text is incorrect.Bug
WORDSNET-13480Formatting in CellFormat.Borders changes after read-only accessBug
WORDSNET-13492Table’s cell shading is lost in output PdfBug
WORDSNET-13647Conversion from .odt file to .pdf file has TOC formatting issuesBug
WORDSNET-13771Hidden row is read incorrectly.Bug
WORDSNET-13772Hidden row is read incorrectly.Bug
WORDSNET-13796RTL text is getting reversed during Docx to Html conversionBug
WORDSNET-13990Soft hyphen in HTML (­) is exported to hyphen in output DocxBug
WORDSNET-14026System.NullReferenceException during save to docxBug
WORDSNET-14038Document.Compare produces wrong outputBug
WORDSNET-14059Docx to Pdf conversion issue with image borderBug
WORDSNET-14070When Chart object in Word document is converted to .jpg image, color of axis is differentBug
WORDSNET-14080Paragraphs containing nothing but tabs disappear in HTMLBug
WORDSNET-14090Hanging punctuation character is placed inside a line.Bug
WORDSNET-14094SpanHyphen width is incorrect when the document grid is defined.Bug
WORDSNET-14191Issue with embedded vsd after re-saving DocxBug
WORDSNET-14192Document.Compare returns incorrect document for same input documentBug
WORDSNET-14207Getting Extra Revisions When Comparing Two Word Documents Which Contain TextBox With Some ChangesBug
WORDSNET-14260Custom Styles are lost on HTML-Aspose.Words-HTML roundtripBug
WORDSNET-14262Field.Type returns none for hyperlink when it is hiddenBug
WORDSNET-14278Content of the formatted balloons in the generated pdf file is different than in the doc fileBug
WORDSNET-14279Document.JoinRunsWithSameFormatting does not work for DocxBug
WORDSNET-14283When DOCX converted to HTML, paragraph looks different in HTML.Bug
WORDSNET-14295Image is lost after re-saving DocxBug
WORDSNET-14309Compare issues in tableBug
WORDSNET-14312Currency values disappearing in PDFBug
WORDSNET-14317Color of SVG is lost in output Html/PdfBug
WORDSNET-14368Text of content control is lost after conversion from Docx to XpsBug
WORDSNET-14373Rtf to Pdf conversion issue with paragraph’s alignmentBug
WORDSNET-14383Document.PageCount returns wrong number of pages.Bug
WORDSNET-14404When Word document is converted to PDF, part of the content is missingBug
WORDSNET-14411Cell revisions is written incorrectly.Bug
WORDSNET-14418Wrong indentation of text in List in PDFBug
WORDSNET-14420Docx to Pdf conversion issue with shape’s positionBug
WORDSNET-14422Document.UpdateFields updates the INDEX field incorrectlyBug
WORDSNET-14426Line break is converted to “x000d” in output PdfBug
WORDSNET-14435Excessive revisions number for minor change in table - CompareBug
WORDSNET-14438Unexpected empty space is appeared after using DocumentBuilder.InsertDocumentBug
WORDSNET-14447Symbol are wrong in the genarted PDF renditionBug
WORDSNET-14455Image is lost after conversion from Docx to Doc/PdfBug
WORDSNET-8240Embedded images are not preserved during open/save MHTMLBug
WORDSNET-8340Text color in SmartArt DML is not preserved during renderingBug
WORDSNET-8440Incorrect spaces between words of bidirectional text in HTML Fixed Page documentsBug
WORDSNET-9717An embedded font is not written in output Word formatsBug
WORDSNET-8563MhtmlReader does not support complex bodyEnhancement
WORDSNET-14030Aspose.Words.FileCorruptedException is thrown while loading FlatOpcException
WORDSNET-14061System.NotSupportedException is thrown while loading mhtmlException
WORDSNET-14261System.IndexOutOfRangeException is thrown while saving Docx to pdfException
WORDSNET-14289Document.UpdatePageLayout throws System.NullReferenceExceptionException
WORDSNET-14293System.InvalidCastException is thrown while convert Docx to HtmlException
WORDSNET-14421Aspose.Words.FileCorruptedException is thrown while loading DocxException
WORDSNET-14441ArgumentNullException while save to htmlException
WORDSNET-14442Aspose.Words.FileCorruptedException occurs upon loading a RTFException
WORDSNET-14443Aspose.Words.FileCorruptedException occurs upon loading a ODTException
WORDSNET-14487NullReferenceException occurs when converting from Word to HTML or PDFException
WORDSNET-12756Docx to PDF table width wider than page widthFeature
WORDSNET-13761Table’s header rows are not rendered in output PdfFeature
WORDSNET-13916Support rendering of leader lines for all chart types.Feature
WORDSNET-14364Support REVNUM fieldFeature
WORDSNET-14365Support INFO fieldFeature
WORDSNET-14475Word Document gets stuck in conversion with long period of high CPUPerformance
WORDSNET-13044DocumentBuilder.InsertDocument changes table’s layoutRegression
WORDSNET-13243Table layout is corrupted after mail mergeRegression
WORDSNET-14390Mail Merge problem with Nested TriggersRegression
WORDSNET-14490Value of ResourceLoadingArgs.Uri is ignored during HTML importRegression
WORDSNET-14534Document.UpdateFields throws System.NullReferenceExceptionRegression
WORDSNET-14549System.NullReferenceException is thrown when docx is saved to pdfRegression

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.Words 16.12.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.

WORDSJAVA-1447 - Pass RenderingHints as a parameter in ImageSaveOptions

ImageSaveOptions.GraphicsQualityOptions is added so user can pass RenderingHints (TextRenderingHint, InterpolationMode etc.) as a parameter of GdiRenderer:

WORDSNET-14364 - REVNUM field supported

We have added the support for the REVNUM field. It can be updated now:

WORDSNET-14365 - INFO field supported

We have added the support for the INFO field. It can be updated now: