Spire.Office 5.2.0

Spire.Office 5.2.0 is released

We're pleased to announce the release of Spire.Office 5.2.0. This version includes some fantastic features, such as Spire.XLS supports formatting the data of the trend line, and Spire.PdfViewer supports catching the exception which was thrown by PDFViewer when rendering pages. Besides, some bugs that occurred when loading, converting and manipulating PDF, Word and Excel documents are fixed successfully. More details are listed in the following content.

In this version, the most recent version of Spire.Doc, Spire.PDF, Spire.XLS, Spire.Presentation, Spire.Email, Spire.DocViewer, Spire.PDFViewer, Spire.Spreadsheet, Spire.OfficeViewer, Spire.DataExport, Spire.Barcode are included.

Dll Version:

  • Spire.Doc.dll v8.2.4
  • Spire.Pdf.dll v6.2.1
  • Spire.XLS.dll v10.1.8
  • Spire.Email.dll v3.1.0
  • Spire.DocViewer.Forms.dll v5.1.1
  • Spire.PdfViewer.Forms.dll v5.1.4
  • Spire.PdfViewer.Asp.dll v5.1.4
  • Spire.Presentation.dll v5.1.3
  • Spire.Spreadsheet v4.1.0
  • Spire.OfficeViewer.Forms.dll v5.2.0
  • Spire.Barcode.dll v4.1.1
  • Spire.DataExport.dll v4.1.9
  • Spire.DataExport.ResourceMgr.dll v2.1.0
  • Spire.Common.dll v3.2.2
  • Spire.License.dll v1.3.8

Click the link to get the version Spire.Office 5.2.0:
More information of Spire.Office new release or hotfix:

Spire.PDF

Bug Fixes:

  • Fixes the issue that the application threw “OutOfMemoryException” when loading a PDF file.
  • Fixes the issue that the font was not automatically adjusted after filling a value to the Textbox which was set multi-line properties.
  • Fixes the issue that there was extra content after flattening a PDF file.
  • Fixes the issue that the merged result was blank after merging files.
  • Fixes the issue that the watermark and image were not added successfully in a file.
  • Fixes the issue that the fill color of textbox was not set as "No Color".
  • Fixes the issue that the method ApplyHighLight didn't work for a file.
  • Fixes the issue that the drawing text overlapped when adding string “\n” in PdfGridCellContentList.
  • Fixes the issue that the application threw NullReferenceException when converting PDF to image.
  • Fixes the issue that the generated barcode returned an extra character “D” at the end of actual data when scanning.

Spire.Doc

Bug Fixes:

  • Fixes the issue that the application threw an exception “An object reference is not set to an object instance” when cloning document.
  • Fixes the issue that table spans was incorrect when converting Word to PDF.
  • Fixes the issue that numbers were missing when converting Word to SVG.
  • Fixes the issue that the generated paragraph list number was incorrect.
  • Fixes the issue that the application threw an exception "The argument cannot be null or empty string." when saving document after adding a watermark.
  • Fixes the issue that the images lost when converting Word to PDF.
  • Fixes the issue that the content was incorrect when converting Word to PDF.
  • Fixes the issue that it failed to embed fonts when converting Word to PDF.
  • Fixes the issue that it failed to save document after removing section breaks.
  • Fixes the issue that the content is not properly formatted when converting Word to PDF.
  • Fixes the issue that table row became high when converting Html to PDF.
  • Fixes the issue that the application threw an exception "Object reference is not set to an instance of the object" when loading a document.
  • Fixes the issue that it failed to save documents after cloning ShapeGroup objects.
  • Fixes the issue that the total pages content was lost when converting Word to PDF.

Spire.XLS

New Features:

  • Support to format the data of the trend line.
  • trendLine.DataLabel.NumberFormat = "#, ## 0.000";
    

Bug Fixes:

  • Fixes the issue that adding a hyperlink to a cell failed.
  • Fixes the issue that the formula was missing when adding a trend line to a chart.
  • Fixes the issue that the application threw ArgumentOutOfRangeException when loading an xlsm document.
  • Fixes the issue that the content was incorrect when converting an xlsx document to PDF.
  • Fixes the issue that the text in generated xlsx document was wrapped.

Spire.PdfViewer

New Features:

  • Supports catching the exception which was thrown by PDFViewer when rendering pages.
  • this.pdfViewer1.OnRenderPageExceptionEvent += MyException;
    public void MyException(PdfViewerExceptions agrs)
    {
     this.pdfViewer1.OnRenderPageExceptionEvent -= MyException;
    }
    

Bug Fixes:

  • Fixes the issue that some content was missing when viewing a PDF file.