Xceed Words for .NET V2.0
Released: Jul 19, 2021
Updates in V2.0
Funktionen
- Added support for Microsoft .NET 5.
- Digital signatures can now be added to documents in the Microsoft .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.
- 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.
- 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.
- Section.MarginFooter value is now used to position the footer content in the footer.
- Headers containing a wrapped behind text object now display the main document content behind this object.
- Document:
- Added a new method, GetPageCount() which is now available to retrieve the number of pages in the document. Note that this feature is currently experimental.
- Added new methods and objects that are now available to append footnotes/endnotes to paragraphs. These footnotes/endnotes can contain strings/Pictures/Hyperlinks/Tables.
- The text hyphenation will now be automatically updated when its hyphenation object properties are modified.
- Calling a Save() or a ConvertToPdf() now displays a watermark in the output document when using a trial license.
- Paragraph:
- Removing Bookmarks when the bookmarkStart is included in a paragraph but the bookmarkEnd is not, now removes the bookmark from the 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.
- The method InsertParagraphBeforeSelf(Paragraph) now returns a new instance of the newly created paragraph.
- A paragraph containing many images displayed on multiple pages now saves to PDF with multiple pages.
- When a paragraph from the Table of Contents does not specify any indentation but has an outlineLevel greater than 0, the paragraph's indentation is now automatically added.
- Chart Axis:
- The Title property can now be used to get/set the axis' title.
- List:
- The ListOptions property can now be used to modify the numbering of the list's sub-levels.
- 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.
- Chart, List, Shape and Image:
- Added new Remove method which is now available to remove the element from the document.
- Table:
- Merging multiple cells from a row now updates the resulting cell's width.
- Tables with more than one table header now save with the corresponding table headers.
Fehlerkorrekturen
- PDF Conversion:
- A table with vertical and horizontal merged cells now correctly converts the merged cells to PDF.
- Tables located in SDT tags now correctly converts to PDF.
- Tables that contain multi-header rows and span on multiple pages now display all the header rows on the extra pages.
- Converting null text no longer throws an exception.
- Tables with multi-heading rows splitting on two pages now display all the heading rows on the second page.
- Setting the Table.AutoFit property to "Contents" now correctly sizes the width of each column based on its content.
- Tables with more than one table header now convert to PDF with the corresponding table headers.
- Using AutoFitContent to set the table's column width now correctly auto-fits the content of cells.
- When the Table of Contents exceeds the page's length, the remaining content is now rendered on the following pages.
- When a Table of Contents is not visible, the conversion no longer throws a Null Ref exception.
- When a Table of Contents is not visible, the saving no longer throws a Null Ref exception.
- A paragraph containing many images displayed on multiple pages now converts to PDF with multiple pages.
- The Table of Contents now shows the correct page numbers when some referenced paragraphs are positioned before the Table of Contents.
- 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.
- When Table of Contents paragraphs contain tabs, the resulting PDF document will contain valid tab spacings.
- 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).
- When font sizes are not whole or half values, the result is rounded to the next whole value, preventing font size exception.
- For tables, OutOfRange exceptions are no longer thrown when mixing row span and vertical merged cells.
- Table of Contents elements no longer include end of lines characters from text.
- 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.
- Using a document with custom properties of type bool where values are "0" or "1" no longer throws an exception.
- 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.
- Tables spanned on multiple pages no longer overlap page numbers in the footer.
- Superscript characters no longer appear too small.
- Exceptions are no longer thrown when Pictures are grouped.
- A StackOverflow exception is not raised anymore when a cell extends over two pages.
- Using a Table of Contents with the "o" switch now only displays the valid headings in the Table of Contents.
- Document:
- Loading a DOCX or stream containing external entities is no longer supported. This prevents from working with vulnerable documents.
- Paragraph:
- Replacing text with regexMatchHandler and formatting no longer throws an exception because the index is too high.
- When some referenced paragraphs are positioned before the Table of Contents, the Table of Contents now shows the correct page numbers.
- Chart:
- Multiple charts included in one chart are now detected.
- The Chart.Save method now correctly saves the changes to charts using two Y-Axis.
- Picture:
- Using Microsoft Word 2007 to open a document containing pictures now correctly opens the document.
- Table:
- A table with vertical and horizontal merged cells now correctly saves the merged cells.
- When a big multi-rows table have all its rows and they can not be split on multiple pages (or when all the table's paragraphs have a KeepWithNext set to true), the table now forces a split at the end of the page to prevent a StackOverflow exception.
- When using Tables with AutoFitContent to set the table's column width, the width now correctly auto-fits the content of cells.
- CustomProperties:
- Updating split custom properties now correctly updates the properties.
- Using custom properties of type bool where values are "0" or "1" no longer throws an exception.
- Other:
- Saving null text no longer throws an exception.
- When using a trial license, calling a Save() now displays a watermark in the output document.