JSD-8649 开源任务材料
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
920 B

package com.fr.plugin.excel.fr.exporter;
import com.fr.io.attr.ReportExportAttr;
import com.fr.io.exporter.PageToSheetExcel2007Exporter;
import com.fr.plugin.ws.wapper.WsUtils;
import com.fr.report.report.Report;
import com.fr.third.v2.org.apache.poi.xssf.streaming.SXSSFWorkbook;
import java.util.List;
/**
* @Author fr.open
* @Data 2021/10/28 17:07
* @Description TODO
* @Version 10.0
**/
public class NewPageToSheetExcel2007Exporter extends PageToSheetExcel2007Exporter {
public NewPageToSheetExcel2007Exporter(List list) {
super(list);
}
@Override
protected void innerExportReport(Report report, ReportExportAttr reportExportAttr, String s, SXSSFWorkbook sxssfWorkbook, List list, List list1, int i) throws Exception {
super.innerExportReport(report, reportExportAttr, s, sxssfWorkbook, list, list1, i);
WsUtils.addWatterMarker2SXSSFWorkbook(sxssfWorkbook);
}
}