
Improves Table, Document and Paragraph features.
Features
- Border, Document, Formatting, Image, Paragraph, Picture and Style
- Properties and method arguments for sizes, positions and scaling now use a float type.
- Bookmark
- Calling the SetText method to replace a text with a new one containing a “\n” now correctly adds the new line.
- Document
- Getting the bookmarks now performs the search faster.
- Images now obtain a unique id to prevent possible file corruption.
- Inserting a document with ‘x-emf’ images in another one now correctly displays all the images in the resulting document.
- Inserting a page break no longer results in an invalid document.
- Inserting a paragraph containing pictures now correctly inserts the paragraph’s pictures.
- Merging 2 documents containing footnotes/endnotes now correctly merges the documents.
- New methods are now available to add Hyperlinks based on a referenced Hyperlink.
- New methods are now available to add Hyperlinks with formatting.
- Parsing an invalid link no longer throws a UriFormatException.
- The InsertDocument method now uses the new ‘useSectionBreak’ parameter to join the new document on a new page or not.
- The new AddList(list t) method is now available to return the copy of a list.
- The new AddTable(table t) method is now available to return a copy of a table.
- The performance for adding hundreds of images was improved.
- Using the InsertDocument method to merge two documents with different styles now keeps the documents’ styles.
- Using the Save() method followed by a SaveAs() call no longer raises an exception.
- Document and Paragraph
- It is now possible to add a CheckBox or modify the checked state of a CheckBox.
- List
- Creating lists with levels greater than 0 now restarts the numbering in each list by default.
- New items can now be added with a specific individual formatting; the Document.AddList and Document.AddListItem methods now contain a new formatting parameter.
- The ListType property no longer returns null when reading an existing list from a document.
- Paragraph
- Calling the Highlight method with Highlight.none as the parameter now removes the highlight on the paragraph.
- Replacing text no longer throws an ArgumentOutOfRange exception.
- The default indentations now use the correct values.
- When the document has a default paragraph alignment different from ‘left’, setting a paragraph alignment to ‘left’ now modifies the alignment.
- Picture
- The new Alpha property is now available to set the transparency of a picture.
- Table
- The new IndentFromLeft property can now be used to indent a table.
- The new RowSpan property on cells can now be used to retrieve the number of cells vertically merged.
- The performance was improved by not validating styles anymore when no style is specified.
- When the table is in a header/footer, replacing text for a specific row no longer replaces text for all rows.