Aspose.Cells for .NET 8.1.2 发布,此版本包括一些有用的特性和其他改进(20 个 bug 修复)。如果用户需要升级,请先查看 Public API Changes。 此版本最主要的特性改进是字体替换时会有通知提醒:
public class WarningCallback : IWarningCallback { public void Warning(WarningInfo info) { if (info.WarningType == WarningType.FontSubstitution) { Debug.WriteLine("WARNING INFO: " + info.Description); } } } //........ //........ void Run() { Workbook workbook = new Workbook("source.xlsx"); PdfSaveOptions options = new PdfSaveOptions(); options.WarningCallback=new WarningCallback(); workbook.Save("output.pdf", options); }同时也解决了在把 Excel 文件写入到 PDF 和 ODS 时发生的异常。
其他改进:
-
issues around manipulating style and formattings
-
manipulating shapes
-
manipulating charts
-
Smart Markers and exporting Excel workbooks to PDF format have been resolved
-
We have also fixed a few issues regarding Aspose.Cells formula calculation engine.
Aspose.Cells 是一个可以在不需要微软 Excel 环境下对 Excel 电子表格文件进行读写的 Java 组件。支持创建电子表格、打开加密 Excel 文件、宏、VBA、Unicode、公式设置、数据透视表等功能,支持从 JDBC、CSV、SpreadsheetML、PDF、ODS 中导入数据,支持 Excel 97 到 Excel 2007。
概览:

Aspose.Cells 的详细介绍:请点这里
Aspose.Cells 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-08/105121.htm
