本帖最后由 Joestar.Xu 于 2024-5-10 14:25 编辑
调研编号:DOCXLS-10330
问题版本 GcExcel 7.1.1
使用代码
- Workbook workbook = new Workbook();
- workbook.open("test1.xlsx", OpenFileFormat.Xlsx);
- workbook.addDataSource("ds",new JsonDataSource("{}"));
- workbook.processTemplate();
复制代码
出现问题
- Exception in thread "main" com.grapecity.documents.excel.InvalidFormulaException: (defaultValue=Revenue,C=A1)
- at com.grapecity.documents.excel.template.a.S.j(Unknown Source)
- at com.grapecity.documents.excel.template.a.S.a(Unknown Source)
- at com.grapecity.documents.excel.template.a.S.a(Unknown Source)
- at com.grapecity.documents.excel.template.a.S.a(Unknown Source)
- at com.grapecity.documents.excel.template.a.r.a(Unknown Source)
- at com.grapecity.documents.excel.template.ba.a(Unknown Source)
- at com.grapecity.documents.excel.template.ba.a(Unknown Source)
- at com.grapecity.documents.excel.template.ba.a(Unknown Source)
- at com.grapecity.documents.excel.template.ba.a(Unknown Source)
- at com.grapecity.documents.excel.template.ba.b(Unknown Source)
- at com.grapecity.documents.excel.template.bx.b(Unknown Source)
- at com.grapecity.documents.excel.I.aQ.b(Unknown Source)
- at com.grapecity.documents.excel.Workbook.processTemplate(Unknown Source)
- at com.grapecity.documents.excel.Workbook.processTemplate(Unknown Source)
- at com.ey.cn.tax.framework.gcexcel.GcExcelException.main(GcExcelException.java:85)
复制代码
使用模板
test1.xlsx.zip
(6.84 KB, 下载次数: 846)
|
|