Browse Source

1.代码改为utf-8编码

2.去掉多余注释部分
release/11.0
Leo.Cai 5 years ago
parent
commit
fb25c44e62
  1. 4
      src/main/java/com/fr/io/ExportApi_frm.java

4
src/main/java/com/fr/io/ExportApi_frm.java

@ -57,11 +57,11 @@ public class ExportApi_frm {
outputStream = new FileOutputStream(new File("C:\\FTPServer\\1528.xlsx"));
StreamExcel2007Exporter ExcelExport1 = new StreamExcel2007Exporter();
ExcelExport1.export(outputStream,re);
// 将结果工作薄导出为Pdf文件
// 将结果工作薄导出为PDF文件
outputStream = new FileOutputStream(new File("C:\\FTPServer\\PdfExport.pdf"));
PDFExporter PdfExport = new PDFExporter();
PdfExport.export(outputStream, re);
//将结果工作薄导出为image文件
//将结果工作薄导出为Image文件
outputStream = new FileOutputStream(new File("C:\\FTPServer\\PngExport.png"));
ImageExporter ImageExport = new ImageExporter();
ImageExport.export(outputStream, re);

Loading…
Cancel
Save