| 程序包 | 说明 |
|---|---|
| cn.gjing.tools.excel.exception | |
| cn.gjing.tools.excel.read.listener | |
| cn.gjing.tools.excel.util | |
| cn.gjing.tools.excel.write.listener | |
| cn.gjing.tools.excel.write.style |
| 构造器和说明 |
|---|
ExcelAssertException(String message,
ExcelField excelField,
Field field,
int rowIndex,
int colIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
ExcelEmptyReadListener.readEmpty(R r,
Field field,
ExcelField excelField,
int rowIndex,
int colIndex)
When a body cell is read, if the cell does not exist or the value is null,
and you set the header to which the cell belongs not to be null,
ExcelField |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
ListenerChain.doAssignmentBefore(Map<Class<? extends ExcelWriteListener>,List<ExcelWriteListener>> excelListeners,
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)
Execute write cell listener
|
static void |
ListenerChain.doCompleteCell(Map<Class<? extends ExcelWriteListener>,List<ExcelWriteListener>> excelListeners,
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)
Execute write cell listener
|
static <R> boolean |
ListenerChain.doReadEmpty(List<ExcelReadListener> emptyReadListeners,
R r,
Field field,
ExcelField excelField,
int rowIndex,
int colIndex)
Execute read empty listener
|
| 限定符和类型 | 方法和说明 |
|---|---|
default Object |
ExcelCellWriteListener.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 |
ExcelCellWriteListener.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 |
DefaultExcelStyleListener.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) |
void |
DefaultExcelStyleListener.setBodyStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex) |
void |
ExcelStyleWriteListener.setBodyStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex)
Set excel body style
|
void |
DefaultExcelStyleListener.setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex) |
void |
ExcelStyleWriteListener.setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex)
Set excel head style
|
Copyright © 2020. All rights reserved.