public interface ExcelStyleWriteListener extends ExcelCellWriteListener, ExcelRowWriteListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init(org.apache.poi.ss.usermodel.Workbook workbook)
Init Style write listener
|
void |
setBodyStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
String headName,
int index,
int colIndex)
Set excel body style
|
void |
setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
String headName,
int index,
int colIndex)
Set excel head style
|
void |
setTitleStyle(org.apache.poi.ss.usermodel.Cell cell)
Set excel big title style
|
completeCellcompleteRowvoid init(org.apache.poi.ss.usermodel.Workbook workbook)
workbook - workbookvoid setTitleStyle(org.apache.poi.ss.usermodel.Cell cell)
cell - Current cellvoid setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
String headName,
int index,
int colIndex)
row - Current rowcell - Current cellindex - Line index, index type according to isHeadcolIndex - cell indexexcelField - ExcelField annotation of current fieldfield - Current fieldheadName - The header name of the list where the cell residesvoid setBodyStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
String headName,
int index,
int colIndex)
row - Current rowcell - Current cellindex - Line index, index type according to isHeadcolIndex - cell indexexcelField - ExcelField annotation of current fieldfield - Current fieldheadName - The header name of the list where the cell residesCopyright © 2020. All rights reserved.