Skip to content

Release Notes v2.0.0

XceedBoucherS edited this page Dec 2, 2021 · 1 revision

v2.0.0

Released December 2, 2021.

10 improvements and bug fixes

  • In Document, loading a docx or stream containing external entities is no longer supported. This prevents from working with vulnerable documents.
  • In Document, loading a docx or stream containing external entities is no longer supported. This prevents from working with vulnerable documents.
  • In Paragraph, removing Bookmarks when the bookmarkStart is included in a paragraph but the bookmarkEnd is not, now removes the bookmark from the paragraph.
  • In Paragraph, calling the InsertText method no longer parses the whole document to update ids when this action is not necessary. This improves performance when many text insertions are needed.
  • In Paragraph, replacing text with regexMatchHandler and formatting no longer throws an exception because the index is too high.
  • In Paragraph, the method InsertParagraphBeforeSelf(Paragraph) now returns a new instance of the newly created paragraph.
  • In Chart, List, Shape and Image, a new Remove method is now available to remove the element from the document.
  • In Picture, using MS Word 2007 to open a document containing pictures now correctly opens the document.
  • In Table, merging multiple cells from a row now updates the resulting cell's width.
  • In CustomProperties, updating split custom properties now correctly updates the properties.

v2.0.0 Xceed Words for .NET Edition

Released to registered users of Xceed Words for .NET Edition on July 19 2021.

This release includes .NET5 support, the possibility to digitally sign a docx document and more formatting options for ListItems, like defining custom bullets and list hierarchy colors. The PDF Conversion benefits from 30 new improvements.

A total of 49 improvements and bug fixes are included in this release.

  • Xceed Words for .NET now supports the .NET 5 Framework.
  • Digital signatures can now be added to documents in the .NET Framework environment.
  • Signature lines can now be positioned in a document and many new methods are now available to retrieve/remove/add digital signatures or signature lines.
  • In PDF Conversion, a table with vertical and horizontal merged cells now correctly converts the merged cells to PDF.
  • In PDF Conversion, tables located in sdt tags now correctly converts to PDF.
  • In PDF Conversion, converting null text no longer throws an exception.
  • In PDF Conversion, setting the Table.AutoFit property to "Contents" now correctly sizes the width of each column based on its content.
  • In PDF Conversion, tables with more than one table header now convert to PDF with the corresponding table headers.
  • In PDF Conversion, using AutoFitContent to set the table's column width now correctly auto-fits the content of cells.
  • In PDF Conversion, when the Table of Contents exceeds the page's length, the remaining content is now rendered on the following pages.
  • In PDF Conversion, when a Table of Contents is not visible, the conversion no longer throws a Null Ref exception.
  • In PDF Conversion, when a Table of Contents is not visible, the saving no longer throws a Null Ref exception.
  • In PDF Conversion, a paragraph containing many images displayed on multiple pages now converts to PDF with multiple pages.
  • In PDF Conversion, the Table of Contents now shows the correct page numbers when some referenced paragraphs are positioned before the Table of Contents.
  • In PDF Conversion, the paragraph's indentation is now automatically added when a paragraph from the Table of Contents does not specify any indentation but has an outlineLevel greater than 0.
  • In PDF Conversion, splitting a table on two pages with cells containing paragraph.KeepWithNextParagraph() now correctly splits the table on a row where paragraphs are not kept together.
  • In PDF Conversion, when Table of Contents paragraphs contain tabs, the resulting PDF document will contain valid tab spacings.
  • In PDF Conversion, the table now forces a split at the end of the page to prevent a StackOverflow exception when a big multi-rows table have all its rows but that they cannot be split on multiple pages (or when all the table's paragraphs have a KeepWithNext set to true).
  • In PDF Conversion, a table following a paragraph with a KeepWithNext set to true now keeps the paragraph and the table on the same page in the resulting PDF document.
  • In PDF Conversion, when font sizes are not whole or half values, the result is rounded to the next whole value, preventing font size exception.
  • In PDF Conversion, for tables, OutOfRange exceptions are no longer thrown when mixing row span and vertical merged cells.
  • In PDF Conversion, Table of Contents elements no longer include end of lines characters from text.
  • In PDF Conversion, Section.MarginFooter value is now used to position the footer content in the footer.
  • In PDF Conversion, when a section starts with a table followed by keepWithNext paragraphs, the resulting PDF document no longer redraws the table until it finds a non-keepWithNext paragraph.
  • In PDF Conversion, using a document with custom properties of type bool where values are "0" or "1" no longer throws an exception.
  • In PDF Conversion, if Table of Contents paragraphs are based on non-English heading style names, assertion warnings are no longer raised and the based on styles are used until finding a known style name.
  • In PDF Conversion, tables that contain multi-header rows and span on multiple pages now display all the header rows on the extra pages.
  • In PDF Conversion, tables with multi-heading rows splitting on two pages now display all the heading rows on the second page.
  • In PDF Conversion, tables spanned on multiple pages no longer overlap page numbers in the footer.
  • In PDF Conversion, superscript characters no longer appear too small.
  • In PDF Conversion, exceptions are no longer thrown when Pictures are grouped.
  • In PDF Conversion, headers containing a wrapped behind text object now display the main document content behind this object.
  • In PDF Conversion, a StackOverflow exception is not raised anymore when a cell extends over two pages.
  • In PDF Conversion, using a Table of Contents with the "o" switch now only displays the valid headings in the Table of Contents.
  • In Document, a new method, GetPageCount(), is now available to retrieve the number of pages in the document. Note that this feature is currently experimental.
  • In Document, new methods and objects are now available to append footnotes/endnotes to paragraphs. These footnotes/endnotes can contain strings/Pictures/Hyperlinks/Tables.
  • In Document, loading a docx or stream containing external entities is no longer supported. This prevents from working with vulnerable documents.
  • In Document, the text hyphenation will now be automatically updated when its hyphenation object properties are modified.
  • In Document, calling a Save() or a ConvertToPdf() now displays a watermark in the output document when using a trial license.
  • In Paragraph, removing Bookmarks when the bookmarkStart is included in a paragraph but the bookmarkEnd is not, now removes the bookmark from the paragraph.
  • In Paragraph, calling the InsertText method no longer parses the whole document to update ids when this action is not necessary. This improves performance when many text insertions are needed.
  • In Paragraph, replacing text with regexMatchHandler and formatting no longer throws an exception because the index is too high.
  • In Paragraph, the method InsertParagraphBeforeSelf(Paragraph) now returns a new instance of the newly created paragraph.
  • In Chart, multiple charts included in one chart are now detected.
  • In Chart, the Chart.Save method now correctly saves the changes to charts using two Y-Axis.
  • In Chart Axis, the Title property can now be used to get/set the axis' title.
  • In List, the ListOptions property can now be used to modify the numbering of the list's sub-levels.
  • In List, the ListOptions property can now be used to get/set the list configuration, including the list type, the list modification tracking and the list levels configuration.
  • In Chart, List, Shape and Image, a new Remove method is now available to remove the element from the document.
  • In Picture, using MS Word 2007 to open a document containing pictures now correctly opens the document.
  • In Table, merging multiple cells from a row now updates the resulting cell's width.
  • In CustomProperties, updating split custom properties now correctly updates the properties.

We hope you love this release and decide to support the project by getting a license to Xceed Words for .NET. -- Xceed Team