Skip to content

Release Notes v4.0.0

XceedBoucherS edited this page Mar 10, 2025 · 1 revision

v4.0.0

Released March 10, 2025.

20 bug fixes and improvements were added to this version.

  • DocX now supports .NET9
  • DocX now supports non-Windows environments in a NET5+ context. Note that a new dll, named Xceed.DrawingUtils.NET.dll, is required to make this work & should replace System.Drawing or System.Drawing.Common when using Color, Point, RectangleF, Font & similar types.
  • In Document, a new method, called RemoveText, can now be used to remove Text in between a starting tag and an ending tag, even when those tags are located in different paragraphs.
  • In Document, users can now choose from a range of hashing algorithms to encrypt & secure their passwords.
  • In Document, AES-based password encryption is now supported.
  • In Document, the tables underlying a Paragraph are now also inserted when inserting said Paragraph.
  • In List, a new method, called InsertItem(), can now be used to insert a Paragraph at a specific index in a List’s given level.
  • In Paragraph, the Remove method now offers a new parameter that allows to decide if the Paragraph’s objects (Pictures, Tables& Charts) are kept or removed once that Paragraph is removed.
  • In Paragraph, inserting text with the trackChanges parameter set to true no longer affects performance when many insertions are done.
  • In Table Row, a new method, called ReplacePicture(), can now be used to replace a specific Picture with a new one.
  • Merging Documents using MergingOptions.Both will now rename the inserted Document’s styles only if they already exist in the target Document.
  • Lists numberings no longer break when merging Documents.
  • Protected Documents that are using the Advanced Encryption Standard (AES) for password encryption will no longer trigger exceptions when said protection is removed or said Documents are saved.
  • In Document, inserting a Paragraph which contains a Picture no longer results in a NullRefException when retrieving the paragraph.Pictures.Count.
  • In Document, removing document protection or saving Documents that use passwords starting with “qwerty” will no longer throws an incorrect password exception.
  • In Document, an Invalid Cast Exception no longer occurs when adding custom properties
  • In Paragraph, appending or inserting a page number or a page count when using chain formatting will now update said number or count at the same time as the formatting.
  • In Table, merging Cells now also merges their Borders.
  • In Table of Contents, the “h”, “o” & “c” switches (“\h”, “\o”, “\c”) are now respected, which means that hyperlinks, Heading styles, as well as “Figure” & “Table” will now also be properly respected.
  • In Table of Contents, the Paragraphs that use the “Caption” style will now be considered as valid headers & will thus be added as items in the Table of Contents.

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