New hotfix version for Spire.Office 2.15.4

Spire.Office

With the effort of our development team, today we have released the latest version for Spire.Office Platinum version 2.15.4. In this version, the recent releases of Spire.Doc, Spire.PDF, Spire.XLS, Spire.DocViewer, Spire.PDFViewer, Spire.Presentation, Spire.DataExport, Spire.Barcode, Spire.Spreadsheet and Spire.OfficeViewer.

Versions:

  • Spire.Barcode.dll 1.2.10
  • Spire.DataExport.dll 3.5.133
  • Spire.Doc.dll 5.8.51
  • Spire.DocViewer.Forms.dll 2.3.10
  • Spire.Pdf.dll 3.8.169
  • Spire.PdfViewer.Forms.dll 2.11.18
  • Spire.Presentation.dll 2.7.36
  • Spire.XLS.dll 7.11.53
  • Spire.Spreadsheet.dll 2.2.8
  • Spire.OfficeViewer.Forms.dll 2.15.4

Get the most recent version of Spire.Office v2.15.4 here:

www.e-iceblue.com/Download/download-office-for-net-now.html


Details of New features and Bug solutions:

Spire.Doc

New features:

  • Support to keep same format when replacing content in bookmark using TextBodyPart.
  • Add an event to handle the ASK field.

Bug solutions:

  • Fixes the issue that caused the exception that the magic number in GZip header is not correct when converting word to PDF.
  • Fixes the issue where the content got disorder after adding the watermark.
  • Fixes the issue that the content displayed incorrectly when converting word to PDF and word to image.
  • Fixes the issue that caused the SDT content lost when converting word to text.
  • Fixes the issue where the paragraph format lost when replacing bookmark content.
  • Fixes the issue that caused "System.FormatException" when loading a word document.
  • Fixes the issue that caused wrong format when printing the word document.
  • Fixes the issue that caused incorrect contents when updating contents.
  • Fixes the issue that caused content wrong when converting .docx file to .doc file.
  • Resolves the issue that caused wrong text alignment when converting HTML to Word.
  • Fixes the issue that caused wrong header when merging files.
  • Fixes the issue that caused the result file cannot open after save.
  • Fixes the issue that caused ArgumentOutOfRange when saving the word document.
  • Fixes the issue where the property CustomDocumentProperties gets wrong value.
  • Fixes the issue that caused exception when inserting OLE which type is Link.

Spire.PDF

New Features:

  • Supports to get all certificates in the current signature.
  • Support to link to a destination in attachment("GoToE" action).
  • Support to create cloud markup.
  • Support to draw content with spot color.

Bug Solutions:

  • Fixes the issue that caused Form missing when converting PDF to image.
  • Fixes the issue that caused characters missing when printing the PDF file.
  • Fixes the issue that caused XmlException when accessing PdfDocument.Conformance.
  • Fixes the issue where the Arabic text rendered incorrectly when converting XPS to pdf.
  • Fixes the issue that caused blank image when converting PDF to image.
  • Fixes the issue that caused black bar while using the Windows 10 Reader app for opening the generated XPS file when converting pdf to xps.
  • Fixes the issue where the half-width character lost when print.
  • Fixes the issue that caused wrong content when print PDF.
  • Fixes the issue that caused IndexOutOfRangeException when converting PDF to image.
  • Fixes the issue that caused incorrect bookmark when use Pdfdoc.InsertPage method.
  • Fixes the issue that caused content lost when loading file.
  • Fixes the issue that caused the layer blending wrong when converting PDF to image.
  • Fixes the issue that caused some text is unable to be found.
  • Fixes the issue that caused "unknown segment in GBIG2 stream" exception when convert PDF to image.
  • Fixes the issue that caused NullReferenceException when get PdfFormWidget.
  • Fixes the issue that caused blank image when converting PDF to image.
  • Fixes the issue that badly formed dictionary next should be a name before 809.
  • Fixes the issue that caused the image lost when printing the PDF document.
  • Resolves the issue where creationDate and modificationDate about attachment in PDF were get incorrectly.
  • Fixes the issue where the watermark didn't work when loading XPS and adding a watermark to each page and then save it as a Pdf.

Spire.XLS

New Features:

  • Add AddAllowEditRange method to allow user to edit the specified range while protect sheet.
  • Add CustomDocumentProperties property for workbook object to get the custom properties.

Bug Solutions:

  • Fixes the issue that caused the content lost when saving chart to image.
  • Resolves the issue that caused the "Cannot find Formula token with code: 255" exception when getting formula.
  • Fixes the issue that caused the formula text incorrect when saving .xlsx to PDF.
  • Fixes the issue that caused the checkmark text lost when saving Excel to PDF.
  • Resolves the issue where the spaces in the checkmark caption text was deleted when saving Excel to PDF.
  • Fixes the issue that caused the some texts were clipped when saving Excel to PDF.
  • Fixes the issue that cause table lost when saving Excel to PDF.
  • Fixes the issue where MSOffice07 can't open the generated document when adding a textbox to the worksheet.
  • Fixes the issue that caused excel file huge until OutOfMemory exception when adding image to sheet.
  • Resolves the issue where the checkbox ID and name can't be get.
  • Fixes the issue that caused "Requested value 'picture' was not found." error while loading.
  • Fixes the issue that caused the exception error on the CopyFrom method.
  • Fixes the issue that caused extra blank page when converting Excel to PDF.
  • Fixes the issue that caused wrong format when converting Excel to PDF.
  • Fixes the issue that caused wrong format of table when inserting a row into table.
  • Fixes the issue that caused process hanging when loading the Excel file.
  • Fixes the issue that caused ArgumentOutOfRnageException when loading the Excel file.

Spire.Presentation

New Features:

  • Add new feature to get the shape includes the animation.
  • Add new feature to get object sound effect.

Bug Solutions:

  • Fixes the issue that caused the text direction and rotated shape incorrect when converting presentation slides to image.
  • Improve the effects on chart rendering when converting presentation slides to image.
  • Fixes the issue where the markers on line chart lost when converting presentation slides to PDF.
  • Fixes the issue that caused the content lost when converting presentation slides to PDF and Image.
  • Resolves the issue that getting the alignment of paragraph was incorrect.

Spire.OfficeViewer

Public save method.

//
// Summary:
//     Saves the document to file. Only support to save file in pdf or xps format.
//
// Parameters:
//   fileName:
//     Name of the file
public void SaveToFile(string fileName);
//
// Summary:
//     Saves the document to stream. Only support to save stream in pdf or xps format.
//
// Parameters:
//   stream:
//     The stream
//
//   type:
//     The fite type
public void SaveToStream(Stream stream, FileType type);

Spire.PDFViewer

Bug solutions:

  • Fixes the issue that caused content disordered when display the PDF file.
  • Fixes the issue that caused black section and the barcode showed incorrectly when display the PDF file.