Spire.Office 8.9.3 is released

2023-09-28 08:06:20

We are delighted to announce the release of Spire.Office 8.9.3. In this version, Spire.Presentation 8.9.4 supports setting the time for automatic slide switching as well as setting and reading the transparency and brightness of gradient stop styles; Spire.PDF 9.9.9 enhances the conversion from PDF to images and OFD to PDF; Spire.Doc 11.9.19 enhances the conversion from Word and HTML to PDF. Besides, a lot of known issues are fixed successfully in this version. More details are listed 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 v11.9.19
  • Spire.Pdf.dll v9.9.9
  • Spire.XLS.dll v13.9.1
  • Spire.Presentation.dll v8.9.4
  • Spire.Email.dll v6.8.0
  • Spire.DocViewer.Forms.dll v8.7.0
  • Spire.PdfViewer.Forms.dll v7.12.0
  • Spire.PdfViewer.Asp.dll v7.12.0
  • Spire.Spreadsheet.dll v7.4.2
  • Spire.OfficeViewer.Forms.dll v8.9.3
  • Spire.Barcode.dll v7.2.1
  • Spire.DataExport.dll v4.9.0
  • Spire.DataExport.ResourceMgr.dll v2.1.0
Click the link to get the version Spire.Office 8.9.3:
More information of Spire.Office new release or hotfix:

Here is a list of changes made in this release

Spire.Presentation

Category ID Description
New feature SPIREPPT-2351 Supports setting the time for automatic slide switching.
Presentation ppt = new Presentation();
ppt.LoadFromFile("input.pptx");
ppt.Slides[0].SlideShowTransition.AdvanceAfterTime = 1000;
ppt.Slides[1].SlideShowTransition.SelectedAdvanceAfterTime = false;
ppt.SaveToFile("output.pptx", FileFormat.Pptx2013);
ppt.Dispose();
New feature SPIREPPT-2353 Optimizes the names of all options under Radial Gradient Style type, marking the original options as deprecated and adding the same options as in MS PowerPoint tools.
Previous options:
FromCorner1
FromCorner2
FromCorner3
FromCorner4
New options:
FromTopLeftCorner
FromBottomLeftCorner
FromTopRightCorner
FromBottomRightCorner
New feature SPIREPPT-2354 Supports setting and reading the transparency and brightness of the gradient stop styles.
Presentation ppt = new Presentation();
ppt.LoadFromFile("input.pptx");
StringBuilder stringBuilder = new StringBuilder();
IAutoShape shape = (ppt.Slides[0].Shapes[0] as GroupShape).Shapes[2] as IAutoShape;
GradientStopCollection stops = shape.Fill.Gradient.GradientStops;
for (int i = 0; i < stops.Count; i++)
{
    float transparency = stops[i].Color.Transparency;
    float brightness = stops[i].Color.Brightness;
    stringBuilder.AppendLine("stops" + i + "transparency: " + transparency + " brightness: " + brightness);
}
File.WriteAllText("output.txt", stringBuilder.ToString());

stops[0].Color.Transparency = 0.5f;
stops[0].Color.Brightness = -0.32f;
ppt.SaveToFile("output.pptx", FileFormat.Auto);
ppt.Dispose();
Bug SPIREPPT-2322 Fixes the issue that the collection of corner coordinates of polygons obtained was incomplete.
Bug SPIREPPT-2323 Fixes the issue that the text direction changed after saving slides to images.
Bug SPIREPPT-2334 Fix the issue that it failed to retrieve connection point coordinates for line connector shapes.

Spire.PDF

Category ID Description
Bug SPIREPDF-6130 Fixes the issue that the program threw "System.StackOverflowException" when converting PDF to images.
Bug SPIREPDF-6219 Fixes the issue that the program threw "System.ArgumentOutOfRangeException" when drawing HTML content.
Bug SPIREPDF-6229 Fixes the issue that the size of split document was incorrect.
Bug SPIREPDF-6245 Fixes the issue that the XFA checkbox form fields couldn't be filled.
Bug SPIREPDF-6254 Fixes the issue that the program threw "System.FormatException" when converting OFD to PDF.
Bug SPIREPDF-6259 Fixes the issue that a part of content lost when printing PDF files.
Bug SPIREPDF-6272 Fixes the issue that the FontSizeAuto property for textbox form fields was incorrect.

Spire.Doc

Category ID Description
Bug SPIREDOC-9455 Fixes the issue that the content was incorrect after adding a footer copied from another document to a document and then converting it to a PDF document.
Bug SPIREDOC-9466 Fixes the issue that extra shapes appeared after loading a document and saving it as a new document.
Bug SPIREDOC-9699 Fixes the issue that the font of a document changed after updating the fields in the document and converting it to PDF.
Bug SPIREDOC-9743 Fixes the issue that extra pictures appeared after loading a document and saving it as a new document.
Bug SPIREDOC-9767 Fixes the issue that recognizing the Latex formula code "therefore" failed.
Bug SPIREDOC-9800 Fixes the issue that the program threw System.StackOverflowException when loading a document.
Bug SPIREDOC-9833 Fixes the issue that the content was garbled after converting Doc documents to PDF documents.
Bug SPIREDOC-9834 Fixes the issue that the program threw System.NullReferenceException when converting Docx documents to PDF documents.
Bug SPIREDOC-9836 Fixes the issue that the program threw System.NullReferenceException when replacing text.
Bug SPIREDOC-9852 Fixes the issue that extra pictures appeared after replacing text and saving the document to PDF.
Bug SPIREDOC-9861 Fixes the issue that the program failed to recognize the "<" MathML format in HTML content.
Bug SPIREDOC-9869 Fixes the issue that pictures were lost after converting an HTML document to a PDF document.
Bug SPIREDOC-9878 Fixes the issue that the symbols were rotated after converting Docx documents to PDF documents.