Spire.Office 9.6.0 is released

2024-06-27 06:55:58

We're pleased to announce the release of Spire.Office 9.6.0. This version adds many new features, for example, Spire.Doc supports AI features and saving the XML of the document's default font replacement rules; Spire.XLS supports converting Excel to Markdown format, Spire.PDF supports converting PDF to Markdown format. Meanwhile, a series of issues occurred when converting, manipulating and printing Word, Excel and PDF files have been successfully fixed. More details are given below.

In this version, the most recent versions 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 Versions:

  • Spire.Doc.dll v12.6.10.0
  • Spire.Pdf.dll v10.6.25.0
  • Spire.XLS.dll v14.6.6.0
  • Spire.Presentation.dll v9.5.3.0
  • Spire.Barcode.dll v7.2.9.0
  • Spire.Email.dll v6.5.10.0
  • Spire.DocViewer.Forms.dll v8.7.10.0
  • Spire.PdfViewer.Asp.dll v7.12.14.0
  • Spire.PdfViewer.Forms.dll v7.12.14.0
  • Spire.Spreadsheet v7.4.6.0
  • Spire.OfficeViewer.Forms.dll v8.7.12.0
  • Spire.DataExport.dll v4.9.0.0
  • Spire.DataExport.ResourceMgr.dll v2.1.0
Click the link to get the version Spire.Office 9.6.0:
More information of Spire.Office new release or hotfix:

Here is a list of changes made in this release

Spire.Doc

Category ID Description
New feature - Adds the Document.SaveFontFallbackRuleSettings() method to save the XML of the document's default font replacement rules.
Document document = new Document();
document.LoadFromFile(inputFile);
document.SaveFontFallbackRuleSettings("FontReplacementRuleSettings.xml");
New feature - Adds the Document.LoadFontFallbackRuleSettings() method to load custom font replacement rules in XML format for conversion.
Document document = new Document();
document.LoadFromFile(inputFile);
document.LoadFontFallbackRuleSettings(“CustomFontReplacementRuleSettings.xml”);
document.SaveToFile(outputFile, FileFormat.PDF);
New feature - Supports AI features: document generation, document polishing, document translation, abstract generation, summary creation, spelling check, object recognition, article continuation, as well as questions and answers.
Bug SPIREDOC-10196 Fixes the issue that the layout was incorrect when printing Word documents.
Bug SPIREDOC-10211 Fixes the issue that the fonts were incorrect after converting Word to HTML.
Bug SPIREDOC-10221 Fixes the issue that the contents were incorrect after converting Word to OFD.
Bug SPIREDOC-10353 Fixes the issue that the program threw a "System.NullReferenceException" when loading a Word document.
Bug SPIREDOC-10515 Fixes the issue that the program threw a "System.NullReferenceException" when converting a Word document to PDF.
Bug SPIREDOC-10425 Fixes the issue that the program threw "System.ArgumentNullException" error when converting Word documents to PDF.
Bug SPIREDOC-10544 Fixes the issue that the images were not displayed after converting HTML to Word.
Bug SPIREDOC-10554 Fixes the issue that images and hyperlinks were incorrect after converting Markdown to Docx.
Bug SPIREDOC-10587 Fixes the issue that the program threw "Unknown boolex value" error when converting Word to PDF.

Spire.XLS

Category ID Description
New feature - Supports converting Excel to Markdown format.
Workbook workbook = new Workbook();
workbook.LoadFromFile("input.xlsx");
workbook.SaveToFile("output.md",FileFormat.Markdown);
Bug SPIREXLS-5191 Fixes the issue that the application threw "ArgumentOutOfRangeException" when setting "horizontal" and "vertical" type borders.
Bug SPIREXLS-5243 Fixes the issue that the effect was incorrect when calling "Worksheet.Activate()" method.
Bug SPIREXLS-5262 Fixes the issue that the text content layout was incorrect when converting Excel to image.
Bug SPIREXLS-5265 Fixes the issue that the comment order in Excel was incorrect after sorting.
Bug SPIREXLS-5269 Fixes the issue that the font effect was incorrect when converting Excel to Html.
Bug SPIREXLS-5272 Fixes the issue that an error prompt appeared when opening the result document after adding a filter to an Excel PivotTable.
Bug SPIREXLS-5273 Fixes the issue that the cell color was lost when converting Excel to Html.
Bug SPIREXLS-5283 Fixes the issue that the cell icons were lost when converting Excel to Html.
Bug SPIREXLS-5217 Fixed the issue that the "Worksheet.SetLastRow()" method did not take effect.

Spire.PDF

Category ID Description
New feature - Supports converting PDF documents to Markdown files.
PdfDocument doc = new PdfDocument("input.pdf");
doc.SaveToFile("output.md", FileFormat.Markdown);
Bug SPIREPDF-6663 Fixes the issue that "System.ArgumentOutOfRangeException" was thrown when converting OFD to PDF.
Bug SPIREPDF-6678 Fixes the issue that lines were lost after converting PDF to Excel.
Bug SPIREPDF-6713 Fixes the issue that "System.NullReferenceException" was thrown when converting OFD to PDF.
Bug SPIREPDF-6719 Fixes the issue that the effect of font display was incorrect after converting OFD to PDF.
Bug SPIREPDF-6720 Fixes the issue that modifying the annotation text of PdfFreeTextAnnotation did not take effect.
Bug SPIREPDF-6739 Fixes the issue that "Schema namespace URI and prefix mismatch" was thrown when adding a watermark to a PDF file.
Bug SPIREPDF-6740 Fixes the issue that the result was incorrect when printing PDF files.
Bug SPIREPDF-6741 Fixes the issue that the text overlapped after converting PDF to images.
Bug SPIREPDF-6743 Fixes the issue that the pictures were not clear after converting OFD to PDF.
Bug SPIREPDF-6748 Fixes the issue that some contents were lost after drawing HTML contents on PDF.
Bug SPIREPDF-6770 Fixes the issue that the drawn text was lost after setting the transparency of PDF and then converting it to OFD.
Bug SPIREPDF-6771 Fixes the issue that "System.NullReferenceException" was thrown when the PdfDocument object was not released and called again.
Bug SPIREPDF-6721 Fixes the issue that the results of extracting images from PDF were incorrect.
Bug SPIREPDF-6775 Fixes the issue that the effect of setting "PdfButtonWidgetFieldWidget.SetButtonImage()" was incorrect.
Bug SPIREPDF-6791 Fixes the issue that the program suspended when using "IProgressNotifier".
Bug SPIREPDF-6793 Fixes the issue that characters were lost after converting XPS to PDF.
Bug SPIREPDF-6794 Fixes the issue that the signature verification was incorrect.
Bug SPIREPDF-6802 Fixes the issue that the effect of replacing PDF text content was incorrect.
Bug SPIREPDF-6803 Fixes the issue that the program threw a "System.NullReferenceException" when using PdfPageBase.CreateTemplate().
Bug SPIREPDF-6807 Fixes the issue that the program threw "System.NullReferenceException" when converting PDF to OFD.
Bug SPIREPDF-6808 Fixes the issue that stamps were lost after converting PDF to OFD.
Bug SPIREPDF-6816 Fixes the issue that the effect of PdfGrid.RepeatHeader settings was incorrect.
Bug SPIREPDF-6824 Fixes the issue that the program threw "System.StackOverflowException" when converting PDF to PDFA1A.