forked from fanruan/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.
38 lines
1.1 KiB
38 lines
1.1 KiB
5 years ago
|
package com.alibaba.excel.write.handler;
|
||
6 years ago
|
|
||
6 years ago
|
import java.util.List;
|
||
|
|
||
6 years ago
|
import org.apache.poi.ss.usermodel.Cell;
|
||
|
import org.apache.poi.ss.usermodel.Row;
|
||
|
|
||
6 years ago
|
import com.alibaba.excel.metadata.CellData;
|
||
6 years ago
|
import com.alibaba.excel.metadata.Head;
|
||
6 years ago
|
import com.alibaba.excel.write.metadata.holder.WriteSheetHolder;
|
||
|
import com.alibaba.excel.write.metadata.holder.WriteTableHolder;
|
||
6 years ago
|
|
||
6 years ago
|
/**
|
||
5 years ago
|
* Abstract cell write handler
|
||
6 years ago
|
*
|
||
|
* @author Jiaju Zhuang
|
||
5 years ago
|
**/
|
||
|
public abstract class AbstractCellWriteHandler implements CellWriteHandler {
|
||
|
|
||
6 years ago
|
@Override
|
||
6 years ago
|
public void beforeCellCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, Row row,
|
||
6 years ago
|
Head head, Integer columnIndex, Integer relativeRowIndex, Boolean isHead) {
|
||
6 years ago
|
|
||
|
}
|
||
6 years ago
|
|
||
|
@Override
|
||
6 years ago
|
public void afterCellCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, Cell cell,
|
||
5 years ago
|
Head head, Integer relativeRowIndex, Boolean isHead) {
|
||
|
|
||
|
}
|
||
6 years ago
|
|
||
|
@Override
|
||
|
public void afterCellDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder,
|
||
|
List<CellData> cellDataList, Cell cell, Head head, Integer relativeRowIndex, Boolean isHead) {
|
||
6 years ago
|
|
||
5 years ago
|
}
|
||
6 years ago
|
}
|