Browse our Products

Aspose.Words for Java 16.10.0 Release Notes

Major Features

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

  • Improved importing of text in DOS Arabic or Hebrew encodings.
  • Added feature to compare document as MS Word does.
  • Added feature to get OOXML compliance version as determined from the loaded document content.
  • Font fallback while rendering fonts of Myanmar Unicode range improved.
  • DrawingML text effects rendering performance slightly improved.
  • DrawingML text box rendering effects added.
  • SVG rendering improved.
  • Detection of encoding while rendering MathML improved.
  • Chinese text rendering in HtmlFixed improved.

Full List of Issues Covering all Changes in this Release

WORDSJAVA-1442DML effects work incorrectly for semi-transparent areasBug
WORDSJAVA-1421Field currency number formatting issue.Enhancement
WORDSJAVA-1420Incorrect importing of text in DOS Arabic or Hebrew encodings.Enhancement
WORDSJAVA-1372Better runtime localization of different possible Linux JRE fonts folders.Enhancement
WORDSJAVA-1431JAI and imageIO issue while loading mhtmlException
WORDSJAVA-1428PdfEncryptionDetails.setPermissions throws exception while using PHP-JavaBridgeException
WORDSJAVA-1358Document Preview And Print example throws “contentPane cannot be set to null” exceptionException
WORDSJAVA-1441Dml Effects Combination rises size of image border/shadow.Regression
WORDSNET-10206/font substitution/ Font fallback issue with space characterBug
WORDSNET-12191/document grid + charSpace/ AW incorrectly wraps linesBug
WORDSNET-12290Images are missing from GroupShape after re-saving DocBug
WORDSNET-12295/document grid + charSpace/ Some characters are misplaced after DOCX to PDFBug
WORDSNET-12296/document grid + charSpace/ Extra page after DOCX to PDFBug
WORDSNET-12369Extra Revisions are appeared when a set of pages are added to DocumentBug
WORDSNET-12903Document.Compare does not mimic MS Word behaviorBug
WORDSNET-13110Document.Compare does not mimic Microsoft Word’s compare featureBug
WORDSNET-13145Double line on a shape not converting correctly in PDFBug
WORDSNET-13159Document.Compare does not mimic Microsoft Word’s compare featureBug
WORDSNET-13358Japanese text moves to next line after conversion from Docx to PdfBug
WORDSNET-13520NodeImporter.ImportNode corrupts the output documentBug
WORDSNET-13596Doc file becomes protected (Restrict Editing) after re-savingBug
WORDSNET-13598Special characters (SpecialChar) are not converted correctly in output text file formatBug
WORDSNET-13762Document.Compare does not compare list items correctlyBug
WORDSNET-13790Contents move to next page after conversion from Docx to PdfBug
WORDSNET-13810Some methods work incorrectly when field is located within a single paragraphBug
WORDSNET-13811Some field specific code parsers work incorrectly if the field has nested fieldsBug
WORDSNET-13812ShapeBase.AspectRatioLocked returns wrong valueBug
WORDSNET-13818Document.Compare incorrectly compares bookmark’s textBug
WORDSNET-13825Corrupted document is generated on saving RTF to DOCXBug
WORDSNET-13829/Mixed fonts metrics/ Contents move to next page after conversion from Docx to PdfBug
WORDSNET-13857/font substitution/ Incorrect Arabic words are rendering in PdfBug
WORDSNET-13918Shape’s text is rendered on next line in output PdfBug
WORDSNET-13969Html to Docx/Pdf conversion issue with SVG “dy” attributeBug
WORDSNET-13970Html to Docx/Pdf conversion issue with SVG “text-anchor” attributeBug
WORDSNET-13978Converting DOC to PDF - Numbering changedBug
WORDSNET-13994The number list is changed to bullet list in output PdfBug
WORDSNET-13995Discrepancy merging tables when saving as pdfBug
WORDSNET-14002Positions of axis lines not preserved when inserting SVG image in Word documentBug
WORDSNET-14003Data missing when inserting SVG image in Word documentBug
WORDSNET-14015Zero CSS values are considered invalid on certain properties in Standards modeBug
WORDSNET-14020Word (DOC & DOCX) file containing Burmese letters to PDF conversion IssueBug
WORDSNET-14039Exporting Content Controls inside bulleted and numbered lists to HTMLBug
WORDSNET-14042WORDSNET-13833 has not resolved in v16.7.0Bug
WORDSNET-14057Chinese words are rotated after conversion from Doc to HtmlFixedBug
WORDSNET-14066Signature become invalid after conversion from Docx to PdfBug
WORDSNET-14068When Chart object in Word document is converted to .jpg image, part of legend is missingBug
WORDSNET-14072Footer of produced PDF file has different alignmentBug
WORDSNET-14073DocumentBuilder.InsertDocument changes page margins in output documentBug
WORDSNET-14077/font substitution/ Txt to Pdf conversion issue with text encoding/renderingBug
WORDSNET-14081Text overlapping when Word document is converted to PDFBug
WORDSNET-14085Chart’s Data Table is not rendered correctly in Doc/PdfBug
WORDSNET-14086Image color is lost after conversion from Docx to HtmlBug
WORDSNET-14096Hebrew text alignment problem in PDFBug
WORDSNET-14115Aspose.Words.FileCorruptedException when opening RTF fileBug
WORDSNET-14117DOCX to PDF conversion produces blurred outputBug
WORDSNET-14121Image renders as black box in output XPSBug
WORDSNET-14130WriteProtection.IsWriteProtected returns wrong value for RTFBug
WORDSNET-14132Images are inverted after conversion from Doc to PdfBug
WORDSNET-14133Images are inverted after conversion from Doc to PdfBug
WORDSNET-14141/Mixed fonts metrics/ A blank page got inserted when renderingBug
WORDSNET-14149Lower case formatting of mail merge is lost in output documentBug
WORDSNET-14155MS Word equation conversion problem during renderingBug
WORDSNET-14158Formula negative value is not rendered correctly (German)Bug
WORDSNET-14163Hyperlink.Result update => lost link formatting (font size, link color)Bug
WORDSNET-14180Range.Replace overloads not finding text to replace in citationsBug
WORDSNET-4632REF field switches does not work correctly.Bug
WORDSNET-4723Field code is taken from a deleted run when change tracking is on.Bug
WORDSNET-5789/KeepWithNext + Shape/ The output PDF page count is greater than the input document.Bug
WORDSNET-5892Hidden ASK field becomes visible when converting to Fixed Page FormatsBug
WORDSNET-7900/table grid/ Table width is incorrect in PDFBug
WORDSNET-8650Not correct working NEXTIF field with nested fields and spacesBug
WORDSNET-8674Docx to Pdf conversion issue with table layoutBug
WORDSNET-8763Table width is changed upon rendering document.Bug
WORDSNET-9217A DrawingML is rendering more towards the left edge of PDFBug
WORDSNET-9249/advanced typography/ Arabic characters are being rendered as circles in TIFF formatBug
WORDSNET-9295Contents are missing in output Pdf file after conversion from Doc fileBug
WORDSNET-9306Dashed type Straight Line Connector Shape is converted to solid line during open/save DOCXBug
WORDSNET-9667Contents move to previous page after conversion from Docx to fixed file formatBug
WORDSNET-9900BuiltInDocumentProperties.LastPrinted is not updated when saving in pdf formatBug
WORDSNET-9939Docx to Pdf conversion issue with Field renderingBug
WORDSNET-11358Track changes on Heading issue in HTMLEnhancement
WORDSNET-12027Generate results closer to what Word generates after comparisonEnhancement
WORDSNET-12339Compare Word documents is wrongly comparing Normal text to Heading textEnhancement
WORDSNET-12460Enhancement in Document.Compare when complete section is removed/insertedEnhancement
WORDSNET-12461Enhancement in Document.Compare (when a lot of contents are changed)Enhancement
WORDSNET-14160Reduce number of <span> in HtmlFixedEnhancement
WORDSNET-14196Table top row is missing when DOCX converted to PDFEnhancement
WORDSNET-5582Consider filling multiple regions with the same name.Enhancement
WORDSNET-8396Multi-paragraph DocVariable do not render correctly in output PdfEnhancement
WORDSNET-13297System.InvalidOperationException occurs when saving DOCX to DOCXException
WORDSNET-13556Exception is thrown in VmlShapeReader while reading VML shapeException
WORDSNET-13775System.ArgumentException is thrown while saving Odt to imageException
WORDSNET-13826System.InvalidCastException is thrown while loading document under different CultureException
WORDSNET-13874Bookmark.Text throws System.ArgumentExceptionException
WORDSNET-13945LayoutEnumerator.Kind throws System.ArgumentOutOfRangeExceptionException
WORDSNET-13979System.InvalidCastException is thrown while loading document under different CultureException
WORDSNET-13984inserting MathML with insertHTML - bug with binomialsException
WORDSNET-13985System.IndexOutOfRangeException occurs during saving to HTMLException
WORDSNET-14023System.NullReferenceException is thrown while saving Docx to Html.Exception
WORDSNET-14055Document.Save throws System.NullReferenceExceptionException
WORDSNET-14187ArgumentException is thrown while saving to pngException
WORDSNET-7527/slow/ Document.Save method throws exception while conversion from Docx to fixed file formatException
WORDSNET-10723Reply To Comments nesting is lost during open/save a DOCFeature
WORDSNET-12337Compare documents like MS Word doesFeature
WORDSNET-12387Add feature to compare document as MS Word doesFeature
WORDSNET-13740Chinese text renders incorrectly in HtmlFixedFeature
WORDSNET-13851/document grid + charSpace/ Shape’s text is truncated in HtmlFixedFeature
WORDSNET-13852/document grid + charSpace/ Chinese text moves to next line and pushes text to next page in HtmlFixedFeature
WORDSNET-13999Support underline color during HTML import/exportFeature
WORDSNET-14046Support edit revisions for table cells.Feature
WORDSNET-3762Consider adding an ability to determine 2007/2010 compliance.Feature
WORDSNET-4660Add an ability to get field names from Addressblock fields.Feature
WORDSNET-9210Add feature to detect OoxmlCompliance of DocumentFeature
WORDSNET-976Add an analogue of the Fields.Unlink method.Feature
WORDSNET-9769Docx-Html-Docx round-trip - Add feature to preserve Page fieldFeature
WORDSNET-14027GetEffectsKey() causes a performance decrease when comparing 16.6 to 13.2Performance
WORDSNET-14165System.NullReferenceException occurs during converting DOCX to PDFRegression

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.Words 16.10.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-3762 - Added feature to get OOXML compliance version determined from the loaded document content

Starting from 16.10.0 Version of Aspose.Words you can get OOXML compliance version determined from the loaded document content.

Document doc = new Document("in.docx");
OoxmlCompliance compliance = doc.Compliance;

Please note that it makes sense only for OOXML documents. If you created a new blank document or load non OOXML document this property returns the OoxmlCompliance.Ecma376_2006.

WORDSNET-12027 Generate results closer to what MS Word generates after comparison

Document comparison changed to compare at word level rather than at character level. This makes output looks more readable and closer to MS Word. Also speed is greatly improved for big documents.