We’re pleased to announce the release of Spire.Office 11.6.1. In this version, Spire.Doc enhances the conversion from Word to PDF; Spire.PDF optimizes the parsing logic for converting PDF to fixed-layout Word; Spire.XLS adjusts the Worksheet.SaveToPdf method; Spire.Presentation supports exporting formulas as MathML and LaTeX. Moreover, a large number of known bugs have been successfully resolved. More details are as follows.
DLL Versions:
- Spire.Barocde.dll: 7.5.0
- Spire.Doc.dll: 14.6.13
- Spire.DocViewer.dll: 8.9.5
- Spire.Email.dll: 6.8.0
- Spire.OfficeViewer.dll: 8.8.1
- Spire.Pdf.dll: 12.6.9
- Spire.PdfViewer.dll: 8.3.0
- Spire.Presentation.dll: 11.6.11
- Spire.Spreadsheet.dll: 7.5.3
- Spire.XLS.dll: 16.6.3
Click the link to get the version Spire.Office 11.6.1:
More information of Spire.Office new release or hotfix:
Here is a list of changes made in this release
Spre.doc
| Category | ID | Description |
| Optimization | - | Optimized the revision functionality, resulting in improved outcomes when partially accepting revisions. |
| Bug Fix | SPIREDOC-11907 | Fixed an issue where the result was incorrect when converting Word to PDF after accepting revisions. |
Spre.XLS
| Category | ID | Description |
| Adjustment | - | Removed the FileFormat parameter from the Worksheet.SaveToPdf() method. |
| Bug Fix | SPIREXLS-6133 | Fixes the issue where an IndexOutOfRangeException was thrown when converting a chart to an image. |
| Bug Fix | SPIREXLS-6142 | Fixes the issue where the CalculateAllValue method returned incorrect formula calculation results. |
| Bug Fix | SPIREXLS-6144 | Fixes the issue where the CalculateAllValue method took too long to calculate formula values. |
| Bug Fix | SPIREXLS-6146 | Fixes the issue where a "Key cannot be null" exception was thrown when loading ODS files. |
Spire.Presentation
| Category | ID | Description |
| New Feature | SPIREPPT-3044 | Added support for configuring default fonts.
// Set default fonts
Presentation.SetDefaultLatinFontName("Arial");
Presentation.SetDefaultEastAsianFontName("Microsoft YaHei");
// Reset/restore the default font settings
Presentation.ResetDefaultEastAsianFontName();
Presentation.ResetDefaultLatinFontName();
|
| New Feature | - | Added support for exporting formulas as MathML and LaTeX code.
IAutoShape shapeFormula = slide.Shapes.AppendShape(ShapeType.Rectangle, new RectangleF(40, currentTop, shapeWidth, formulaHeight)); // Insert LaTeX formula TextParagraph formulaPara = shapeFormula.TextFrame.Paragraphs.AddParagraphFromLatexMathCode(latex); // Export as MathML string mathML = formulaPara.ExportMathML(); // Export as LaTeX string LaTex = formulaPara.ExportLaTex(); |
| Bug Fix | SPIREPPT-3117 | Fixed an issue where words were split when converting PowerPoint documents to SVG. |
| Bug Fix | SPIREPPT-3125 | Fixed an issue where chart data formats were incorrect when converting PowerPoint documents to PDF. |
| Bug Fix | SPIREPPT-3130 | Fixed an issue where the shape corresponding to a retrieved image in a PowerPoint document was incorrect. |
| Bug Fix | SPIREPPT-3131 | Fixed an issue where text shapes were offset when converting PowerPoint documents to PDF. |
| Bug Fix | SPIREPPT-3139 | Fixed an issue where images were missing when converting PowerPoint documents to PDF. |
Spire.PDF
Adjustment
| Old class namespace | New class namespace | Old property name | New property name |
|---|---|---|---|
| PdfLaunchAction | PdfLaunchAction | IsNewWindow | NewWindow |
| PdfActionDestination | PdfPredefinedAction | ||
| PdfEmbeddedGoToAction | PdfEmbeddedGoToAction | IsNewWindow | NewWindow |
| PdfResetAction | PdfResetFormAction | ||
| PdfSubmitAction | PdfSubmitFormAction | ||
| PdfUriAction | PdfURIAction | Uri | URI |
| PdfFieldActions | PdfFormFieldAdditionalActions | ||
| PdfAnnotationActions | PdfAnnotationAdditionalActions | MouseEnter | OnEnter |
| MouseLeave | OnExit | ||
| MouseDown | OnMouseDown | ||
| MouseUp | OnMouseUp | ||
| GotFocus | OnReceiveFocus | ||
| LostFocus | OnLostFocus | ||
| Calculate | / | ||
| Validate | / | ||
| KeyPressed | / | ||
| Format | / | ||
| PdfDocumentActions | PdfDocumentAdditionalActions | Calculate | OnCalculate |
| Validate | OnValidate | ||
| KeyPressed | OnModifyCharacter | ||
| Format | OnFormat | ||
| MouseEnter | OnEnter | ||
| MouseLeave | OnExit | ||
| MouseDown | OnMouseDown | ||
| MouseUp | OnMouseUp | ||
| GotFocus | OnReceiveFocus | ||
| LostFocus | OnLostFocus |
| Old class name (Spire.Pdf.General namespace) | New class name (Spire.Pdf.Destinations namespace) | Old property name | New property name |
|---|---|---|---|
| PdfDestination | PdfDestination, PdfExplicitDestination |
||
| PdfDestination (Mode=Location) |
PdfXYZExplicitDestination | Location | Left, Top |
| Rectangle | / | ||
| Mode | Type | ||
| PdfDestination (Mode=FitToPage) |
PdfFitExplicitDestination | Location | / |
| Rectangle | / | ||
| Zoom | / | ||
| Mode | Type | ||
| PdfDestination (Mode=FitH) |
PdfFitHExplicitDestination | Location | Top |
| Rectangle | / | ||
| Zoom | / | ||
| Mode | Type | ||
| PdfDestination (Mode=FitR) |
PdfFitRExplicitDestination | Location | / |
| Rectangle | Left,Bottom, Right, Top | ||
| Zoom | / | ||
| Mode | Type | ||
| PdfDestination (Mode=FitV) |
PdfFitVExplicitDestination | Location | Left |
| Rectangle | / | ||
| Zoom | / | ||
| Mode | Type | ||
| PdfFitBExplicitDestination | |||
| PdfFitBVExplicitDestination | / | Left |
| ID | Description |
| - | Adjusted the internal parsing logic for converting PDF to fixed-layout Word. Minor differences in conversion results may occur for some documents. |
Bug Fix
| ID | Description |
| SPIREPDF-8034 | Fixed the issue where the resulting document reported an error when converting XPS to PDF. |
| SPIREPDF-8047 | Fixed the issue where characters overlapped when converting XPS to PDF. |
| SPIREPDF-8057 | Fixed the issue where image backgrounds turned black when converting PDF to the PdfX1A2001 standard. |
| SPIREPDF-8074 | Fixed the issue where the program threw a "The index can not be less then zero or greater then Count" exception when merging PDF documents. |
| - | Fixed the issue where the generated DOCX document had an incorrect page size when using PdfToWordConverter. |
| SPIREPDF-8041 | Fixed the issue where generated structured PDF documents failed to pass PDF/UA (ISO 14289-1) standard validation. |
| SPIREPDF-8082 | Fixed the issue where the program became unresponsive when parsing individual corrupted documents. |
| SPIREPDF-8092 | Fixed the issue where inconsistent formatting occurred when converting PDF to HTML. |
| SPIREPDF-8094 | Fixed the issue where an "Invalid font metrics" exception was thrown when converting XPS to PDF. |
Spire.OCR
| Category | ID | Description |
| Bug Fix | SPIREOCR-137 | Fixed an issue where the OCR engine failed to preserve indentation and line spacing when recognizing images. |
Spire.PdfViewer
| Category | ID | Description |
| Bug Fix | SPIREPDFVIEWER-625 | Fixed issue with previewing PDF file throwing "ArgumentNullException" error. |