New Release version for Spire.Office 2.16.23

Spire.Office

With the effort of our development team, today we have released the latest version for Spire.Office Platinum version 2.16.23. In this version, the recent releases of Spire.Doc, Spire.PDF, Spire.XLS, Spire.DocViewer, Spire.PDFViewer, Spire.Presentation, Spire.Email, Spire.DataExport, Spire.Barcode, Spire.Spreadsheet and Spire.OfficeViewer have been included.

Versions:

  • Spire.Barcode.dll 1.4.11
  • Spire.DataExport.dll 3.5.133
  • Spire.Doc.dll 6.0.58
  • Spire.DocViewer.Forms.dll 2.4.38
  • Spire.Email.dll 1.1.16
  • Spire.Pdf.dll 3.9.480
  • Spire.PdfViewer.Forms.dll 2.12.47
  • Spire.Presentation.dll 2.8.81
  • Spire.XLS.dll 7.12.120
  • Spire.Spreadsheet.dll 2.2.50
  • Spire.OfficeViewer.Forms.dll 2.16.23
Get the most recent version of Spire.Office v2.16.23 here:

Details of New features and Bug solutions:

Spire.Doc

New features:

  • Exposed the property Paragraph.Format.BeforeAutoSpacing.
  • Exposed the property Paragraph.Format.AfterAutoSpacing.

Bug solutions:

  • Fixed the issue that caused list number missing after cloning document.
  • Fixed the issue that caused NullReferenceException when applying the style for table.
  • Fixed the issue that caused wrong result after using table.AutoFit(AutoFitBehaviorType.AutoFitToWindow).
  • Fixed the issue that font cannot be embedded when using PS method to convert Word to PDF on Azure.
  • Fixed the issue that the quality of the image is not as good as original when saving to PDF.
  • Fixed the issue that caused ArgumentOutOfRangeException when using AppendHTML method.
  • Fixed the issue where form fields were overlaid when converting Word to PDF.
  • Fixed the issue that caused an extra chapter number when applying heading.
  • Fixed the issue that caused NullReferenceException when using the method LoadFromStream.
  • Fixed the issue that caused additional picture in INCLUDEPICTURE field after changing the size of picture.
  • Fixed the issue that the method GetText didn't get the text in shapes.
  • Fixed the issue that caused the exception "This is not a structured storage file" when using document.LoadFromStream(stream, FileFormat.Auto) to load a Html file.
  • Fixes the issue that caused the hyperlink on the image lost when using PS conversion method to convert Word to PDF.
  • Fixes the issue that caused "Cannot insert an object of type CustomXml into the Body" error when loading wordxml document.
  • Fixes the issue that the page number was not updated after updating the field.
  • Fixes the issue that caused the process hanging when converting Word to PDF.
  • Fixes the issue that caused ArgumentException when converting to image.
  • Fixes the issue that the picture was shifted after converting to PDF.
  • Fixes the issue that caused NullReferenceException when loading file.
  • Fixes the issue that the color of a TextRange cannot be changed.
  • Fixes the issue that caused NullReferenceException using SaveToStream method after cloning document.
  • Fixes the issue that caused the exception "An item with the same key has already been added." when merging files.
  • Fixes the issue that caused StackOverflowException when converting Word to PDF.
  • Fixes the issue that caused the error "string cannot be of zero length" when converting RTF to PDF.
  • Fixes the issue that caused the line lost when converting RTF to PDF.
  • Fixes the issue that caused the text alignment incorrect in merged rows.
  • Fixes the issue that Roman number III was transferred to Arabic number 3 while converting Word to TXT.
  • Resolves the issue where the hyperlink that is linked to bookmark failed to work in converted PDF.
  • Fixes the issue that caused the text overlapping when converting Word to PDF.
  • Fixes the issue that caused next pragraphs' ListFormat.CurrentListStyle null when cloning the paragragh that has no ListFormat.

Spire.PDF

New features:

  • Adds the PdfPrintSettings.SelectMultiPageLayout method to support printing multiple pages per sheet.
  • Adds feature to convert PDF to .docx format.
  • Adds the method Spire.Pdf.PdfDocument.Preview(PrintPreviewControl printPreviewControl)to support print preview.
  • Supports to convert PDF into Html stream.
  • Adds new method TryCompressImage to compress image in PDF for reducing the size of PDF.
  • Supports to convert PDF to SVG with custom height and width.

Bug solutions:

  • Fixes the issue that the text was flipped and cut off when converting PDF to image.
  • Fixes the issue that caused black background of image when printing.
  • Fixes the issue that caused wrong signature after multiple signatures.
  • Fixes the issue that the attachment cannot be added in PDF.
  • Fixes the issue that the data in the fields were missing when converting to image.
  • Fixes the issue that content cannot be printed in the center when using ActualSize and AutoPortraitOrLandscape.
  • Fixes the issue that caused NullReferenceException when converting PDF to XPS.
  • Fixes the issue that caused exception when loading XPS when system language is Russian.
  • Fixes the issue that caused messy code when extracting text.
  • Fixes the issue that content was cut off when printing.
  • Fixes the issue that the method VerifySignature returned wrong Boolean value.
  • Fixes the issue that the accents above some characters were printed at wrong position.
  • Fixes the issue that caused "Insufficient data for an image" error when repeatedly loading document to insert image and save it.
  • Fixed the issue that caused content garbled when converting to image.
  • Fixed the issue that caused content lost when converting to image.
  • Fixed the issue that caused SaveAsImage method threw KeyNotFoundException error.
  • Fixed the issue that caused FindText method threw FormatException error.
  • Fixed the issue where the text and image can't be drawn on layer.
  • Fixed the issue that caused the result incorrect when splitting document.
  • Fixes the issue where the print result was not centered at the page when using the ActualSize Property.
  • Fixes the issue that caused signature disappeared when flattening a digitally signed pdf document.
  • Optimizes the TryCompressImage method to make the document size less.
  • Optimizes XPS to PDF conversion.
  • Fixes the issue that caused the content overlapping when converting PDF to .doc.
  • Fixes the issue where the stamp that is created using our product can't be printed out manually.
  • Optimize PDF to image conversion time consumption.
  • Fixes the issue that caused content lost when converting PDF to Image.
  • Fixes the issue that caused InvalidCastException when converting PDF to Image.
  • Fixes the issue that caused OutOfMemoryException when extracting image in x86 platform.
  • Fixes the issue where gradient color was not printed correctly.

Adjustments:

  • Obsoletes the set property of PdfSecurity.Permissions and PdfSecurity.KeySize.
  • Obsoletes PdfSecurity.OwnerPassword, PdfSecurity.UserPassword property.
  • Obsoletes PdfSecurity.ResetPermissions and PdfSecurity.SetPermissions method, and use PdfSecurity.Encrypt method instead.
  • Obsoletes PdfDocument.PrintDocument.PrintController property. Use PdfDocument.PdfPrintSettings.PrintController property instead.
  • Obsoletes PdfDocument.PrintDocument.PrinterSettings.Duplex property. Use PdfDocument.PdfPrintSettings.Duplex property instead.
  • Obsoletes PdfDocument.PrintDocument.QueryPageSettings property. Use PdfDocument.PdfPrintSettings.QueryPageSettings property instead.
  • Obsoletes PdfDocument.PrintDocument.PrinterSettings.PaperSources and PdfDocument.PrintDocument.DefaultPageSettings.PaperSource property. Use PdfDocument.PrintSettings.PdfPaperSettings property instead.
  • Obsoletes the property Spire.Pdf.PdfDocument.PageScaling and Spire.Pdf.PdfDocument.CustomScaling. Use the method as below instead.

Spire.XLS

New features:

  • Supports to manipulate more conditional formatting in XlsConditionalFormat and ConditionalFormatWrapper.
  • Adds ConditionalFormatWrapper.StopIfTrue property to stop processing the current rule when the condition meets.

Bug solutions:

  • Fixes the issue where accounting Number Format didn't work correctly while saving Excel to PDF.
  • Fixes the issue that caused the invalid column index exception while saving Excel to PDF.
  • Resolves the issue where the comma that is not an actual field separator was considered as delimiter while saving Excel to CSV.
  • Fixes the issue that caused the back color of ConditionalsFormat incorrect.
  • Fixes the issue that caused the OverFlowException while loading an Excel file.
  • Fixes the issue that caused the "object reference not set to an instance of an object" error when saving the Excel using custom OTF font to pdf.
  • Fixes the issue that caused incorrect number format when the thread culture is not invariant culture.
  • Fixes the issue that caused the Accounting number format pushed the $ symbol outside the cell border when converting to PDF.
  • Fixes the issue that change the PrimaryCategoryAxis.CategoryType property didn't work when loading an existing chart.
  • Fixes the issue that caused the ConditionalFormatWrapper.Priority property didn't work.
  • Fixes the issue that caused the AutoFitColumn method didn't work when the cell contains date time.

Spire.PDFViewer

New features:

  • Add PdfDocumentViewer.SearchText(string searchText, Color highlightColor, bool ignoreCase) method to support the case sensitive option.

Adjustments:

  • Obsoletes the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).Print method, use the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).PrintDoc method instead.
  • Obsoletes the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).PrintDocument property, use the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).PdfPrintSettings property instead.

Spire.DocViewer

New features:

  • Adds VerticalScroll.Visible and HorizontalScroll.Visible properties to support hiding the viewer's scroll bar in WinForm application.

Bug solutions:

  • Fixes the issue that caused extra pages when displaying.

Spire.Barcode

New features:

  • Publishes the BarcodeSettings.DataMatrixSymbolShape property to support specifying the shape of DataMatrix when creating it.
  • Adds two properties for Aztec Code.