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.
38 lines
1.2 KiB
38 lines
1.2 KiB
3 years ago
|
/**
|
||
|
* Copyright (C), 2015-2020
|
||
|
* FileName: PageToSheetExcel2007PlusExporter
|
||
|
* Author: Louis
|
||
|
* Date: 2020/3/22 15:12
|
||
|
* Description: PageToSheetExcel2007PlusExporter
|
||
|
* History:
|
||
|
* <author> <time> <version> <desc>
|
||
|
*/
|
||
|
package com.fr.plugin.ifhd.export;
|
||
|
|
||
|
import com.fr.io.exporter.PageToSheetExcel2007Exporter;
|
||
|
import com.fr.io.exporter.poi.wrapper.POIWorkbookAction;
|
||
|
import com.fr.main.workbook.ResultWorkBook;
|
||
|
import com.fr.plugin.ifhd.utils.WaterMarkHandler;
|
||
|
import com.fr.report.report.Report;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 〈Function Description〉<br>
|
||
|
* 〈PageToSheetExcel2007PlusExporter〉
|
||
|
*
|
||
|
* @author Louis
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
public class PageToSheetExcel2007PlusExporter<T> extends PageToSheetExcel2007Exporter<T> {
|
||
|
|
||
|
public PageToSheetExcel2007PlusExporter(List 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);
|
||
|
}
|
||
|
}
|