@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,
RowType rowType,
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,
RowType rowType)
Cell assignment complete,the current cell end, About to start reading the next cell
|
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,
RowType rowType)
sheet - Current sheetrow - Current rowcell - Current cellindex - Data indexing, depending on the row type, starts at 0colIndex - Current cell indexrowType - Current row typeexcelField - 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, RowType rowType, Object value)
sheet - Current sheetrow - Current rowcell - Current cellindex - Data indexing, depending on the row type, starts at 0colIndex - Current cell indexrowType - Current row typeexcelField - ExcelField annotation of current fieldfield - Current fieldvalue - Cell valueCopyright © 2021. All rights reserved.