News & Releases
|
|

Spire.Office 5.4.2 is released
We're pleased to announce the release of Spire.Office 5.4.2. This version includes dlls that can support MonoAndroid and Xamarin.iOS platforms and some new features, such as Spire.XLS supports showing and not showing subtotals of PivotTable, Spire.Presentation supports Right-to-left columns and drawing line segments by the position of two points, Spire.Spreadsheet supports to custom sort. Moreover, some issues that occurred when printing PDF, converting PDF to XPS, Word to PDF, Excel to Image/PDF, PPT to PDF and calculating formula value are fixed successfully. See the content below for more details.
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 v8.4.7
- Spire.Pdf.dll v6.4.11
- Spire.XLS.dll v10.4.9
- Spire.Email.dll v3.3.0
- Spire.DocViewer.Forms.dll v5.1.1
- Spire.PdfViewer.Forms.dll v5.1.4
- Spire.PdfViewer.Asp.dll v5.1.4
- Spire.Presentation.dll v5.4.2
- Spire.Spreadsheet v4.3.3
- Spire.OfficeViewer.Forms.dll v5.4.2
- Spire.Barcode.dll v4.4.0
- Spire.DataExport.dll v4.1.9
- Spire.DataExport.ResourceMgr.dll v2.1.0
- Spire.Common.dll v10.4.9
- Spire.License.dll v1.3.8
Here is a list of changes made in this release
| Category | Description |
| New Feature | Supporting MonoAndroid and Xamarin.iOS platforms. |
Spire.PDF
| Category | ID | Description |
| Bug | SPIREPDF-3109 | Fixes the issue that the application threw an error "The start index is greater than the end index" when merging pdf documents. |
| Bug | SPIREPF-3130 | Fixes the issue that it failed to update the document properties. |
| Bug | SPIREPDF-3131 | Fixes the issue that the destinations of TOC were not retrieved correctly. |
| Bug | SPIREPDF-2895 | Fixes the issue that the application threw ArgumentException when replacing text. |
| Bug | SPIREPDF-3009 SPIREPDF-3129 |
Fixes the issue that the stamp covered the text when printing PDF. |
| Bug | SPIREPDF-3111 | Fixes the issue that it failed to re-encrypt PDF using different key size. |
| Bug | SPIREPDF-3128 | Fixes the issue that the text position was incorrect when printing PDF. |
| Bug | SPIREPDF-3150 | Fixes the issue that the spaces between words were missing when printing PDF. |
| Bug | SPIREPDF-3154 | Fixes the issue that the application threw NullReferenceException when converting PDF to XPS. |
Spire.Doc
| Category | ID | Description |
| Bug | SPIREDOC-4101 | Fixes the issue that the formulas were inconsistent when converting the documents contain MathType formulas between doc and docx formats. |
| Bug | SPIREDOC-4206 | Fixes the issue that the application threw an exception when loading a doc file. |
| Bug | SPIREDOC-4207 | Fixes the issue that the content was incorrect when converting Word to PDF. |
Spire.XLS
| Category | ID | Description |
| New Feature | SPIREXLS-2057 | Supports showing or not showing subtotals of PivotTable.
pt.ShowSubtotals = true; pt.ShowSubtotals = false; |
| Bug | SPIREXLS-1810 | Fixes the issue that the DisplayedText returned the incorrect date format. |
| Bug | SPIREXLS-2006 | Fixes the issue that after converting .xls to .xlsm, the generated .xlsm prompted an error when opening it. |
| Bug | SPIREXLS-2018 | Fixes the issue that it failed to set chart title and the font of chart axis. |
| Bug | SPIREXLS-2044 | Fixes the issue that the application threw an exception when loading Excel on .NET Core 2.2 platform. |
| Bug | SPIREXLS-2051 | Fixes the issue that it caused incorrect content format after converting Excel to image. |
| Bug | SPIREXLS-2120 | Fixes the issue that after converting a sheet which contains a chart (whose data is from a pivot table) to PDF, the data of chart was incorrect. |
| Bug | SPIREXLS-2147 | Fixes the issue that the markerdesigner couldn't copy the correct style. |
| Bug | SPIREXLS-2164 | Fixes the issue that the application threw the exception "InvalidOperationException" when loading an Excel. |
| Bug | SPIREXLS-2187 | Fixes the issue that the formula value could not be calculated correctly. |
| Bug | SPIREXLS-2201 | Fixes the issue that the application threw the "NullReferenceException" when loading an Excel. |
| Bug | SPIREXLS-2203 | Fixes the issue that after merging Excel files, the generated file prompted an error when opening it. |
| Bug | SPIREXLS-2214 | Fixes the issue that after adding filter, the generated file prompted an error when opening it. |
| Bug | SPIREXLS-2224 SPIREXLS-2232 |
Fixes the issue that it caused incorrect content format after converting Excel to PDF. |
| Bug | SPIREXLS-2230 | Fixes the issue that the application threw the "NullReferenceException" when inserting a new row in a copied sheet. |
| Bug | SPIREXLS-2240 | Fixes the issue that it caused incorrect date format after converting Excel to XML. |
| Bug | SPIREXLS-2241 | Fixes the issue that after creating a pivot table, the generated file prompted an error when opening it. |
Spire.Presentation
| Category | ID | Description |
| New Feature | SPIREPPT-1105 | Supports Right-to-left columns.
IAutoShape shape = ppt1.Slides[0].Shapes[0] as IAutoShape; shape.TextFrame.RightToLeftColumns = true; |
| New Feature | SPIREPPT-1106 | Supports drawing line segments by the position of two points.
ppt.Slides[0].Shapes.AppendShape(ShapeType.Line, new PointF(10, 10), new PointF(20, 30)); |
| Bug | SPIREPPT-1108 | Fixes the issue that it failed to open output document when converting PPT to PDF. |
Spire.OfficeViewer
| Category | ID | Description |
| Bug | SPIREOFFICEVIEWER-20 | Fixes the issue that setting the SmallChange property of scroll bar didn't take effect. |
Spire.Spreadsheet
| Category | ID | Description |
| New Feature | SPREADSHEET-158 | Supports custom sorting.
var range = spreadsheet.Worksheets[0].GetSelectedRange();
//Start from 0, 1 means the second column in the range
int sortIndexs = new int[]{1,};
var sortOrders = new Forms.SortOrder[]{ Forms.SortOrder.Descending };
range.Sort(sortIndexs, sortOrders, SortOrientation.Vertical, false);
|
| Bug | SPREADSHEET-156 | Fixes the issue that the application threw exception when loading an excel file. |
| Bug | SPREADSHEET-157 | Fixes the issue that the events of KeyDown and PreviewKeyDown didn't take effect. |