Xceed Words for .NET V1.8

Released: Jan 25, 2021

V1.8 中的更新

特性

  • Bookmarks:
    • Added new methods to the Container class to get, insert, remove and validate bookmarks.
  • Chart:
    • Added new Axis.LabelPosition property to position axis labels over, under, next to the axis or even hide them.
    • Added new Charts property to get all the charts from a container.
    • Added new Width property which can be used to set the size of a series.
  • Document:
    • Automatic hyphenations and configurable hyphenations can now be set for the whole document.
    • Calling ApplyTemplate() with a zero-size template document now throws an error explaining that a template document must contain data.
    • The Save() and SaveAs() methods now have an optional "password" parameter which is required in order to save password protected documents.
  • Paragraph:
    • Added new properties to get the following and previous paragraph.
  • Table:
    • Creating a multi-columns table now auto-fits the columns' width based on the page's available width; when opening the document in Google Docs or Microsoft Word 2013/2016, the table now displays with valid column widths.
    • Inserting a new column now uses the neighbor column's width and resizes all the row's cell widths to fit on the page width (when table doesn't have a fixed size).
    • When removing the last paragraph from a cell, if the cell also contains an HTML/RTF content, the paragraph removal can now be done.

修补程序

  • Bookmarks:
    • Calling the SetText method multiple times no longer inserts all the new texts; instead, it replaces the old text with the new one.
    • Retrieving paragraph's bookmarks no longer raises a NullRefException when bookmarks are not self-contained in the paragraph.
  • Document:
    • Joining two documents no longer throws a NullRefException because _fontTablePart is null.
  • PDF Conversion:
    • Asserts are no longer raised when the document to convert does not contain headers/footers of type Even or First.
    • Changing section with document.InsertSection() method no longer displays the wrong headers/footers in the PDF document.
    • Converting a docx using uninstalled fonts no longer throws exceptions.
    • Line spacing has been reviewed to correctly set the spacing before and after paragraphs.
    • ListItems no longer add unnecessary tabs between their number and content.
    • Multilevel lists no longer throw an IndexOutOfBound exception.
    • Table's cells containing vertical padding no longer doubles the vertical padding size.
    • Text in table's cells no longer crops when row size has a fixed height.
    • The Table of Content no longer uses blue underlined text and now respects the indentation levels.
    • Using a smallCaps formatting set to false no longer throws a NullRefException.
    • Using shapes with decimal size values no longer throws a Format exception.
    • Vertically merged cells no longer clip their cell content when the rows have fixed heights.
    • When a table has a specific style with no header row displayed, the resulting PDF document now displays the correct row background color for that Table.
    • When a table won't fit on a page and its last drawable row contains paragraphs with their KeepWithNext property set to true, the table no longer splits on two pages at this specific row; instead, Words will try to find a previous table's row without this KeepWithNext property set to true to split the table at this new position.
  • Sections:
    • Inserting sections with different headers/footers no longer keeps only the last section's headers/footers.