Xceed Words for .NET V2.5
Released: Apr 3, 2023
Atualizações na V2.5
Recursos
- Document:
- Calling a ReplaceText method now offers the ability to replace text in Headers, Footers, the body of the document or in any combination of those containers.
- 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.
- The value of the StartIndex and EndIndex properties are now calculated only when needed, allowing faster modifications of paragraphs.
- PDF Conversion:
- Improved conversion to PDF for documents containing multiple tables.
Correções
- The "Arithmetic operation resulted in an overflow" exception is no longer thrown when inserting Pictures under Linux-like environments.
- Document:
- Calling an ApplyTemplate method when its includeContent parameter is set to false no longer throws an exception of the InvalidOperationException type.
- Loading a Document containing a settings file that uses a different name than settings.xml no longer results in a corrupted file when saving.
- 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.
- 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.
- 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.
- Table:
- The Table’s width is now correctly calculated when the value of AutoFit is set to Contents and/or Window.
- PDF Conversion:
- Tables are now drawn after the PageBreak when a Paragraph contain both elements.
- Converting a Header or Footer bereft of content no longer triggers an exception of the InvalidOperationException type.
- Borders located at the right and at the bottom of Tables are now correctly drawn during the conversion process.
- A Paragraph with a RightToLeft TextDirection will now have a valid alignment in the final PDF.
- Unicode characters (like "ỗ", for example) are now converted correctly to PDF.
- 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.
- Shapes without a z-index no longer create an Input string was not in a correct format exception.
- Pages will no longer be missing in the final PDF document when the isParagraphKeepingLinesTogether property is set to true.
- CheckBoxes are now converted and shown correctly in the PDF.
- 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.
- The Rows will no longer overlap when a Table is displayed on multiple pages.
- 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.
- Images that are rotated by 90 degrees will now have a valid scaling value in the final PDF.
- Adjacent Tables will no longer overlap in the final PDF.
- The text contained within the Cells of a Table will now keep its Alignment value when converted to PDF.
- 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.
- The conversion no longer falls in an infinite loop when a page contains wrapped Tables/Pictures along with section breaks.
- Texts are no longer duplicated in the final PDF when the OOXML structure contains the following pattern: text - run - text.