【发布时间】:2020-06-12 17:34:05
【问题描述】:
我正在使用 JasperReports 和代码创建一个 XLS 报告:
JRXlsExporter exporter = new JRXlsExporter();
exporter.setExporterInput(new SimpleExporterInput(compile(report)));
exporter.setExporterOutput(new SimpleOutputStreamExporterOutput(stream));
SimpleXlsReportConfiguration configuration = new SimpleXlsReportConfiguration();
configuration.setOnePagePerSheet(TRUE);
exporter.setConfiguration(configuration);
exporter.exportReport();
我需要从 xls 文件元数据中删除软件信息
运行exiftool Vinculaciones.xls命令的结果:
ExifTool Version Number : 12.00
File Name : Vinculaciones.xls
Directory : .
File Size : 5.5 kB
File Modification Date/Time : 2020:06:11 15:53:33-05:00
File Access Date/Time : 2020:06:11 15:53:33-05:00
File Creation Date/Time : 2020:06:11 15:53:32-05:00
File Permissions : rw-rw-rw-
File Type : XLS
File Type Extension : xls
MIME Type : application/vnd.ms-excel
Software : JasperReports Library version 6.12.2-75c5e90a222ab406e416cbf590a5397028a52de3
Warning : Truncated property list
【问题讨论】:
标签: java jasper-reports metadata export-to-excel