Skip to content

Release Notes v2.5.0

XceedBoucherS edited this page Aug 11, 2023 · 2 revisions

v2.5.0

Released August 11, 20223.

11 bug fixes and improvements were added to this version.

  • The "Arithmetic operation resulted in an overflow" exception is no longer thrown when inserting Pictures under Linux-like environments.
  • In Document, calling a ReplaceText method now offers the possibility to select if the replacement takes place in Headers, Footers, the body of the Document or in any combination of those Containers.
  • In Document, calling an ApplyTemplate method when its includeContent parameter is set to false no longer throws an exception of the InvalidOperationException type.
  • In Document, loading a Document containing a settings file that uses a different name than settings.xml no longer results in a corrupted file when saving.
  • In Document, when a Document is inserted into another Document and one of them includes a Picture with an Hyperlink, the final Document will now include the correct Hyperlink.
  • In Paragraph, removing a Paragraph now also removes the Images, Charts and Tables associated with it, along with all of the related parts and the relationships between them.
  • In Paragraph, using the InsertParagraphAfterSelf or InsertParagraphBeforeSelf methods no longer breaks the Paragraphs collection.
  • Inserting and then removing a Paragraph now removes it correctly from the Document.
  • In Paragraph, the value of the StartIndex and EndIndex properties are now calculated only when needed, thus allowing faster modifications of the Paragraph.
  • In Paragraph, inserting a new paragraph before or after the current paragraph will not return the same paragraph anymore, but will now return a new paragraph instead.
  • In Table, the Table’s width is now correctly calculated when the value of AutoFit is set to Contents and/or Window.

v2.5.0 Xceed Words for .NET Edition

Released to registered users of Xceed Words for .NET Edition on April 3rd 2023.

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

  • The "Arithmetic operation resulted in an overflow" exception is no longer thrown when inserting Pictures under Linux-like environments.
  • In Document, calling a ReplaceText method now offers the possibility to select if the replacement takes place in Headers, Footers, the body of the Document or in any combination of those Containers.
  • In Document, calling an ApplyTemplate method when its includeContent parameter is set to false no longer throws an exception of the InvalidOperationException type.
  • In Document, loading a Document containing a settings file that uses a different name than settings.xml no longer results in a corrupted file when saving.
  • In Document, when a Document is inserted into another Document and one of them includes a Picture with an Hyperlink, the final Document will now include the correct Hyperlink.
  • In Paragraph, removing a Paragraph now also removes the Images, Charts and Tables associated with it, along with all of the related parts and the relationships between them.
  • In Paragraph, using the InsertParagraphAfterSelf or InsertParagraphBeforeSelf methods no longer breaks the Paragraphs collection.
  • Inserting and then removing a Paragraph now removes it correctly from the Document.
  • In Paragraph, the value of the StartIndex and EndIndex properties are now calculated only when needed, thus allowing faster modifications of the Paragraph.
  • In Paragraph, inserting a new paragraph before or after the current paragraph will not return the same paragraph anymore, but will now return a new paragraph instead.
  • In Table, the Table’s width is now correctly calculated when the value of AutoFit is set to Contents and/or Window.
  • In PDF Conversion, the conversion to PDF process is now improved for Documents containing multiple Tables.
  • In PDF Conversion, Tables are now drawn after the PageBreak when a Paragraph contain both elements.
  • In PDF Conversion, converting a Header or Footer bereft of content no longer triggers an exception of the InvalidOperationException type.
  • In PDF Conversion, borders located at the right and at the bottom of Tables are now correctly drawn during the conversion process.
  • In PDF Conversion, a Paragraph with a RightToLeft TextDirection will now have a valid alignment in the final PDF.
  • In PDF Conversion, Unicode characters (like "ỗ", for example) are now converted correctly to PDF.
  • In PDF Conversion, a Picture that uses the old .ooxml style formatting and has its WrapStyle property set to WrapBehindText will now appear behind the text in the final PDF.
  • In PDF Conversion, shapes without a z-index no longer create an Input string was not in a correct format exception.
  • In PDF Conversion, pages will no longer be missing in the final PDF document when the isParagraphKeepingLinesTogether property is set to true.
  • In PDF Conversion, CheckBoxes are now converted and shown correctly in the PDF.
  • In PDF Conversion, the text now adjusts its position in relation to the wrapped objects and is displayed correctly in the final PDF when more than one wrapped object is present on a line.
  • In PDF Conversion, the Rows will no longer overlap when a Table is displayed on multiple pages.
  • In PDF Conversion, the final PDF document will no longer have big spacings between paragraphs when values greater than 1 (Single) are used for the LineSpacing property of a Paragraph.
  • In PDF Conversion, images that are rotated by 90 degrees will now have a valid scaling value in the final PDF.
  • In PDF Conversion, adjacent Tables will no longer overlap in the final PDF.
  • In PDF Conversion, the text contained within the Cells of a Table will now keep its Alignment value when converted to PDF.
  • In PDF Conversion, a search for a specific LineSpacing value will be conducted in the current Paragraph before the default LineSpacing of 12 pt is applied when small font sizes are used in this Paragraph.
  • In PDF Conversion, the conversion no longer falls in an infinite loop when a page contains wrapped Tables/Pictures along with section breaks.
  • In PDF Conversion, texts are no longer duplicated in the final PDF when the ooxml structure contains the following pattern: text - run - text.

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


Clone this wiki locally