Aspose.Words for .NET 19.10 Release Notes

Major Features

  • Implemented DocumentDirection option that allows specifying the direction to flow the text in a document.
  • Implemented proper scaling for shapes inside ‘graphicFrame’ container for DrawingML rendering.
  • Improved “inline/not inline” validation for OMath objects when rendering.
  • Supported dynamic insertion of links to document bookmarks for LINQ Reporting Engine.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
WORDSNET-11772Image is misplaced in generated PDFNew Feature
WORDSNET-19103Add feature to link CustomDocumentProperty to BookmarkNew Feature
WORDSNET-18920Add feature to insert hyperlink to bookmark using LINQ ReportingNew Feature
WORDSNET-19263Some content render at the bottom of previous page in PDFNew Feature
WORDSNET-18596DOCX to PDF - text is not on right pageNew Feature
WORDSNET-19067Add feature to detect text direction (RTL / LTR) while import TXT documentNew Feature
WORDSNET-8253Images are overlapping and rendering to previous pages in PDFNew Feature
WORDSNET-14273Content renders on previous page in output PDFNew Feature
WORDSNET-7534SmartArt graphic is not preserved during DOCX to RTF conversionNew Feature
WORDSNET-19054Add the ability to set the NumberFormat for an individual data labelNew Feature
WORDSNET-19216OMath should be rendered as “Not inline” (currently OMath is always “inline”)Bug
WORDSNET-4631IMailMergeDataSource has no code sample for the GetValue memberBug
WORDSNET-18984Aspose.Words.FileCorruptedException occurs upon loading a DOCXBug
WORDSNET-19225Text in ODT charts has incorrect fill when renderingBug
WORDSNET-19091DOCX to PDF conversion issue with Georgian text renderingBug
WORDSNET-5222Example for CellFormat.VerticalAlignment is not injected into the API XMLBug
WORDSNET-16950DOCX to PDF conversion hangs with maxed CPUBug
WORDSNET-17859Extra space and characters (dot) are appeared after re-saving DOCXBug
WORDSNET-17870Incorrect rotation of X-axis labels after converting to PDFBug
WORDSNET-18235The app hangs while retrieving the page countBug
WORDSNET-17429Circle shapes do not render correctly in PDFBug
WORDSNET-17511Picture moves to previous page causing wrapping issuesBug
WORDSNET-19214UpdatePageLayout() modifies OfPieChart propertiesBug
WORDSNET-19096DOCX to PDF conversion issue with shape’s text renderinBug
WORDSNET-15438Shapes position is changed in output PDFBug
WORDSNET-19235System.InvalidCastException occurs upon loading a ODTBug
WORDSNET-19012System.NullReferenceException occurs during renderingBug
WORDSNET-9058Vertical textbox is not rendered correctly when saving document to PDFBug
WORDSNET-18726Failed OGL tests on continuous integration serverBug
WORDSNET-12134Fix warnings that occur during loading a DOCXBug
WORDSNET-14274Images are overlapped after conversion from DOCX to PDFBug
WORDSNET-19030System.NullReferenceException occurs upon saving DOCX to PDFBug
WORDSNET-19032Bullet formatting is lost after saving the documentBug
WORDSNET-19037Document save never finishesBug
WORDSNET-18787Document.Save throws System.ArgumentNullExceptionBug
WORDSNET-19243Incorrect text wrapping of the frame in ODTBug
WORDSNET-19247Merged cells in table are broken when AllowAutoFit is falseBug
WORDSNET-19250Issues with PaperSize.Ledger and PaperSize.QuartoBug
WORDSNET-19228System.ArgumentOutOfRangeException is thrown while saving DOCX to PNGBug
WORDSNET-18464Some text in PDF output is improperly wrappedBug
WORDSNET-18463The code execution hangs during PDF renditionBug
WORDSNET-18538Charts are overlapped after conversion from DOCX to PDFBug
WORDSNET-18548Item Number Error in PDFBug
WORDSNET-19121Aspose.Words.FileCorruptedException occurs on loading a RTF fileBug
WORDSNET-19122System.InvalidOperationException occurs upon saving a DOCXBug
WORDSNET-18942Minus and Plus signs in embedded graph do not render in output PDFBug
WORDSNET-18800Background of SVG becomes white instead of transparent in output DOCXBug
WORDSNET-19112Aspose.Words.Shaping.HarfBuzz failed on latest prerelease Aspose.Words 19.9Bug
WORDSNET-19106OleFormat.IconCaption Property throws System.ArgumentOutOfRangeExceptionBug
WORDSNET-19151DOCX to PDF/Print issue with text positionBug
WORDSNET-19098Cross-reference field without hyperlink switch rendered with hyperlinkBug
WORDSNET-19154Unable to set text of BookmarkBug
WORDSNET-19163Source code files detected as Markdown filesBug
WORDSNET-19190Table pushed to the next page in Aspose.Words PDF outputBug
WORDSNET-19194Left arrow convertion issue while saving DOCX to HTMLBug
WORDSNET-18892Revisions in Header and footer are incorrect after using Document.Compare methodBug
WORDSNET-19200MHT to PDF NullPointerExceptionBug
WORDSNET-19203Aspose.Words.FileCorruptedException occurs upon loading a Word 2003 XML Document (XML)Bug
WORDSNET-19213Aspose.Words.FileCorruptedException is thrown while loading DOCBug
WORDSNET-19212Aspose.Words.FileCorruptedException is thrown while loading document to DOMBug
WORDSNET-11908Text box layout issue when converting from DOCX to PDF/DOCBug
WORDSNET-18851TestFieldFormat.TestJira4632 fails in Windows 1903Bug
WORDSNET-19201Table header missing when converting word to PNGBug
WORDSNET-19279Word document formatting is not aligned properlyBug
WORDSNET-19272Aspose.Words throws an error upon loading Apple Pages DocumentsBug
WORDSNET-18924EditableRange seems not working when saving to DOC formatBug
WORDSNET-18771Error When Converting to PNG / SVG with Track ChangesBug
WORDSNET-18773Document.UpdatePageLayout method changes the font size of content controlBug
WORDSNET-19296Aspose.Words.FileCorruptedException is thrown while loading DOCXBug
WORDSNET-6129Section breaks are not rendering correctly in Fixed page formatsBug
WORDSNET-9452Quotation marks are treated as full-width charactersBug
WORDSNET-5405Table styles are always expanded in “DOC” modeBug
WORDSNET-19246Incorrect line width computation in the footnote.Bug
WORDSNET-12429Tag with name ’extraClrSchemeLst’ is not supportedBug

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.Words 19.10. 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 regression and modifies the existing behavior is especially important and is documented here.

Implemented DocumentDirection option that allows specifying the direction to flow the text in a document

Related issue: WORDSNET-19067.

The new public enumeration was added:

/// <summary>
/// Allows to specify the direction to flow the text in a document.
/// </summary>
public enum DocumentDirection

Added new public option into TxtLoadOptions class:

/// <summary>
/// Gets or sets a document direction.
/// The default value is <see cref="Aspose.Words.DocumentDirection.LeftToRight"/>. 
/// </summary>
public DocumentDirection DocumentDirection

Use Case. Explains how to detect document direction automatically:

TxtLoadOptions loadOptions = new TxtLoadOptions();
loadOptions.DocumentDirection = DocumentDirection.Auto;
Document doc = new Document("SomeRtlText.txt", loadOptions);
Paragraph paragraph = doc.FirstSection.Body.FirstParagraph;
Console.WriteLine(paragraph.ParagraphFormat.Bidi);

Issue: WORDSNET-18920

The “Inserting Hyperlinks Dynamically” section of the engine’s documentation was updated to describe the change.