Skip to content

Release Notes v1.6.0

XceedBoucherS edited this page Jan 30, 2020 · 1 revision

v1.6.0

Released January 30, 2020.

24 improvements and bug fixes

  • In all classes, points are now used to set sizes, margins and spacings.
  • In Bookmark, the new Remove method is now available to remove a bookmark from a document.
  • In Container and Paragraph, the new ReplaceTextWithObject methods now make it easy to replace a string with an image, a hyperlink or a table.
  • In Document, adding a core property no longer removes the created headers/footers in the saved document.
  • In Document, calling the InsertDocument method to join 2 documents now manages the documents sections. This result in a final document composed of 2 sections, one for each document.
  • In Document, replacing text containing ‘tab’ characters now correctly replaces the text.
  • In Document, the Bookmarks property now includes the bookmarks from the headers and footers.
  • In DocX, the saved document now always has the extension “docx” or “doc”.
  • In Hyperlink, the Uri property now shows the correct value when the Hyperlink is inserted in a paragraph at index 0.
  • In Paragraph, adding a bookmark now correctly sets a distinct bookmark id.
  • In Paragraph, equations can now be aligned to the left or right.
  • In Paragraph, inserting a table imported from another document now correctly imports the table’s pictures.
  • In Paragraph, loading a document, adding a paragraph with a specific Heading style to it and saving it, now saves the document with the paragraph in the correct heading style.
  • In Paragraph, the Bold and Italic methods can now also be used to remove a bold or italic text.
  • In Paragraph, the InsertHorizontalLine method is now obsolete and has been replaced by a new InsertHorizontalLine method with different parameters. This prevents an issue with creating incorrectly formatted lines.
  • In Paragraph, the IsListItem property now returns false when a paragraph’s numId is equal to 0.
  • In Paragraph, the IsListItem property now returns true when a paragraph has a style (or a basedOn style) which contains a numId different from 0.
  • In Paragraph, the new ClearBookmarks method can be used to remove all the bookmarks from a paragraph.
  • In Paragraph, the ParentContainer property is now correctly set when a paragraph is part of a header or a footer.
  • In Picture, fixed an ArgumentOutOfRange exception that occurred when creating a picture with a style that has the wrong format.
  • In Section, the new PageNumberStart property can now be set to specify the starting page number of each section of a document.
  • In Table, setting the Design property to the same value it already contains no longer acts on the Table. This results in documents merging where tables keep their styles.
  • In Table, the SetWidths method now correctly adjusts the column widths, even when the total of the column sizes exceed the page width.
  • In Table and Cell, the GetBorder methods now return the default border when an Xml type is missing. This prevents a NullRefException.

v1.6.0 Xceed Words for .NET Edition

Released to registered users of Xceed Words for .NET Edition on January 30, 2019.

New Features : Xceed Words for .NET is now available on .NET Standard 2.0 for .NET Core 2.0 Applications.

65 improvements and bug fixes

  • In Document, the new UpdateFields method is now available to force an update of the fields in the document.
  • In Document, Paragraph and Container, new properties and methods are now available to create or get Shapes (only rectangles for now) and TextBoxes.
  • In DocX, the ConvertToPdf method no longer returns a Pdf document.
  • In Paragraph, the new GetListItemNumber method now returns the numeric value of this paragraph when the paragraph is a ListItem.
  • In Table, new properties are now available to wrap text around the tables.
  • In PDF Conversion, a cell displayed on 2 pages, with a bottom vertical alignment, now displays its content in PDF.
  • In PDF Conversion, a document starting with a table no longer repeats the table on each PDF page.
  • In PDF Conversion, a line composed of a wrapped image/shape and an InLineWithText image/shape now correctly sets the line height.
  • In PDF Conversion, a paragraph containing a page break and a table now converts the table to PDF.
  • In PDF Conversion, a paragraph containing a pageBreakBefore no longer adds a new page if it’s already on the top of a new page.
  • In PDF Conversion, a paragraph following a table now always uses its LineSpacingBefore property.
  • In PDF Conversion, a wrapped shape/image/table near the footer no longer adds a new page in PDF (when fitting in current page).
  • In PDF Conversion, absolute tabs are now converted to PDF.
  • In PDF Conversion, big wrapped pictures and shapes are now converted to PDF.
  • In PDF Conversion, bullet lists without a font family set are now converted to PDF.
  • In PDF Conversion, creating a table and setting the column widths with the Table.SetWidthsPercentage method now converts to PDF with the correct column widths.
  • In PDF Conversion, fixed a nullRefException that occurred by having ListItems without content.
  • In PDF Conversion, fixed a NullRefException that occurred when a Document had a null header or footer type.
  • In PDF Conversion, fixed a nullRefException that occurred when adding a document with ListItems to a document without any ListItems.
  • In PDF Conversion, fixed an exception that occurred when using many sections and wrapped pictures/tables in the same page.
  • In PDF Conversion, ListItems in Tables now display the correct numeric values.
  • In PDF Conversion, ListItems now show their bullet when the paragraph uses a hanging value.
  • In PDF Conversion, ListItem numbers now correctly increment when there are more than 2 levels of ListItems.
  • In PDF Conversion, page breaks in between ‘keepWithNext’ paragraphs now correctly adds the new page in PDF.
  • In PDF Conversion, pages containing wrapped objects no longer display incorrect numeric values for ListItems.
  • In PDF Conversion, paragraphs that define tabStopPositions now include their style’s tabStopPositions.
  • In PDF Conversion, pictures contained in a Hyperlink, which is contained in a paragraph, are now converted to PDF.
  • In PDF Conversion, sections now start page numbering at their start page number, or continue numbering from the previous section.
  • In PDF Conversion, Shapes (rectangles and lines) and TextBoxes are now converted to PDF.
  • In PDF Conversion, splitting a table’s cell on 2 pages now correctly displays the remaining cell content on the second page.
  • In PDF Conversion, tables splitting on 2 pages now correctly display the last row’s content on the first page.
  • In PDF Conversion, tables that start a new section are now converted to PDF.
  • In PDF Conversion, tables with less columns in the first row no longer cause a crash when converted to PDF.
  • In PDF Conversion, text in vertically merged cells now correctly aligns relative to top, middle or bottom.
  • In PDF Conversion, the docx document properties now appears in the converted PDF document.
  • In PDF Conversion, the highlight color is now removed when an endOfLine character is converted.
  • In PDF Conversion, the lastRenderedPageBreak are no longer considered. This prevents from adding blank pages in PDF document.
  • In PDF Conversion, the resulting PDF document no longer adds a new page when the current page ends with an endOfLine character that won’t fit in the current page.
  • In PDF Conversion, the tab distance between the ListItem’s numeric value and text is now normalized.
  • In PDF Conversion, the z order of pictures and shapes is now respected in the converted PDF document.
  • In PDF Conversion, using many tabStops with long text now correctly displays text with tabs in PDF.
  • In PDF Conversion, when a page ends with a wrapped object, the following page now correctly displays all the paragraph’s lines.
  • In PDF Conversion, wrapped images/shapes/tables are now always displayed on the same page as their associated paragraph.
  • In all classes, points are now used to set sizes, margins and spacings.
  • In Bookmark, the new Remove method is now available to remove a bookmark from a document.
  • In Container and Paragraph, the new ReplaceTextWithObject methods now make it easy to replace a string with an image, a hyperlink or a table.
  • In Document, adding a core property no longer removes the created headers/footers in the saved document.
  • In Document, calling the InsertDocument method to join 2 documents now manages the documents sections. This result in a final document composed of 2 sections, one for each document.
  • In Document, replacing text containing ‘tab’ characters now correctly replaces the text.
  • In Document, the Bookmarks property now includes the bookmarks from the headers and footers.
  • In DocX, the saved document now always has the extension “docx” or “doc”.
  • In Hyperlink, the Uri property now shows the correct value when the Hyperlink is inserted in a paragraph at index 0.
  • In Paragraph, adding a bookmark now correctly sets a distinct bookmark id.
  • In Paragraph, equations can now be aligned to the left or right.
  • In Paragraph, inserting a table imported from another document now correctly imports the table’s pictures.
  • In Paragraph, loading a document, adding a paragraph with a specific Heading style to it and saving it, now saves the document with the paragraph in the correct heading style.
  • In Paragraph, the Bold and Italic methods can now also be used to remove a bold or italic text.
  • In Paragraph, the InsertHorizontalLine method is now obsolete and has been replaced by a new InsertHorizontalLine method with different parameters. This prevents an issue with creating incorrectly formatted lines.
  • In Paragraph, the IsListItem property now returns false when a paragraph’s numId is equal to 0.
  • In Paragraph, the IsListItem property now returns true when a paragraph has a style (or a basedOn style) which contains a numId different from 0.
  • In Paragraph, the new ClearBookmarks method can be used to remove all the bookmarks from a paragraph.
  • In Paragraph, the ParentContainer property is now correctly set when a paragraph is part of a header or a footer.
  • In Picture, fixed an ArgumentOutOfRange exception that occurred when creating a picture with a style that has the wrong format.
  • In Section, the new PageNumberStart property can now be set to specify the starting page number of each section of a document.
  • In Table, setting the Design property to the same value it already contains no longer acts on the Table. This results in documents merging where tables keep their styles.
  • In Table, the SetWidths method now correctly adjusts the column widths, even when the total of the column sizes exceed the page width.
  • In Table and Cell, the GetBorder methods now return the default border when an Xml type is missing. This prevents a NullRefException.

We hope you love this release and decide to support the project by getting a license to Xceed Words for .NET. -- Xceed Team