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.
39 lines
1.2 KiB
39 lines
1.2 KiB
3 years ago
|
/**
|
||
|
* Copyright (C), 2015-2020
|
||
|
* FileName: PageExcel2007PlusExporter
|
||
|
* Author: Louis
|
||
|
* Date: 2020/3/22 20:39
|
||
|
* Description: PageExcel2007PlusExporter
|
||
|
* History:
|
||
|
* <author> <time> <version> <desc>
|
||
|
*/
|
||
|
package com.fr.plugin.ifhd.export;
|
||
|
|
||
|
import com.fr.io.exporter.PageExcel2007Exporter;
|
||
|
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>
|
||
|
* 〈PageExcel2007PlusExporter〉
|
||
|
*
|
||
|
* @author Louis
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
public class PageExcel2007PlusExporter<T> extends PageExcel2007Exporter<T> {
|
||
|
|
||
|
public PageExcel2007PlusExporter(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);
|
||
|
}
|
||
|
}
|