spire.xls 11.11.2已发布。该版本带来了一些新功能,如支持转换excel文件到pdf文件设置自定义纸张尺寸的问题,支持了给数据栏设置边框的功能以及给折线图和面积图设置垂直线的功能。此外还增强了excel到html,excel到pdf的转换功能,并且修复了ms excel打开保存后的xlsx文件失败等已知问题。详情请阅读以下内容。
新功能:
- 支持了转换excel文件到pdf文件设置自定义纸张尺寸的问题
workbook.worksheets[0].pagesetup.setcustompapersize(width, height);
chart.series[0].hasdroplines = true;
xlsconditionalformats cfs = sheet.conditionalformats[0];
iconditionalformat cf = cfs[0];
spire.xls.databar databar1 = cf.databar;
databar1.barborder.type = spire.xls.core.spreadsheet.conditionalformatting.databarbordertype.databarbordersolid;
databar1.barborder.color = color.greenyellow;
问题修复:
- 修复了转换excel文件到html文件后图片位置不正确的问题
- 修复了转换excel文件到pdf文件时内容被裁剪的问题
- 修复了转换一个组合图表到图片时内容不正确的问题
- 修复了加载一个ods文件程序挂起的问题
- 修复了转换excel文件到pdf文件时内容不正确的问题
- 修复了ms excel打开保存后的xlsx文件失败的问题
下载spire.xls 11.11.2请点击: