@FunctionalInterface public interface ExcelCellWriteListener extends ExcelWriteListener
| 限定符和类型 | 方法和说明 |
|---|---|
default Object |
assignmentBefore(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex,
boolean isHead,
Object value)
Cell are assigned before, then after the data converter and before the auto merge
|
void |
completeCell(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex,
boolean isHead)
Cell assignment complete,the current cell end
|
void completeCell(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex,
boolean isHead)
sheet - Current sheetrow - Current rowcell - Current cellindex - The data index, table header, and body all start at 0colIndex - Current cell indexisHead - Whether is excel headexcelField - ExcelField annotation of current fieldfield - Current fielddefault Object assignmentBefore(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.Row row, org.apache.poi.ss.usermodel.Cell cell, ExcelField excelField, Field field, int index, int colIndex, boolean isHead, Object value)
sheet - Current sheetrow - Current rowcell - Current cellindex - The data index, table header, and body all start at 0colIndex - Current cell indexisHead - Whether is excel headexcelField - ExcelField annotation of current fieldfield - Current fieldvalue - Cell valueCopyright © 2020. All rights reserved.