Skip to content

Release Notes v1.2.0

XceedBoucherS edited this page Jan 22, 2024 · 15 revisions

v1.2.0

Released June 27, 2018.

13 bug fixes and improvements

  • In Container, the method GetListItemType has been improved to reduce delays.
  • In DocX, the GetSections method and the Sections property will now return the same list of Section values.
  • In DocX, inserting a document in an empty document will no longer remove listItems numbering.
  • In Footer, the new "Images" property will now be available to get a list of images in the footer.
  • In Paragraph, removing text that starts with a tab will no longer throw an exception.
  • In Paragraph, a hyperlink can now be added with an anchor to point to a document's bookmark.
  • In Paragraph, the new method InsertTabStopPosition will now be available to position the tabs.
  • In Paragraph, shading is now supported for specific text or a whole paragraph.
  • In Paragraph, removing text with track changes will no longer cause a crash.
  • In Paragraph, when adding an indentation hanging, the first line of text will no longer be offset to the left. Instead, the lines of text following the first line will be offset to the right.
  • In Paragraph, the InsertHorizontalLine method now has a "position" parameter, to draw a line on the top or at the bottom of the paragraph.
  • In Paragraph, the IndentationFirstLine and IndentationAfter properties will now return the correct values.
  • In Paragraph, inserting text with tracking changes will now correctly integrate the new text.
  • In Paragraph, adding a list before or after the paragraph will now be possible with the new InsertListBeforeSelf and InsertListAfterSelf methods.

v1.3.0 Plus Edition

Released to registered users of the Plus Edition on September 12, 2017.

13 bug fixes and improvements

  • In DocX, converting a document from Word to PDF will now be possible with the new ConvertToPdf method.
  • In DocX, if the core properties part is missing in the document, it will now be created automatically instead of throwing an exception.
  • In Container, the Paragraphs properties will no longer include the fallback elements.
  • In Formatting, half point font sizes are now supported.
  • In Paragraph, a border can now be added to a simple text.
  • In Paragraph, a default line spacing or indentation defined on the document will now be used when the paragraph doesn't specify those values.
  • In Paragraph, adding a bookmark with the same name as a previously deleted bookmark will no longer cause an exception.
  • In Paragraph, calling the InsertText or RemoveText methods will now update the active runs.
  • In Paragraph, the LineSpacing property will now correctly update the spacing between lines of text.
  • In Paragraph, when an Auto spacing is used, the LineSpacingAfter and/or LineSpacingBefore properties will now return 0.
  • In Picture, its size will now be defined by using the default 96 pixels per inch.
  • In Picture, the new HeightInches and WidthInches properties can now be used to get/set the image size in inches.
  • In Table, Cell will now default to a Top vertical alignment.

v1.4.0 Plus Edition

Released to registered users of the Plus Edition on January 15, 2018.

19 bug fixes and improvements

  • In Document, adding an image from a stream will no longer throw an exception when the stream is not positioned at the beginning.
  • In Document, inserting a chart by setting its width and height is now supported.
  • In Document, the new PageBackground property can now be set to customize the background color of all the document's pages.
  • In Document, the new PageBorders property can now be set to display up to 4 different borders in a document page.
  • In Paragraph, setting an alignment and then calling InsertPicture() with no index will no longer reset the alignment to left.
  • In Paragraph, the AppendPageNumber and AppendPageCount methods will now return the paragraph, in order to let users continue adding actions on the paragraph.
  • In Paragraph, the LineSpacingBefore will no longer be added to the preceding paragraph's LineSpacingAfter, when those values are identical.
  • In Paragraph, the MagicText property will no longer read the Xml at each call. Instead, the saved data will be used to improve the performance.
  • In Paragraph, replacing a text without specifying a formatting will now replace all occurrences of that text.
  • In Picture, new properties are now available to use different text wrappings (Square, TopBottom, Through, Tight, BehindText, InFrontOfText), horizontal and vertical alignments, offsets, and distances from text.
  • In PDF Converter, Footnotes and Endnotes will now be converted from Word to PDF.
  • In PDF Converter, page background and page borders will now be converted from Word to PDF.
  • In PDF Converter, the conversion of Tables from Word to PDF has been improved.
  • In PDF Converter, converting a document from Word to PDF will now correctly apply the first line indent for single word paragraphs.
  • In PDF Converter, the lines' height will now be calculated by using the font's LineSpacing.
  • In PDF Converter, converting tables and pictures from Word to PDF will no longer cause a crash.
  • In PDF Converter, footers will now be displayed at the correct Y position in the resulting PDF file.
  • In PDF Converter, images inserted in headers or footers will now be converted to PDF.
  • The cropping of images will now be supported with the new Cropping property in the Picture class. The conversion to PDF will also manage the cropping.

v1.4.1 Plus Edition

Released to registered users of the Plus Edition on April 12, 2018.

22 bug fixes and improvements

  • In Document, accessing Bookmarks multiple times no longer decreases the application's performance.
  • In Table, modifying the TableLook, or any property of TableLook, will now correctly update the table.
  • In Table, using CustomTableDesignName now correctly adjusts the table's custom style.
  • In PDF Conversion, tables with a set preferred Width will no longer have cells wider than the table's width.
  • In PDF Conversion, tables now work correctly when the columnWidths value is not specified.
  • In PDF Conversion, the conversion will no longer crash when the document includes wrapped images and lists.
  • In PDF Conversion, lists no longer throw a null reference exception when _numbering data is empty.
  • In PDF Conversion, tables with an "auto" background are now supported.
  • In PDF Conversion, exceptions related to adding duplicate attributes are no longer thrown.
  • In PDF Conversion, paragraphs containing wrapped images and a first line offset are now converted to PDF without text overlapping the images.
  • In PDF Conversion, images in header/footer are now correctly displayed. In addition, the header height is now adjusted to its images when converting the rest of the page into PDF.
  • In PDF Conversion, images and tables with wrapping located inside headers/footers are now correctly handled.
  • In PDF Conversion, the margin of headers/footers and wrapped images inside headers/footers are now correctly adjusted.
  • In PDF Conversion, the resulting PDF file is now of much smaller size.
  • In PDF Conversion, using highlight or shading now only affects the desired text.
  • In PDF Conversion, doing a second conversion on a single docx file containing listItems now correctly displays the listItems bullets/numbers.
  • In PDF Conversion, page breaks in the middle of paragraphs are now correctly displayed as paragraph spacings.
  • In PDF Conversion, line breaks are now supported.
  • In PDF Conversion, no longer displays an empty page when a paragraph with a "page break" is followed by a paragraph with a "pagebreakBefore" attribute.
  • In PDF Conversion, when the text is larger than the current tabStopPosition, the next tabStopPosition is now used.
  • In PDF Conversion, using the standard tab to align text now correctly aligns the text in the PDF.
  • In PDF Conversion, when a font is set for text inside a table cell, using a style on the table will no longer overwrite the cell's font set.
  • In PDF Conversion, page Background and page Borders of pages containing a background color and/or page borders along with wrapped images are now correctly displayed.
  • In PDF Conversion, paragraph images not included in a run are now converted to PDF.
  • In PDF Conversion, using underline for the last word of a paragraph now correctly underlines this last word.
  • In PDF Conversion, the conversion from Word to PDF is now completed much faster.

v1.5.0 Plus Edition

Released to registered users of the Plus Edition on June 18, 2018.

71 bug fixes and improvements

  • In Bookmark, the SetText method will now replace the text by managing all the paragraph's runs.
  • In Document, creating a docx document when the Windows settings decimal separator is not a dot will now be supported.
  • In Document, loading a string URL document will now be supported.
  • In Document, management of individual headers and footers will now be possible per section. Therefore, it will now be possible to replace text in the headers and footers of different sections individually.
  • In Document, the new SetDefaultFont method can now be used to set the family, size and color of the default document font.
  • In Image, creating pictures with big dimensions will no longer throw exceptions.
  • In Paragraph and Container, inserting text in a bookmark will now offer the possibility to format the inserted text.
  • In Paragraph, adding a list before or after the paragraph will now be possible with the new InsertListBeforeSelf and InsertListAfterSelf methods.
  • In Paragraph, fixed the typo in the name of the CurrentCulture property (previously named CurentCulture).
  • In Paragraph, setting the Kerning or PercentageScale properties will no longer throw exceptions.
  • In Paragraph, the new Charts property will now be available to obtain the charts associated with a paragraph. It will also be possible to modify the values or categories of this chart's series through new properties.
  • In Paragraph, using an unknown language type will no longer throw an exception.
  • In Paragraph, using UnderlineColor or UnderlineStyle after inserting a string, and using AppendPicture, will now underline the string and the picture.
  • In Paragraph, when a default LineRule is set in the default parameter of a document, it will now be taken into account.
  • In Section, setting the page orientation individually for the different sections will now be supported.
  • In Section, the following properties can now be set to configure each section of the Document: Headers, Footers, DifferentFirstPage, MarginTop, MarginBottom, MarginLeft, MarginRight, MarginHeader, MarginFooter, MirrorMargins, PageWidth, PageHeight, PageBorders, PageLayout.
  • In Section, the SectionBreakType property will now correctly get/set the Xml and therefore contain the desired value.
  • In Table, the default design layout 'TableGrid' will now be added upon creation.
  • In Table, the InsertColumn method will now support inserting a column at index 0.
  • In Table, using the SetTableCellMargin method will now add the desired cell margin even when a table style is used.
  • In Xceed.Pdf, many classes and properties are now internal.
  • In PDF Conversion, a line with only tabs and images will now correctly convert the tabs.
  • In PDF conversion, all the tables following a paragraph will now be converted to PDF.
  • In PDF Conversion, bullet lists will now use the specified bullet characters, when available in the ASCII table.
  • In PDF conversion, cell margins will now be correctly converted to PDF.
  • In PDF Conversion, converting all Sections of a document will now be supported.
  • In PDF conversion, custom margins in the document will now be converted to PDF.
  • In PDF Conversion, documents with a custom Default Paragraph Name will now use this default paragraph's properties when converting.
  • In PDF Conversion, horizontal and vertical banding will now be applied to all rows/columns in a table when specified.
  • In PDF Conversion, images contained in Tables of Headers or Footers will now be converted to PDF.
  • In PDF Conversion, lines composed of images and no text will now always be converted to PDF.
  • In PDF Conversion, ListItems containing page breaks will no longer display their last part on the new page with a new ListItem number.
  • In PDF Conversion, ListItems indentations and tab spacings will now be correctly converted.
  • In PDF Conversion, ListItems numbers, containing text and number, will now parse the text part.
  • In PDF Conversion, ListItems numbers will now be correctly incremented when different lists use the same abstractNumId.
  • In PDF Conversion, ListItems with numbers will now correctly increment based on their txtFormat.
  • In PDF Conversion, lists with no start value will no longer throw an exception.
  • In PDF Conversion, merged cells will now look merged in PDF.
  • In PDF Conversion, no more empty pages will be produced when paragraphs should be kept together and page breaks are used.
  • In PDF Conversion, paragraphs with a style containing hanging indentation will now be ignored when the paragraph's first line indentation is defined.
  • In PDF conversion, paragraphs with 'nil' borders will no longer throw asserts.
  • In PDF Conversion, paragraphs with tables will now always use their LineSpacingAfter property to manage the spacing between the paragraph and its following tables.
  • In PDF Conversion, pictures using the 'pict' format in OOXML will now be converted to PDF.
  • In PDF Conversion, repeating the same image multiple times in a document will no longer cause an OutOfMemory exception. In addition, it will no longer increase the output document size.
  • In PDF Conversion, section breaks of type 'continuous' will no longer add a new page.
  • In PDF Conversion, setting a font color for a table cell will now apply the correct color in PDF.
  • In PDF conversion, table cells containing multi-line text will no longer overlap.
  • In PDF Conversion, tables containing cells with more than 1 Pdf.Layout.Text.Text will now correctly split on 2 pages when needed.
  • In PDF Conversion, tables containing preferred width along with defined columns width will now have their cells correctly aligned.
  • In PDF conversion, tables included in a table's cell will now be converted to PDF.
  • In PDF Conversion, tables included in headers or footers will now be converted to PDF.
  • In PDF Conversion, tables with fixed row heights will now clip their cell's contents to fit in the available space.
  • In PDF conversion, tables with shading will now be supported.
  • In PDF Conversion, tables with the AutoFit property set to 'Contents' will now have the correct width.
  • In PDF Conversion, text formatting with options set to "0" will no longer apply. This is valid for hidden, italic, bold, strike, double-strike, caps and small caps formatting.
  • In PDF conversion, the borders of adjoining paragraphs with different border properties will now be displayed correctly.
  • In PDF conversion, the ConvertToPdf method will now also accept an 'outputStream' parameter, to save the resulting PDF file into a stream.
  • In PDF Conversion, the first page header will no longer be displayed when the DifferentFirstPage property is true and there is no specific header for the first page.
  • In PDF conversion, the resulting PDF will now display the correct page numbers in a table of content.
  • In PDF Conversion, the total page number will now be correctly converted to PDF.
  • In PDF Conversion, the Y position of a wrapped table, relative to a paragraph, will now be calculated from the end of the preceding paragraph instead of from the start.
  • In PDF Conversion, un-wrapped tables will no longer be drawn behind wrapped tables.
  • In PDF Conversion, using an automatic underline color will now use the text font color for the underline color. Also, the underline width will now be proportional to the text font size.
  • In PDF conversion, when a paragraph contains only an end of line character with an underline style, the underline will no longer be converted to PDF.
  • In PDF Conversion, when a table is split over multiple pages, it will no longer overlap the page footers.
  • In PDF Conversion, when more than 1 section is defined in the body of the document, the resulting PDF document will now combine them.
  • In PDF Conversion, when paragraphs are kept together, some of them contain tables and there is not enough space to draw all of them on the current PDF page. A new PDF page will now be added, but only when the current one is filled.
  • In PDF Conversion, when table column widths are defined, the resulting table in the PDF document will now be built based on these column widths.
  • In PDF Conversion, when TabStopPositions contains a 'clear' value, the corresponding tab will now be ignored, resulting in better text positioning.
  • In PDF Conversion, wrapping footers will now always fit on the same PDF page.

v1.6.0 Plus Edition

Released to registered users of the Plus Edition on January 28, 2019.

71 bug fixes and improvements

  • Xceed Words for .NET is now available on .NET Standard 2.0 for .NET Core 2.0 Applications.
  • 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 DocX, the ConvertToPdf method no longer returns a Pdf document.
  • In DocX, the saved document now always has the extension "docx" or "doc".
  • 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, Paragraph and Container, new properties and methods are now available to create or get Shapes (only rectangles for now) and TextBoxes.
  • 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 Document, the new UpdateTableOfContents method is now available to force an update of the Table of contents when document headings have changed.
  • 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 new GetListItemNumber method now returns the numeric value of this paragraph when the paragraph is a ListItem.
  • 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, new properties are now available to wrap text around the tables.
  • 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.
  • 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.

v1.7.0 Plus Edition

Released to registered users of the Plus Edition on January 30, 2020.

62 bug fixes and improvements

  • In Bookmark, calling the SetText method to replace a text with a new one containing a "n" now correctly adds the new line.
  • In Border, Document, Formatting, Image, Paragraph, Picture and Style, properties and method arguments for sizes, positions and scaling now use a float type.
  • In Chart, modifying the color of a LineChart series now works.
  • In Chart, using a BarChart with its BarGrouping property set to 'Stacked' or 'PercentStacked' now correctly stacks the chart elements.
  • In Document, getting the bookmarks now performs the search faster.
  • In Document, images now obtain a unique id to prevent possible file corruption.
  • In Document, inserting a document with 'x-emf' images in another one now correctly displays all the images in the resulting document.
  • In Document, inserting a page break no longer results in an invalid document.
  • In Document, inserting a paragraph containing pictures now correctly inserts the paragraph's pictures.
  • In Document, merging 2 documents containing footnotes/endnotes now correctly merges the documents.
  • In Document, new methods are now available to add Hyperlinks based on a referenced Hyperlink.
  • In Document, new methods are now available to add Hyperlinks with formatting.
  • In Document, new methods now exist to insert html/rtf text (with tags), or html/rtf document, to a Word document, resulting in a docx document containing formatted html/rtf data.
  • In Document, parsing an invalid link no longer throws a UriFormatException.
  • In Document, the InsertDocument method now uses the new 'useSectionBreak' parameter to join the new document on a new page or not.
  • In Document, the new AddList(list t) method is now available to return the copy of a list.
  • In Document, the new AddTable(table t) method is now available to return a copy of a table.
  • In Document, the performance for adding hundreds of images was improved.
  • In Document, using the InsertDocument method to merge two documents with different styles now keeps the documents' styles.
  • In Document, using the Save() method followed by a SaveAs() or a ConvertToPdf() call no longer raises an exception.
  • In Document and Paragraph, it is now possible to add a CheckBox or modify the checked state of a CheckBox.
  • In List, creating lists with levels greater than 0 now restarts the numbering in each list by default.
  • In List, new items can now be added with a specific individual formatting; the Document.AddList and Document.AddListItem methods now contain a new formatting parameter.
  • In List, the ListType property no longer returns null when reading an existing list from a document.
  • In Paragraph, calling the Highlight method with Highlight.none as the parameter now removes the highlight on the paragraph.
  • In Paragraph, replacing text no longer throws an ArgumentOutOfRange exception.
  • In Paragraph, the default indentations now use the correct values.
  • In Paragraph, when the document has a default paragraph alignment different from 'left', setting a paragraph alignment to 'left' now modifies the alignment.
  • In PDF Conversion, a docx containing big jpg images no longer results in a big file size pdf document.
  • In PDF Conversion, a new parameter is now available in the DocX.ConvertToPdf method in order to provide a list of ttf files to use when the docx to convert includes fonts that are not installed.
  • In PDF Conversion, a page number located in an 'sdt' element of a paragraph now correctly displays in PDF.
  • In PDF Conversion, adding end of lines with the 'underline' style no longer converts underlines to PDF.
  • In PDF Conversion, converting Windings characters from word to PDF now correctly displays them in PDF.
  • In PDF Conversion, empty merged cells no longer set a row height of 0 when converted to PDF.
  • In PDF Conversion, fonts using a 'raised' position no longer display only part of it, instead they are converted as 'normal' font.
  • In PDF Conversion, having an image InLineWithText, which has a greater height than its line of text, no longer clips the bottom part of its line of text.
  • In PDF Conversion, images contained in 'sdt' elements are now correctly converted to PDF.
  • In PDF Conversion, line breaks are now correctly converted to PDF.
  • In PDF Conversion, ListItem numbers no longer take their first text style by default.
  • In PDF Conversion, ListItem sub-level numbers are now correctly converted to PDF.
  • In PDF Conversion, modifying a document and converting it to PDF (without saving it) now correctly converts the modifications to PDF.
  • In PDF Conversion, NullReferenceExceptions are no longer thrown when the page border includes null side borders.
  • In PDF Conversion, tables that follow an 'sdt' element are now converted to PDF.
  • In PDF Conversion, tables with column lengths of NaN now use the available width and no longer raise an exception.
  • In PDF Conversion, tables with vertically merged cells now correctly adjust the height of all their cells.
  • In PDF Conversion, using a table with vertically merged cells no longer throws an outOfRangeException when the following row contains less cells.
  • In PDF Conversion, using cell margins on many cells of a row no longer creates a cell with a big row height in PDF.
  • In PDF Conversion, using highlighted or shaded text inside a justified paragraph now renders the highlighted or shaded text without blank spaces.
  • In PDF Conversion, using ListItems with decimal symbols bullet values now converts correctly to PDF.
  • In PDF Conversion, using page numbers no longer throws a "Sequence contains no element" exception.
  • In PDF Conversion, using TabStopPositions, where some of them are 'cleared', now correctly aligns the text in PDF.
  • In PDF Conversion, using TabStopPositions no longer results in a possible infinite loop.
  • In PDF Conversion, using wrapped shapes no longer asserts for null wrappedObject.
  • In PDF Conversion, when the culture is not 'English', the footers now correctly appear at the bottom of the pdf pages.
  • In PDF Conversion, when the header includes large wrapped objects, the header now extends in height to fit these wrapped objects.
  • In PDF Conversion, when the sum of a table's columns width is greater than the available space on a page, the table's columns now recalculate their width to fit on the page.
  • In Picture, the new Alpha property is now available to set the transparency of a picture.
  • In Section, when headers/footers are different between the sections, saving the document as a docx no longer creates an unreadable document in MS Word.
  • In Table, the new IndentFromLeft property can now be used to indent a table.
  • In Table, the new RowSpan property on cells can now be used to retrieve the number of cells vertically merged.
  • In Table, the performance was improved by not validating styles anymore when no style is specified.
  • In Table, when the table is in a header/footer, replacing text for a specific row no longer replaces text for all rows.

v1.7.1 Plus Edition

Released to registered users of the Plus Edition on August 17, 2020.

28 bug fixes and improvements

  • In Document, joining 2 documents now gives the opportunity to choose the headers/footers of doc1, doc2 or both of them in the resulting document.
  • In Chart, modifying the value of a series containing a specific formatting now keeps the formatting after the modification.
  • In PDF Conversion, the footer no longer appears too high in the page.
  • In PDF Conversion, when the text do not have a specified font, the conversion now uses the docx default font instead of the Calibri font.
  • In PDF Conversion, the PDF table's rows heights now matches the MS Word table's rows heights.
  • In PDF Conversion, using a negative indentation now converts the text to PDF without clipping.
  • In PDF Conversion, converting many images to PDF no longer creates an out of memory exception.
  • In PDF Conversion, when many big consecutive tables needs to split on many pages, the resulting PDF document now contains all the tables rows.
  • In Picture, the new property Hyperlink can now be used to get/set an Hyperlink on a Picture.
  • In Bookmark, a Formatting parameter is now available for the method Bookmark.SetText() and Paragraph.ReplaceAtBookmark() to format the bookmark text.
  • In Bookmark, appending pictures no longer throws NullRefException.
  • In Bookmark, calling the SetText method no longer copies the new text multiple times when the bookmark's paragraph contains multiple runs.
  • In Chart, retrieving the Chart series values no longer throw a NullRefException.
  • In Document, replacing a text preceding a column break no longer keeps the original text in the resulting document.
  • In Document, merging documents no longer creates duplicates of the same styles in the resulting document.
  • In Document, merging documents with images no longer creates a System.IO.IOException.
  • In Document, adding custom properties with formatting is now possible.
  • In Document, when no "docDefaults" are defined or when table columns's width are not defined, the document now correctly loads.
  • In Document, the new method InsertCaptionAfterSelf() is now available to add a caption text under a picture, table or paragraph.
  • In List, creating a bulleted list in a loaded document no longer creates a numbered list.
  • In Paragraph, using InsertPageNumber(), AppendPageNumber(), InsertPageCount() or AppendPageCount() now correctly formats the number based on the current paragraph format.
  • In Paragraph, the property StyleName is now obsolete, the property StyleId should be used instead. Also, the new method GetStyleIdFromStyleName can now be used to retrieve a Paragraph StyleId from a style name. Finally, in Formatting, the property StyleName is now obsolete, the property StyleId should be used instead.
  • In Paragraph, creating a picture now uses its dpi resolution so that the image is converted to 72 dpi, as wanted by MS Word.
  • In Picture, creating a picture with big dimensions no longer creates a corrupted output document.
  • In Section, it is now possible to insert a section between other sections.
  • In Table, adding a an inner table after a cell's paragraph with the InsertTableAfterSelf method, no longer creates a corrupted output document.
  • In Table cell, inserting a table no longer creates a corrupted output document.
  • In TableOfContents, it is now possible to add parameters to table of content switches through the Document.InsertTableOfContents methods.

v1.8.0 Plus Edition

Released to registered users of the Plus Edition on January 25, 2021.

30 bug fixes and improvements

  • In Chart, the new Axis.LabelPosition property is now available to position the axis labels over, under, next to the axis or even hide them.
  • In Chart, the new Charts property from Container is now available to get all the charts from a container.
  • In Charts, a new Width property can now be used to set the size of a series.
  • In Document, automatic hyphenations and configurable hyphenations can now be set for the whole document.
  • In PDF Conversion, asserts are no longer raised when the document to convert does not contain headers/footers of type Even or First.
  • In PDF Conversion, changing section with document.InsertSection() method no longer displays the wrong headers/footers in the PDF document.
  • In PDF Conversion, converting a docx using uninstalled fonts no longer throws exceptions.
  • In PDF Conversion, line spacing has been reviewed to correctly set the spacing before and after paragraphs.
  • In PDF Conversion, ListItems no longer add unnecessary tabs between their number and content.
  • In PDF Conversion, multilevel lists no longer throw an IndexOutOfBound exception.
  • In PDF Conversion, Table's cells containing vertical padding no longer doubles the vertical padding size.
  • In PDF Conversion, text in table's cells no longer crops when row size has a fixed height.
  • In PDF Conversion, the Table of Content no longer uses blue underlined text and now respects the indentation levels.
  • In PDF Conversion, using a smallCaps formatting set to false no longer throws a NullRefException.
  • In PDF Conversion, using shapes with decimal size values no longer throws a Format exception.
  • In PDF Conversion, vertically merged cells no longer clip their cell content when the rows have fixed heights.
  • In PDF Conversion, 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.
  • In PDF Conversion, 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.
  • In Bookmark, calling the SetText method multiple times no longer inserts all the new texts; instead, it replaces the old text with the new one.
  • In Bookmarks, new methods on the Container class are now available to get, insert, remove and validate bookmarks.
  • In Bookmarks, retrieving paragraph's bookmarks no longer raises a NullRefException when bookmarks are not self-contained in the paragraph.
  • In Document, calling ApplyTemplate() with a zero-size template document now throws an error explaining that a template document must contain data.
  • In Document, joining two documents no longer throws a NullRefException because _fontTablePart is null.
  • In Document, the Save() and SaveAs() methods now have an optional "password" parameter, which is required in order to save password protected documents.
  • In Paragraph, new properties are now available to get the following and previous paragraph.
  • In Sections, inserting sections with different headers/footers no longer keeps only the last section's headers/footers.
  • In Table, creating a multi-columns table now autofits the columns' width based on the page's available width; when opening the document in GoogleDoc or MS Word 2013/2016, the table now displays with valid column widths.
  • In Table, 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).
  • In Table, when removing the last paragraph from a cell, if the cell also contains an HTML/RTF content, the paragraph removal can now be done.

v2.0.0 Plus Edition

Released to registered users of the Plus Edition on July 19, 2021.

49 bug fixes and improvements

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

v2.1.0 Plus Edition

Released to registered users of the Plus Edition on November 15, 2021.

44 bug fixes and improvements

  • Xceed Words for .NET is now supported by Windows 11.
  • A footer containing a table will no longer be displayed over the body of the page.
  • Document.AddChart will now be used for chart creation. It is recommended to use it as soon possible.
  • In Table and Cells, a new property, called ShadingPattern, can now be used to set Fill, Style and StyleColor on the whole table or on specific cells. Note that the Shading property is now obsolete.
  • In Document, adding new images when images are already included in the body, headers and/or footers now gives these new images unique ids, resulting in a readable final document.
  • In Document, a new property, called ParagraphFormattings, returns the list of all formatting styles used to format paragraphs in the document.
  • In Document, joining 2 documents containing images in the header/footer now joins these images in the resulting document.
  • In Document, the performance for retrieving paragraphs was improved.
  • In Document, applying a template to a document now imports the images.
  • In Document, merging an empty document with a non-empty document now preserves the paragraphs’ default formatting and keeps the tables’ indentations.
  • In Document, making a copy of a document in order to use it later no longer creates an ObjectDisposedException.
  • In Document, the InsertDocument method now has a useSectionBreak parameter that can be used to put the inserted document in its own section if needed.
  • In Document, the method ReplaceText now replaces the expected text when the document contains shapes.
  • In Document, the InsertDocument method now puts the section break at the right place if the document contains no paragraph.
  • In Paragraph, the MagicText.Formatting property now returns the correct formatting for a specific text.
  • In Paragraph, the InsertPageNumber(), AppendPageNumber(), InsertPageCount() and AppendPageCount() methods now accept a null format parameter. This allows Section.PageNumberType to format page numbers.
  • In Paragraph, a new method, called ShadingPattern, can now be used to set a ShaddingPattern on a specific paragraph or text in a paragraph.
  • In Section, a new method, called Remove(), is now available to remove a section from the Document.
  • In Section, a new property, called PageNumberType, adds more formatting options for page numbers, like page number start, format, chapter style and separator. This creates a breaking change, since the property Section.PageNumberStart is now found in Section.PageNumberType.PageNumberStart.
  • In Section, adding a picture into a cell in a table no longer throws a NullRefException because PackagePart is null.
  • In Formatting, a new property, called ShadingPattern, can now be used to set a ShaddingPattern on a Formatting object.
  • In ShadingPattern, modifying a single property now updates the parent element.
  • Hyperlink now has two new properties, Anchor and Type, that respectively gets more information about the hyperlink's type and gets/sets the anchor's value.
  • Series now has two new properties: Marker and DataPoints.
  • DataPoints now has a Marker property.
  • The Marker class will now allow you to customize the markers.
  • In Chart, Picture, SignatureLine, Table and Shape, the new WrapStyle and WrapTextPosition properties are now available to customize the text wrapping. These properties are used instead of the old WrappingStyle and WrapText properties, whose types were confusing.
  • In Document, a new method, called InsertDocument, is now available to insert a document at a specific point in another document.
  • Saving a pdf that contains tables now correctly positions the paragraphs found inside of the table's cells.
  • In PDF Conversion, saving a docx that contains tables and converting it to PDF now correctly positions the paragraphs found inside of the table's cells.
  • In PDF Conversion, a footer containing a table is no longer displayed over the body of the page.
  • In PDF Conversion, lines of text are no longer duplicated when paragraphs are split on 2 pages.
  • In PDF Conversion, paragraph spacing now respects the paragraph’s line spacing when spacing is set to "exactly".
  • In PDF Conversion, using lineSpacing in a table's paragraph now correctly sets the table's row height.
  • In PDF Conversion, images are no longer cropped when they do not contain crop properties.
  • In PDF Conversion, vertical spacing between a Table's cells now respect the original spacing. In addition, the Table's rows are no longer repeated when a table is split on 2 pages.
  • In PDF Conversion, the content alignment of cells in a Table now respects the right-side indentation. In addition, vertically merged cells located between horizontally merged cells now respects vertical alignment.
  • In Chart, new properties are now available to wrap text around the charts.
  • Chart’s Axis now has the property ReverseOrientation that allows the user to change the display order of Min & Max values of the Axis.
  • Chart’s Value axis now has the properties Max, Min, LogBase that allow to customize the numbers on the axis.
  • In Axis, a new property, TitleFormat, can now be used to get/set the formatting of an axis' title.
  • In Axis, the minor and major tick marks types can now be set with the enum TickMarksTypes.
  • In ValueAxis, major and minor tick marks units can now be set with a Double?.
  • In Theming, the Chart's HintLine and HintLabels can now be themed.

v2.2.0 Plus Edition

Released to registered users of the Plus Edition on February 4, 2022.

17 bug fixes and improvements

  • The .NET5, dlls for Words now works well with .NET6 applications.
  • In PDF Conversion, saving the document as a docx prior to converting it to PDF is no longer necessary.
  • In PDF Conversion, converting a table that contains a table in one of its cells no longer raises an OutOfRange Exception.
  • In PDF Conversion, a table located inside a table no longer displays larger than it should when exported in PDF.
  • In PDF Conversion, a table located inside a table now has an appropriate left margin.
  • In PDF Conversion, a paragraph containing only a shape and no text no longer shifts the shape away from the paragraph.
  • In PDF Conversion, first line indentation now displays the PDF paragraph text with a valid indentation.
  • In PDF Conversion, paragraphs displayed on 2 pages now display all their lines of text.
  • In PDF Conversion, a large text that uses Single line paragraphs no longer gets cut vertically.
  • In PDF Conversion, ListItems now displays the valid decimal value when starting at 2.
  • In Document, modifying the header content before inserting the document in another document no longer loses the header modifications.
  • In Document, using a trial license for a document containing 1 or 2 of the usual headers (first, odd, even) no longer creates an InvalidOperationException when saving.
  • In Document, instead of returning the current document when a call to the Copy method fails, an exception is now raised
  • In Document, inserting a document when the useSectionBreak parameter is set to false now inserts the document without adding an unnecessary section break.
  • In Section, the Tables property now returns all the tables in the current section. Also, the Remove method now removes all the tables from a section, including the first table.
  • In Table, the IndentFromLeft property now returns the expected value.
  • In Container, removing all paragraphs from a table now also removes the table.

v2.3.0 Plus Edition

Released to registered users of the Plus Edition on May 14, 2022.

15 bug fixes and improvements

  • In Document, the InsertParagraph(Paragraph p) method now inserts the paragraph's style in the document.
  • In Document, the FindUniqueByPattern method now returns the elements found in the main body, the headers and the footers of the document.
  • In Document, inserting a document after another, when one or both of those documents contain charts, now correctly outputs a document with those charts.
  • In Document, replacing a text with a table no longer creates an empty paragraph.
  • In Document, the GetPageCount method no longer closes the package after getting the page count.
  • In Document, inserting a paragraph at a specific index or cloning a paragraph no longer throws an out of bound exception.
  • In Document, inserting a document that contains headers and/or footers after another document no longer throws a packageRelationship Id exception.
  • In Header/Footer, it is now possible to use the InsertContent() method to add HTML/RTF content.
  • In PDF Conversion, the table of contents is now converted to PDF.
  • In PDF Conversion, an InFrontOfText picture or shape now gets drawn in the header or footer when a document contains many different sections.
  • In PDF Conversion, converting the same image twice with one version being cropped now correctly sizes the converted cropped image.
  • In PDF Conversion, merging cells vertically now correctly converts the result to PDF.
  • In PDF Conversion, converting a document to PDF no longer throws a null ref exception when using a Table of content with empty links.
  • In PDF Conversion, using complex ListItems values in a list no longer throws an exception because the item is already present in the list.
  • In Table, inserting a row now inserts the same number of cells as in the preceding row.

v2.4.0 Plus Edition

Released to registered users of the Plus Edition on October 5, 2022.

32 bug fixes and improvements

  • In Container, Document and Paragraph, the old ReplaceText and ReplaceTextWithObject methods are now obsolete. Two new methods, with the same name but with only one parameter called replaceTextOptions, were created as a replacement.
  • In Document, calling a ReplaceText() method multiple times on a big Document is now faster.
  • In Document, loading a .docm document and using the Save() method will now save the document as a .docm document.
  • In Document, looping through Paragraphs and retrieving the next Paragraph when the current one is empty does no longer create an infinite loop.
  • In Document, inserting or removing Paragraphs, Tables or Lists no longer results in an ArgumentOutOfRangeException.
  • In Paragraph, two new properties, called StartIndex and EndIndex, are now available to find out where a Paragraph is located in the Document.
  • In Paragraph, the InsertPageCount and AppendPageCount methods now include a new parameter, called useSectionPageCount, that allows to count the pages in the Section or in the Document.
  • In Paragraph, the correct Paragraphs are now returned when the NextParagraph and PreviousParagraph properties are used in context of Headers or Footers.
  • In Paragraph, acting on a paragraph no longer removes the values in the NextParagraph and PreviousParagraph properties.
  • In Paragraph, calling the Spacing method or using a Formatting object that has a value in its Spacing property no longer raises an exception saying that the value must be between -1585 and 1585 when it actually is.
  • In Paragraph, setting the value of a SpacingAfter or SpacingBefore to 0 when the value is already 0 no longer results in a NullRefException.
  • In Table, Pictures are now displayed when a Table is inserted inside of a Header or Footer.
  • In Table, inserting or removing Rows or Columns now updates the paragraph count in the Document.
  • In Table, retrieving Pictures from a Table when the Table is located inside of a Header or Footer no longer raises an exception.
  • The size of the CheckBoxes will now stay the same if they are created in Xceed’s Words and then edited with Microsoft Word.
  • In Document, using the InsertContent() method for inserting HTML content now works with non-English characters.
  • In PDF Conversion, adjustments have been made to improve thread-safety.
  • In PDF Conversion, converting a Document that contains many Pictures, Shapes or Tables is now faster.
  • In PDF Conversion, Tables using a WrapStyle will now be converted to PDF.
  • In PDF Conversion, Pictures located inside of a Header or Footer are now displayed in the final PDF document.
  • In PDF Conversion, the resulting PDF now respects more closely the line spacing settings found in the original Document when specific line spacing values were used for Paragraphs.
  • In PDF Conversion, texts located inside of Tables are no longer cut during the conversion process.
  • In PDF Conversion, a Paragraph which contains Pictures but no text will no longer have an empty line after the Pictures.
  • In PDF Conversion, the height of Cells that are inside a Table no longer takes too much space when said Cells have padding.
  • In PDF Conversion, the keepLines tag now reads its value attribute to determine if the Paragraph’s lines must be kept together. Because of this, the final PDF documents are no longer missing pages.
  • In PDF Conversion, the content of a Table that has a single Row is no longer repeated on every page when that Table is split over multiple pages.
  • In PDF Conversion, the text displayed on the last pages is no longer cut when a Table is split on more than two pages.
  • In PDF Conversion, unnecessary spacing is no longer added during the conversion process when a Table has a Cell that contains a single Paragraph with a LineSpacingAfter value but no text.
  • In PDF Conversion, replacing text and converting a Document to PDF when Paragraphs containing Images are split on two pages no longer repeats the Paragraphs in the resulting PDF.
  • In PDF Conversion, a StackOverflow exception is no longer thrown when a big image is converted.
  • In PDF Conversion, Tables with a null TableLook no longer throw a NullRefException when they are converted to PDF.
  • In PDF Conversion, OutOfRange exceptions are no longer thrown when the Document that is converted contains no Section.

v2.5.0 Plus Edition

Released to registered users of the Plus Edition on April 3, 2023.

31 bug fixes and improvements

  • The "Arithmetic operation resulted in an overflow" exception is no longer thrown when inserting Pictures under Linux-like environments.
  • In Document, calling a ReplaceText method now offers the possibility to select if the replacement takes place in Headers, Footers, the body of the Document or in any combination of those Containers.
  • In Document, calling an ApplyTemplate method when its includeContent parameter is set to false no longer throws an exception of the InvalidOperationException type.
  • In Document, loading a Document containing a settings file that uses a different name than settings.xml no longer results in a corrupted file when saving.
  • In Document, 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.
  • In 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.
  • In 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.
  • In Paragraph, the value of the StartIndex and EndIndex properties are now calculated only when needed, thus allowing faster modifications of the Paragraph.
  • In Paragraph, 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.
  • In Table, the Table’s width is now correctly calculated when the value of AutoFit is set to Contents and/or Window.
  • In PDF Conversion, the conversion to PDF process is now improved for Documents containing multiple Tables.
  • In PDF Conversion, Tables are now drawn after the PageBreak when a Paragraph contain both elements.
  • In PDF Conversion, converting a Header or Footer bereft of content no longer triggers an exception of the InvalidOperationException type.
  • In PDF Conversion, borders located at the right and at the bottom of Tables are now correctly drawn during the conversion process.
  • In PDF Conversion, a Paragraph with a RightToLeft TextDirection will now have a valid alignment in the final PDF.
  • In PDF Conversion, Unicode characters (like "ỗ", for example) are now converted correctly to PDF.
  • In PDF Conversion, 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.
  • In PDF Conversion, shapes without a z-index no longer create an Input string was not in a correct format exception.
  • In PDF Conversion, pages will no longer be missing in the final PDF document when the isParagraphKeepingLinesTogether property is set to true.
  • In PDF Conversion, CheckBoxes are now converted and shown correctly in the PDF.
  • In PDF Conversion, 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.
  • In PDF Conversion, the Rows will no longer overlap when a Table is displayed on multiple pages.
  • In PDF Conversion, 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.
  • In PDF Conversion, images that are rotated by 90 degrees will now have a valid scaling value in the final PDF.
  • In PDF Conversion, adjacent Tables will no longer overlap in the final PDF.
  • In PDF Conversion, the text contained within the Cells of a Table will now keep its Alignment value when converted to PDF.
  • In PDF Conversion, 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.
  • In PDF Conversion, the conversion no longer falls in an infinite loop when a page contains wrapped Tables/Pictures along with section breaks.
  • In PDF Conversion, texts are no longer duplicated in the final PDF when the ooxml structure contains the following pattern: text - run - text.

v3.0.0 Plus Edition

Released to registered users of the Plus Edition on October 23, 2023.

21 bug fixes and improvements

  • In Document, merging multiple Documents that contain more than one style no longer results in a corrupted Document.
  • In Document, merging 2 different Documents containing Charts that are using external data no longer results in a corrupted Document.
  • In Document, appending multiple Documents to an existing Document will now correctly display the images that can be found in more than one of those Documents.
  • In Document, setting the AutoFit property to Window on a Table with merged Cells will now stretch the Table so that it matches the window’s width.
  • In Document, calling document.InsertDocument() to insert a Document where text was previously replaced in a Header or Footer will now keep said text modifications in the final Document.
  • In Document, the InsertListAfterSelf and InsertListBeforeSelf methods no longer mix the Paragraphs’ indexes.
  • In Document, bulleted lists are no longer converted to numbered lists when the AddCoreProperty method is used.
  • In Document, all the items and subitems contained within a List will now be displayed correctly once said List is updated.
  • In Document, empty paragraphs will now be removed once a text replacement task is completed in situations where the ReplaceText method is used and the RemoveEmptyParagraph property is set to true.
  • In Document, replacing texts in a Document where the Headers or Footers are set to null no longer throws a NullReffException.
  • In Document, an exception no longer occurs when the AutoFit property is set to Contents on a Table with merged Cells.
  • In Document, an ArgumentOutOfRangeException no longer occurs when an element is inserted into a Document at a specific index.
  • In Paragraph, calling GetBookmarks() no longer throws a NullRefException when no bookmarkStart tag is found in the Document.
  • Removing a Paragraph at a specific index no longer throws an OutOfBoundException.
  • Supported content that was inserted from an HTML file or HTML string will now appear correctly once a Document is converted into PDF.
  • In PDF Conversion, using both horizontal & vertical merged Cells in the same Document no longer offsets the content of those Cells in the converted PDF document.
  • In PDF Conversion, converting CheckBoxes no longer repeats texts.
  • In PDF Conversion, Tabs are now read before the CheckBoxes are converted.
  • In PDF Conversion, setting a negative Spacing value before or after a Paragraph no longer reduces line spacing.
  • In PDF Conversion, when working with a Table, any Row that has the tag tblHeader with its value set to 0 is no longer seen as a Header Row. Instead, this kind of Row will now be flagged as a normal Row during the PDF Conversion, which will prevent a StackOverflow exception when that Table needs to be split on multiple pages.
  • In PDF Conversion, converting a Table no longer raises an InputString was not in correct Format exception when the application has a non-English setting.