mirror of https://github.com/alibaba/easyexcel
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
599 B
28 lines
599 B
6 years ago
|
package com.alibaba.excel.write.handler;
|
||
|
|
||
|
import org.apache.poi.ss.usermodel.Workbook;
|
||
|
|
||
6 years ago
|
import com.alibaba.excel.metadata.holder.SheetHolder;
|
||
6 years ago
|
|
||
|
/**
|
||
|
* intercepts handle sheet creation
|
||
|
*
|
||
|
* @author zhuangjiaju
|
||
|
*/
|
||
6 years ago
|
public interface SheetWriteHandler extends WriteHandler {
|
||
6 years ago
|
|
||
|
/**
|
||
|
* called before create the sheet
|
||
|
*
|
||
|
* @param writeContext
|
||
|
*/
|
||
|
void beforeSheetCreate(Workbook workbook, SheetHolder sheetHolder);
|
||
|
|
||
|
/**
|
||
|
* called after the sheet is created
|
||
|
*
|
||
|
* @param writeContext
|
||
|
*/
|
||
|
void afterSheetCreate(Workbook workbook, SheetHolder sheetHolder);
|
||
|
}
|