Skip to content

Release Notes v2.4.0

XceedBoucherS edited this page Nov 28, 2022 · 1 revision

v2.4.0

Released November 28, 20222.

The ReplaceText methods now offers more flexibility by adding a new configuration option parameter. Altogether, 14 bug fixes and improvements were added to this version.

  • In Container, Document and Paragraph, the old ReplaceText and ReplaceTextWithObject methods are now obsolete. Two new methods, with the same name but with only one parameter called replaceTextOptions, were created as a replacement.
  • In Document, calling a ReplaceText() method multiple times on a big Document is now faster.
  • In Document, loading a .docm document and using the Save() method will now save the document as a .docm document.
  • In Document, looping through Paragraphs and retrieving the next Paragraph when the current one is empty does no longer create an infinite loop.
  • In Document, inserting or removing Paragraphs, Tables or Lists no longer results in an ArgumentOutOfRangeException.
  • In Paragraph, two new properties, called StartIndex and EndIndex, are now available to find out where a Paragraph is located in the Document.
  • In Paragraph, the InsertPageCount and AppendPageCount methods now include a new parameter, called useSectionPageCount, that allows to count the pages in the Section or in the Document.
  • In Paragraph, the correct Paragraphs are now returned when the NextParagraph and PreviousParagraph properties are used in context of Headers or Footers.
  • In Paragraph, acting on a paragraph no longer removes the values in the NextParagraph and PreviousParagraph properties.
  • In Paragraph, calling the Spacing method or using a Formatting object that has a value in its Spacing property no longer raises an exception saying that the value must be between -1585 and 1585 when it actually is.
  • In Paragraph, setting the value of a SpacingAfter or SpacingBefore to 0 when the value is already 0 no longer results in a NullRefException.
  • In Table, Pictures are now displayed when a Table is inserted inside of a Header or Footer.
  • In Table, inserting or removing Rows or Columns now updates the paragraph count in the Document.
  • In Table, retrieving Pictures from a Table when the Table is located inside of a Header or Footer no longer raises an exception.

v2.4.0 Xceed Words for .NET Edition

Released to registered users of Xceed Words for .NET Edition on October 5th 2022.

The ReplaceText methods now offers more flexibility by adding a new configuration option parameter. Added 16 new improvements to the PDF Conversion. Altogether, 32 bug fixes and improvements were added to this version.

  • In Container, Document and Paragraph, the old ReplaceText and ReplaceTextWithObject methods are now obsolete. Two new methods, with the same name but with only one parameter called replaceTextOptions, were created as a replacement.
  • In Document, calling a ReplaceText() method multiple times on a big Document is now faster.
  • In Document, loading a .docm document and using the Save() method will now save the document as a .docm document.
  • In Document, looping through Paragraphs and retrieving the next Paragraph when the current one is empty does no longer create an infinite loop.
  • In Document, inserting or removing Paragraphs, Tables or Lists no longer results in an ArgumentOutOfRangeException.
  • In Paragraph, two new properties, called StartIndex and EndIndex, are now available to find out where a Paragraph is located in the Document.
  • In Paragraph, the InsertPageCount and AppendPageCount methods now include a new parameter, called useSectionPageCount, that allows to count the pages in the Section or in the Document.
  • In Paragraph, the correct Paragraphs are now returned when the NextParagraph and PreviousParagraph properties are used in context of Headers or Footers.
  • In Paragraph, acting on a paragraph no longer removes the values in the NextParagraph and PreviousParagraph properties.
  • In Paragraph, calling the Spacing method or using a Formatting object that has a value in its Spacing property no longer raises an exception saying that the value must be between -1585 and 1585 when it actually is.
  • In Paragraph, setting the value of a SpacingAfter or SpacingBefore to 0 when the value is already 0 no longer results in a NullRefException.
  • In Table, Pictures are now displayed when a Table is inserted inside of a Header or Footer.
  • In Table, inserting or removing Rows or Columns now updates the paragraph count in the Document.
  • In Table, retrieving Pictures from a Table when the Table is located inside of a Header or Footer no longer raises an exception.
  • The size of the CheckBoxes will now stay the same if they are created in Xceed’s Words and then edited with Microsoft Word.
  • In Document, using the InsertContent() method for inserting HTML content now works with non-English characters.
  • In PDF Conversion, adjustments have been made to improve thread-safety.
  • In PDF Conversion, converting a Document that contains many Pictures, Shapes or Tables is now faster.
  • In PDF Conversion, Tables using a WrapStyle will now be converted to PDF.
  • In PDF Conversion, Pictures located inside of a Header or Footer are now displayed in the final PDF document.
  • In PDF Conversion, the resulting PDF now respects more closely the line spacing settings found in the original Document when specific line spacing values were used for Paragraphs.
  • In PDF Conversion, texts located inside of Tables are no longer cut during the conversion process.
  • In PDF Conversion, a Paragraph which contains Pictures but no text will no longer have an empty line after the Pictures.
  • In PDF Conversion, the height of Cells that are inside a Table no longer takes too much space when said Cells have padding.
  • In PDF Conversion, the keepLines tag now reads its value attribute to determine if the Paragraph’s lines must be kept together. Because of this, the final PDF documents are no longer missing pages.
  • In PDF Conversion, the content of a Table that has a single Row is no longer repeated on every page when that Table is split over multiple pages.
  • In PDF Conversion, the text displayed on the last pages is no longer cut when a Table is split on more than two pages.
  • In PDF Conversion, unnecessary spacing is no longer added during the conversion process when a Table has a Cell that contains a single Paragraph with a LineSpacingAfter value but no text.
  • In PDF Conversion, replacing text and converting a Document to PDF when Paragraphs containing Images are split on two pages no longer repeats the Paragraphs in the resulting PDF.
  • In PDF Conversion, a StackOverflow exception is no longer thrown when a big image is converted.
  • In PDF Conversion, Tables with a null TableLook no longer throw a NullRefException when they are converted to PDF.
  • In PDF Conversion, OutOfRange exceptions are no longer thrown when the Document that is converted contains no Section.

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