Spire.Office

Spire.Office 4.1 is released

We're glad to announce that Spire.Office 4.1 is released today. This version newly supports to convert PDF to PXL format file, supports to set the 3D effect for the text in a presentation slide, and adds a method overloading to update TOC fields in a Word document. Besides, this update also includes numerous bug fixes as well. More details are as follows.

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.

  • Spire.License.dll 1.3.7
  • Spire.Barcode.dll 3.1.0
  • Spire.Email.dll 2.1.1
  • Spire.Common.dll 2.1.9
  • Spire.DataExport.dll 4.1.0
  • Spire.DataExport.ResourceMgr.dll 2.1.0
  • Spire.Pdf.dll 5.1.17
  • Spire.Doc.dll 7.1.10
  • Spire.DocViewer.Forms.dll 4.1.3
  • Spire.PdfViewer.Forms.dll 4.1.6
  • Spire.PdfViewer.Asp.dll 4.1.6
  • Spire.Presentation.dll 4.1.8
  • Spire.XLS.dll 9.1.10
  • Spire.Spreadsheet.dll 3.1.3
  • Spire.OfficeViewer.Forms.dll 4.1.0
Click the link to get the Spire.Office version 4.1:

Spire.PDF

New Features:

  • Adds two overloaded methods for PDF encryption.
  • pdf.Security.Encrypt(string openPassword);
    pdf.Security.Encrypt(string permissionPassword, PdfPermissionsFlags permissions);
    
  • Supports to save to PXL format file.
  • doc.SaveToFile(string filename, FileFormat.PXL);
    

Bug Fixes:

  • Fixes the issue that caused incorrect text spacing when converting XPS to PDF.
  • Fixes the issue that caused incorrect formula when converting XPS to PDF.
  • Fixes the issue that setting the text alignment to center didn't take effect after adding multiple characters in different fonts by PdfGridCellContentList into one cell.
  • Fixes the issue that caused NullReferenceException when splitting Pdf file.
  • Fixes the issue that some data got removed after merging PDF documents.
  • Fixes the issue that the content was blank after converting PDF documents to images.
  • Fixes the issue that only the data for the first cell was correctly written after setting the alignment of the PDF grid content to "center".
  • Fixes the issue that the result was blank after printing a PDF document.
  • Fixes the issue that the official seal was missing after print PDF document or converting to images.
  • Fixes the issue that there was a "110 error" when opening the result file after filling the XFA field.
  • Fixes the issue that there was a "110 error" when opening the result file after setting the dropdown list items.
  • Fixes the issue that there was only one page after splitting a PDF document vertically.
  • Fixes the issue that the result was garbled after extracting text from a PDF document.
  • Fixes the issue that caused incorrect position of text after converting XPS to PDF.
  • Fixes the issue that the position of new text moved down after replacing text.
  • Fixes the issue that caused exception when loading PDF file.
  • Fixes the issue that caused ArgumentoutOfRangeException when extracting image information.
  • Fixes the issue that caused exception when extracting images from PDF.

Spire.Doc

New Features:

  • Add an overloaded method to update TOC field.
  • doc.UpdateTableOfContents(TableOfContent toc);
    

Bug Fixes:

  • Fixes the issue that the text was overlapped after converting Word to PDF.
  • Fixes the issue that the table layout was incorrect after converting HTML to PDF.
  • Fixes the issue that the application threw the exception "An item with the same key has been added" when loading a Word file.
  • Fixes the issue that the application threw the ArgumentOutOfRangeException when loading a HTML file.
  • Fixes the issue that the data was incorrect after executing mailmerge function.
  • Fixes the issue that caused incorrect content format after converting Word to PDF.
  • Fixes the issue that caused incorrect content after saving to .doc format.
  • Fixes the issue that caused incorrect line feeds and paging after converting Word to PDF.

Spire.PDFViewer

Bug Fixes:

  • Fixes the issue that modifying the ZoomMode attribute didn't take effect.
  • Fixes the issue that the invisible layer was displayed in the PDFViewer.
  • Fixes the issue that getting the destination of bookmark returned null.
  • Fixes the issues that caused incorrect orientation in thumbnail and incorrect page number.
  • Fixes the issues that caused incorrect alignment of page in PdfviewerThumbnail.
  • Fixes the issue that the some lines were missing when displaying the document in WPF version.

Spire.XLS

Bug Fixes:

  • Fixes the issue that font attribute of chart legend didn't work.
  • Fixes the issue that the application was hanging when converting an excel file to HTML.
  • Fixes the issue that the application threw an exception"The key is not found in the dictionary." when converting an excel file to pdf.
  • Fixes the issue that the application threw an exception"The value cannot be null." when converting loading an excel file.

Spire.Presentation

New Features:

  • Supports to get or set the 3-D format for text in the shape.
  • IAutoShape threeDShape = (IAutoShape)ppt.Slides[0].Shapes[0];
    threeDShape.TextFrame.TextThreeD.ShapeThreeD.PresetMaterial = PresetMaterialType.Powder;
    threeDShape.TextFrame.TextThreeD.LightRig.PresetType = PresetLightRigType.Balanced;
    threeDShape.TextFrame.TextThreeD.ShapeThreeD.TopBevel.PresetType = BevelPresetType.Divot;
    threeDShape.TextFrame.TextThreeD.ShapeThreeD.ContourColor.Color = Color.DarkGreen;
    threeDShape.TextFrame.TextThreeD.ShapeThreeD.ContourWidth = 2;
    

Bug Fixes:

  • Fixes the issue that the progress took too much time to convert a PPT file to image.
  • Fixes the issue that the result image was blank after converting PPT to image.
  • Fixes the issue that the value of DataLabelSize under ChartDataLabel object was always 0.
  • Fixes the issue that setting the value for DataLabelSize didn't work.
  • Fixes the issue that the content was missing after converting PPT to image.

Spire.SpreadSheet

Bug Fixes:

  • Fixes the issue that the RowHeaderClick event did not trigger when left clicking and then right clicking the row.