Spire.Office 9.9.0 for .NET FIX

Spire.Office for .NET is a combination of Enterprise-Level Office .NET API offered by E-iceblue. It includes Spire.Doc, Spire.XLS, Spire.Spreadsheet, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.OfficeViewer, Spire.PDFViewer, Spire.DocViewer, Spire.Barcode and Spire.Email. Spire.Office contains the most up-to-date versions of the above .NET API.

 

With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, PostScript, PCL, etc.

Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5. Spire.Office also supports to work on .NET Core, .NET 5.0, .NET 6.0, Microsoft Azure, Mono Android and Xamarin.iOS.

Spire.XLS

CategoryIDDescription
New featureSPIREXLS-5307Adds the 'OleObjectType.Msg' type to identify OLE objects in Msg format.
Workbook wb = new Workbook();
wb.LoadFromFile(inputFile);
Worksheet sheet =wb.Worksheets[0];
OleObjectType type;
if (sheet.HasOleObjects)
{
   for (int i = 0; i < sheet.OleObjects.Count; i++)
   {
      var Object = sheet.OleObjects[i];
      type = sheet.OleObjects[i].ObjectType;
      switch (type)
      {
         case OleObjectType.Msg:
            File.WriteAllBytes(outputFile_1, Object.OleData);
            break;     
         ......                   
      }
    }
}
New featureSPIREXLS-5359Adds the 'workbook.ProhibitDtd = true' property to disable DTD processing.
Workbook workbook = new Workbook();
workbook.ProhibitDtd = true; 
workbook.LoadFromFile(inputFile);
workbook.SaveToFile(outputFile, ExcelVersion.Version2013);
workbook.Dispose();
New featureSPIREXLS-5395Implements the support for the BAHTTEXT formula.
Workbook workbook = new Workbook();
workbook.Worksheets[0].Range["A3"].Value2 = 1234;
workbook.Worksheets[0].Range["C3"].Formula = "=BAHTTEXT(A3)";
workbook.Worksheets[0].Range["A9"].Value = "1234";
workbook.Worksheets[0].Range["C9"].Formula = "=BAHTTEXT(A9)";            
workbook.SaveToFile(outputFile, ExcelVersion.Version2013);
workbook.Dispose();
New featureSPIREXLS-5255Supports adding filters to row fields/column fields of pivot tables.
XlsPivotTable pt1 = workbook.Worksheets["PivotTable_1"].PivotTables[0] as XlsPivotTable;
pt1.RowFields[0].AddValueFilter(PivotValueFilterType.Between, pt1.DataFields[0], 100000, 1000000);
pt1.ColumnFields[0].AddValueFilter(PivotValueFilterType.Between, pt1.DataFields[0], 100000, 1000000);
pt1.CalculateData();
New featureSPIREXLS-5393Supports the issue that the TEXTBEFORE formula is now available.
workbook.Worksheets[0].Range["A1"].Formula = "=TEXTBEFORE(\"Red riding hood's, red hood\", \"hood\")";
New featureSPIREXLS-5394Supports the issue that the TEXTSPLIT formula is now available.
Supports the issue that the TEXTSPLIT formula is now available. 
workbook.Worksheets[0].Range["B2:D2"].FormulaArray = "=TEXTSPLIT(A2, \" \")";
New featureSPIREXLS-5397Supports the issue that the TEXTAFTER formula is now available.
workbook.Worksheets[0].Range["A3"].Formula = "=TEXTAFTER(\"Red riding hood’s, red hood\", \"\")";
BugSPIREXLS-5108Fixed the issue that the table borders were inconsistent in color after converting an Excel document to a picture.
BugSPIREXLS-5280Fix the issue that the content was incorrect after converting an Excel document to a CSV document.
BugSPIREXLS-5315Fix the issue that the order of setting different font styles for the contents of a cell affected the inconsistency of the results.
BugSPIREXLS-5321Fix the issue that icons were lost after converting an Excel document to an HTML document.
BugSPIREXLS-5332Fix the issue that the data in the pivot table was lost when converting an Excel document to a picture.
BugSPIREXLS-5346Fix the issue that the result of data summing using MarkerDesigner function was incorrect.
BugSPIREXLS-5360Fixed the issue that the program threw System.OutOfMemoryException when converting charts to pictures.
BugSPIREXLS-5361Fixed the issue that the formatting was changed after saving as an XLSX document.
BugSPIREXLS-5363Fixed the issue that the spacing between words became larger after converting an Excel document to a PDF document.
BugSPIREXLS-5400Fix the issue that the text line breaks were incorrect after converting an Excel document to a PDF document.
BugSPIREXLS-5355Fixes the issue that the content is incorrect when converting Excel documents to images.
BugSPIREXLS-5467Fixes the issue that an exception "System.InvalidCastException" is thrown when copying worksheets containing charts.
BugSPIREXLS-5468Fixes the issue that there is a discrepancy in data after the decimal point when converting Excel documents to PDF.

Spire.PDF

CategoryIDDescription
BugSPIREPDF-4562
SPIREPDF-5019
Improves the speed of printing PDF documents.
BugSPIREPDF-4445Fixes the issue that content is blank when converting PDF documents to images.
BugSPIREPDF-6938Fixes the issue that the program throws a System.FormatException: "Header checksum illegal" when compressing PDF documents.
BugSPIREPDF-6969Fixes the issue that the program throws a System.NullReferenceException: "Object reference not set to an instance of an object." when converting PDF documents to OFD documents.
BugSPIREPDF-6970Fixes the issue that the program throws a System.Exception: "Header of the stream cannot be read." when extracting images.
BugSPIREPDF-6971Fixes the issue that the content is incorrect when converting SVG files to PDF documents.
BugSPIREPDF-6974Fixes the issue with font errors when converting SVG files to PDF documents.
BugSPIREPDF-6979Fixes the issue that the program throws a System.IndexOutOfRangeException: "Index is outside the bounds of the array." when converting PDF documents to images.
BugSPIREPDF-6981Fixes the issue that the program throws a System.NullReferenceException: "Object reference not set to an instance of an object." when retrieving fonts.
BugSPIREPDF-6995Fixes the issue that results are incorrect when extracting text multiple times.
BugSPIREPDF-6997Fixes the issue that the program throws a System.NullReferenceException: "Object reference not set to an instance of an object." when converting PDF documents to PDFA1B documents.

Spire.Presentation

CategoryIDDescription
New featureSPIREPPT-2567Supports setting the global font directory when execute the conversion function.
Presentation.SetCustomFontsDirctory("myfonts");
New featureSPIREPPT-2594Adds the "IChart.ChartData.LastRowIndex" and "IChart.ChartData.LastColIndex" properties to obtain the last row and last column of the chart's data source.
Presentation ppt = new Presentation();
ppt.LoadFromFile(inputFile);
StringBuilder stringBuilder= new StringBuilder();
IChart chart = ppt.Slides[0].Shapes[0] as IChart;
if (chart != null)
{
	int lastRow = chart.ChartData.LastRowIndex;
	int lastCol = chart.ChartData.LastColIndex;
	sb.AppendLine("lastRow" + lastRow + "\r\n" + "lastColumn" + lastCol);
	int dataRow = chart.Series[2].Values[chart.Series[2].Values.Count - 1].Row; 
	int dataColumn = chart.Series[2].Values[chart.Series[2].Values.Count - 1].Column; 
	sb.AppendLine("dataRow" + datarow + "\r\n" + "dataColumn" + dataColumn);
	chart.ChartData.Clear(dataRow + 1, 0, lastRow + 1, lastCol + 1);  
	chart.ChartData.Clear(0, dataColumn + 1, lastRow + 1, lastCol + 1); 
}
File.WriteAllText(outputFile_T,stringBuilder.ToString());
ppt.SaveToFile(outputFile, FileFormat.Pptx2013);
ppt.Dispose();
BugSPIREPPT-2582Fixes the issue that the type changed from "graphic" to "image" when copying shapes.
BugSPIREPPT-2590Fixes the issue that the content was incorrect when converting PPTX documents to SVG documents.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值