@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,
ExcelFieldProperty property,
int dataIndex,
RowType rowType,
Object value)
Triggered when the data converter finishes processing and is ready to write to the cell
|
void |
completeCell(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelFieldProperty property,
int dataIndex,
RowType rowType)
Triggered when the current cell has been written out and is about to start writing 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,
ExcelFieldProperty property,
int dataIndex,
RowType rowType)
sheet - Current sheetrow - Current rowcell - Current celldataIndex - Data indexing, depending on the row type, starts at 0rowType - Current row typeproperty - excel filed propertydefault Object assignmentBefore(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.Row row, org.apache.poi.ss.usermodel.Cell cell, ExcelFieldProperty property, int dataIndex, RowType rowType, Object value)
sheet - Current sheetrow - Current rowcell - Current celldataIndex - Data indexing, depending on the row type, starts at 0rowType - Current row typeproperty - Excel field propertyvalue - Cell valueCopyright © 2022. All rights reserved.