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.

42 lines
1.3 KiB

/**
* Copyright (C), 2015-2020
* FileName: StreamExcel2007PlusExporter
* Author: Louis
* Date: 2020/3/17 16:18
* Description: StreamExcel2007PlusExporter
* History:
* <author> <time> <version> <desc>
*/
package com.fr.plugin.ifhd.export;
import com.fr.io.exporter.excel.stream.StreamExcel2007Exporter;
import com.fr.io.exporter.poi.wrapper.POIWorkbookAction;
import com.fr.main.workbook.ResultWorkBook;
import com.fr.page.PaperSettingProvider;
import com.fr.plugin.ifhd.utils.WaterMarkHandler;
import com.fr.report.report.Report;
import java.util.List;
/**
* 〈Function Description〉<br>
* 〈StreamExcel2007PlusExporter〉
*
* @author Louis
* @since 1.0.0
*/
public class StreamExcel2007PlusExporter<T> extends StreamExcel2007Exporter<T> {
public StreamExcel2007PlusExporter() {
}
public StreamExcel2007PlusExporter(List<PaperSettingProvider> list) {
super(list);
}
@Override
protected void exportBook(ResultWorkBook resultWorkBook, POIWorkbookAction poiWorkbookAction, List list, List<String> list1, List<Report> list2, boolean b) throws Exception {
super.exportBook(resultWorkBook, poiWorkbookAction, list, list1, list2, b);
WaterMarkHandler.putWaterRemarkToExcel(resultWorkBook, poiWorkbookAction);
}
}