Browse Source

DEMO-20364 导出excel2003文档刊误

release/10.0
zack 3 years ago
parent
commit
5ea33e5068
  1. 1
      src/main/java/com/fr/io/ExportApi.java

1
src/main/java/com/fr/io/ExportApi.java

@ -91,6 +91,7 @@ public class ExportApi {
/**将结果工作薄导出为2003Excel文件*/ /**将结果工作薄导出为2003Excel文件*/
outputStream = new FileOutputStream(new java.io.File(outputUrl+"ExcelExport2003.xls")); outputStream = new FileOutputStream(new java.io.File(outputUrl+"ExcelExport2003.xls"));
ExcelExporter ExcelExport = new ExcelExporter(); ExcelExporter ExcelExport = new ExcelExporter();
ExcelExport.setVersion(true);
ExcelExport.export(outputStream, workbook.execute(parameterMap, new WriteActor())); ExcelExport.export(outputStream, workbook.execute(parameterMap, new WriteActor()));
/**将结果工作薄导出为2007Excel文件*/ /**将结果工作薄导出为2007Excel文件*/

Loading…
Cancel
Save