Browse our Products

Aspose.Words for .NET 18.5 Release Notes

Major Features

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

  • Added public property StructuredDocumentTag.Color 
  • Fixed line wrapping with trailing spaces at the end
  • Fixed issue with paragraph after spacing in headers/footers
  • Fixed issue with table width when widthAfter is specified for a jagged table
  • Fixed issue with table width with complex column layout and default widths
  • Fixed breaking of floating table row in compatibility mode
  • Fixed issue with floating frame pushed from the page because of invalid wrap point
  • Implemented support for “distribute space” and “distribute letter” types of alignment when rendering Ruby objects
  • Improved rendering of a Doughnut DrawingML Chart with multiple series
  • Improved rendering of DrawingML Charts data labels with the direct layout and a layout specified in the extension properties
  • Fixed a problem with metafile rendering when glyph offsets were wrongly read for EMF_EXTTEXTOUT record with glyph indices
  • Fixed a problem with processing of control character (U+0019) in the text when rendering
  • Fixed a problem with Adobe “Fast Find” function (words searching) in rendered PDF documents
  • Fixed a bug with inaccurate processing of EMR_ALPHABLEND record while rendering metafiles. This bug caused a loss of fill in some figures
  • Fixed a bug with rendering of PieChart data label separator when it is set directly
  • Fixed rendering of a dashed line shapes with a shadow
  • LINQ Reporting Engine supports ?. and ?[] null-conditional operators in template expressions

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
WORDSNET-16781Aspose does not recognize footer of WordML 2003Bug
WORDSNET-16775Charset is detected incorrectly if file has less then 10 symbolsBug
WORDSNET-16756Tables are stretched beyond the right Page boundaries in PDFBug
WORDSNET-16754Document.Compare generate incorrect number for numbered listBug
WORDSNET-16729REF-field with custom separator does not update when DOCX is saved to PDFBug
WORDSNET-16657Dashed Arrow Line Disappears from PDFBug
WORDSNET-16641Background color in picture not preserved in PDFBug
WORDSNET-16640The data label with the manual layout is shifted when converting to PDFBug
WORDSNET-16630MailMergeRegionInfo.Fields accepts Field instances in some casesBug
WORDSNET-16629Unable to search for words in a PDF documentBug
WORDSNET-16627Content are lost after conversion from DOCX to PDFBug
WORDSNET-16624Opening&Saving a Word document changes its layoutBug
WORDSNET-16613An extra character added after PDF rendition.Bug
WORDSNET-16608The text of one of the chart labels is changed when converting to PDFBug
WORDSNET-16589Rotation of shape is lost after saving DOTX to DOCXBug
WORDSNET-16586RTF > DOCX makes word joiner characters wideBug
WORDSNET-16573Image is lost after conversion from DOCX to PDFBug
WORDSNET-16550DOCX to PDF conversion issue with paragraph rendering inside table’s cellBug
WORDSNET-16549Shape renders partially in PDFBug
WORDSNET-16547Indentation of a paragraph changes after RTF to DOCX conversionBug
WORDSNET-16538EQ field representing Japanese Text renders incorrectly in PDFBug
WORDSNET-16529Space after paragraph not included in header heightBug
WORDSNET-16520The label separator for PieChart is changed after converting DOCX to PDF.Bug
WORDSNET-16519Font size of paragraph break character is changed after saving DOTX to PDFBug
WORDSNET-16512Incorrect detection of a Format Change RevisionBug
WORDSNET-16383Content are moved to next page after re-saving DOCXBug
WORDSNET-16360WordArt shape fill picture is changed after document loading and savingBug
WORDSNET-15611Table structure is invalid after import from HTMLBug
WORDSNET-15518Paragraphs are rendered on next page in output PDFBug
WORDSNET-15457Incorrect page number reflecting in footerBug
WORDSNET-15456Incorrect page number in footerBug
WORDSNET-15032RTF document is read incorrectly.Bug
WORDSNET-12964Text in Cells not completely rendering in PDFBug
WORDSNET-12433Shape rending issue while converting Doc to PdfBug
WORDSNET-11698Table’s border appears after converting RTF to Tiff/RtfBug
WORDSNET-11304Docx to Pdf conversion issue with equation renderingBug
WORDSNET-10755Table’s columns are missing after conversion from Doc to PdfBug
WORDSNET-10351Content’s position is changed after conversion from Doc to PdfBug
WORDSNET-10179Content and formatting of Table is partially preserved in PDFBug
WORDSNET-9066Docx to Pdf conversion issue with chart renderingBug
WORDSNET-8291Paragraph is rendering on the previous page in PdfBug
WORDSNET-7737Paragraph line spacing is improperly calculated upon rendering document with frameBug
WORDSNET-6537Document.HasMacros returns incorrect valueBug
WORDSNET-6172Header text cut off from left side while converting doc to Pdf, XPS, TiffBug
WORDSNET-6038Width of Page Borders is not the same across multiple pagesBug
WORDSNET-5447Shape is rendered with flipped dimensionsBug
WORDSNET-5212Non-ASCII character is stripped from the root in the navigation pane when exporting to EPUBBug
WORDSNET-10536Left indentation of Table is increased by few points in PDFBug
WORDSNET-16738Keep a color from a template for an OfPie chart slice that is beign detailed if dynamic chart series/point coloring is usedEnhancement
WORDSNET-16256DOCX to PDF issue with TablesEnhancement
WORDSNET-15266Text and Shapes are lost in output PDFEnhancement
WORDSNET-15265Content position is change in output PDFEnhancement
WORDSNET-15053Converting DOCX to PDF produced an extra blank pageEnhancement
WORDSNET-13071Frame with a section break is not pushed to follow the anchorEnhancement
WORDSNET-13070Floating frame not pushed to follow the anchorEnhancement
WORDSNET-12516Page contents are duplicated after conversion from Docx to PdfEnhancement
WORDSNET-11894Docx to Pdf conversion issue with content positionEnhancement
WORDSNET-7630Doc to PDF conversion issue with frame Position after mail mergeEnhancement
WORDSNET-6586Consider rendering \r to PDF the way MS WORD doesEnhancement
WORDSNET-16779An exception has been thrown while converting to the fixed layout.Exception
WORDSNET-16638InvalidDocumentModel error occurs when looping Range.FieldsException
WORDSNET-16594Aspose.Words.FileCorruptedException is thrown while importing ODTException
WORDSNET-16148System.ArgumentOutOfRangeException is thrown while saving DOCX to HTMLException
WORDSNET-16571Charts do not render correctly in output DOC/PDFFeature
WORDSNET-16532Allow to highlight and change outline color of Content Controls SDTFeature
WORDSNET-16227Add feature to support null-conditional (A?.B) and null-coalescing (A ?? B) operatorsFeature
WORDSNET-16755Incorrect conversion of bullet points in wordRegression
WORDSNET-16610RTF to HTML loses bullets after upgrading AsposeRegression

Public API and Backward Incompatible Changes

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

Added Public Property StructuredDocumentTag.Color

This property allows to control the Color of a content control.

/// <summary>
/// Gets or sets the color of the structured document tag.
/// </summary>
public System.Drawing.Color Color

The Color affects content control in two situations: \1) MSW highlights the background of the content control when the mouse moves over the content control. This helps user to identify that it is a content control. The color of highlighting is a bit “softer”, than the Color. For example, MSW highlights background with the pink color, when Color is Red. \2) When user interacts (editing, picking etc) with the content control, the border of content control is colored with the Color.

Example of use:

Document doc = new Document(myDir + "document1.docx");
StructuredDocumentTag sdt = (StructuredDocumentTag)doc.GetChild(NodeType.StructuredDocumentTag, 0, true);
sdt.Color = Color.Red;
doc.Save(myDir + "document1.docx");

Obsolete Property HtmlSaveOptions.ExportMetafileAsRaster was Removed

Obsolete property ExportMetafileAsRaster was removed from the HtmlSaveOptions class. Please use the HtmlSaveOptions.MetafileFormat property instead.

Supported Null-Conditional Operators in Template Expressions for LINQ Reporting Engine

Related issue: WORDSNET-16227

The “Using Operators” section of the engine’s documentation was updated to describe the change.