Spire.Office

Spire.Office 4.2.0 is released

We're pleased to announce that the Sprie.Office 4.2.0 is released today. This version adds some new features, like Spire.PDF supports converting PDF to PCL, Spire.Presentation adds a new method to convert specific slide to SVG and some interfaces are adjusted in Spire.XLS. Besides, a series of issues are fixed successfully, such as the issues that occurred when loading Word file and converting Word to PDF/image, printing PDF or converting PDF to image, converting Excel to CSV/image/PDF and converting HTML to PPT. See the content below for more details.

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 v7.2.6
  • Spire.Pdf.dll v5.2.12
  • Spire.XLS.dll v9.2.13
  • Spire.Email.dll v2.1.6
  • Spire.DocViewer.Forms.dll v4.1.8
  • Spire.PDFViewer.Forms.dll v4.2.6
  • Spire.PDFViewer.Asp.dll v4.2.6
  • Spire.Presentation.dll v4.2.3
  • Spire.Spreadsheet v3.1.9
  • Spire.OfficeViewer.Forms.dll v4.2.0
  • Spire.Barcode.dll v3.1.1
  • Spire.DataExport.dll v4.1.3
  • Spire.DataExport.ResourceMgr.dll v2.1.0
  • Spire.Common.dll v2.2.13
  • Spire.License.dll v1.3.7
Click the link to get the version Spire.Office 4.2.0:
More information of Spire.Office new release or hotfix:

Spire.Doc

Bug Fixes:

  • Fixes the issue that the table border was missing after converting Word to PDF.
  • Fixes the issue that the content was in bad format after merging Word documents.
  • Fixes the issue that the application threw an exception when loading Word file.
  • Fixes the issue that the result was null when getting the table title.
  • Fixes the issue that the LineWidth property did not make any sense when saving to .doc format.
  • Fixes the issue that the format was missing when using "table.AddRow(true)" to add a row.
  • Fixes the issue that the table was displaced after converting Word to image.
  • Fixes the issue that the application hung when loading HTML file.
  • Fixes the issue that the application threw an exception when loading and resaving a Word file.
  • Fixes the issue that the application threw an exception when loading an HTML file.

Spire.PDF

New Features:

  • Supports to convert PDF to PCL.
  • PdfDocument pdf = new PdfDocument(input);
    pdf.SaveToFile("output.pcl",FileFormat.PCL);
    

Bug Fixes:

  • Fixes the issue that the content position was offset after converting PDF to image.
  • Fixes the issue that when a signed document was loaded and saved or re-signed, “the annotation had been revised” appeared.
  • Fixes the issue that an exception "The format of input string is not correct" was caused when printing.
  • Fixes the issue that the caused an exception "NullReferenceException was unhandled" after setting StringFormat for grid cell.

Spire.XLS

New Features:

Some interfaces were adjusted:

  • Spire.Xls.Core.Converter.Exporting.EMF.ConverterSetting was adjusted to Spire.Xls..ConverterSetting
  • Spire.Xls.Core.Converter.Exporting.EMF.PrintingPageType was adjusted to Spire.Xls.PrintingPageType
  • Spire.Xls.Core.Converter.Exporting.EMF.PageColRow was adjusted to Spire.Xls.PageColRow
  • Spire.CompoundFile.XLS.XlsDocumentProperty was adjusted to Spire.Xls.XlsDocumentProperty
  • Spire.CompoundFile.XLS.PropertyType was adjusted to Spire.Xls.PropertyType
  • Spire.CompoundFile.XLS.Net.IPropertyData was adjusted to Spire.Xls.IPropertyData

Bug Fixes:

  • Fixes the issue that the application threw an exception when setting the font for a textbox.
  • Fixes the issue that the result was not correct for "MatchEntireCellContent" mode when finding exactly the same content.
  • Fixes the issue that the application threw an exception when unprotecting an Excel document.
  • Fixes the issue that the number format is incorrect after converting Excel to CSV.
  • Fixes the issue that the application threw an exception when loading an Excel document.
  • Fixes the issue that the application threw an exception when loading an XML file.
  • Fixes the issue that an error was prompted when opening the PDF converted from Excel in Adobe.
  • Fixes the issue that an error prompted when opening the generated .xlsm file converted from .xlsb in Excel.
  • Fixes the issue that the worksheet tab color changed after loading and resaving an Excel file.
  • Fixes the issue that the application threw an exception when loading an Excel file or saving the worksheet to image.
  • Fixes the issue that an error popped up when opening the converted PDF from an .xlsx file in Adobe Reader.
  • Fixes the issue that the font size was changed when converting an .xlsx file to PDF.
  • Fixes the issue that the application threw an exception when loading an .xlsx stream on the .net core platform.

Spire.Presentation

New Features:

  • Add a new method to convert specific slide to SVG.
  • byte[] svgByte = ppt.Slides[0].SaveToSVG();
    

Bug Fixes:

  • Fixes the issue that the correct data of 3-D Format of chart label could not be obtained.
  • Fixes the issue that the incorrect data was generated when setting the DataLabelSize for chart date label.
  • Fixes the issue that the number list type was incorrect after converting html to PPT.
  • Fixes the issue that setting the DataLabelSize for new added label but didn't take effect.

Spire.PDFViewer

Bug Fixes:

  • Fixes the issue that there were extra page borders in WPF.