| 程序包 | 说明 |
|---|---|
| cn.gjing.tools.excel.metadata | |
| cn.gjing.tools.excel.metadata.listener | |
| cn.gjing.tools.excel.read.listener | |
| cn.gjing.tools.excel.util | |
| cn.gjing.tools.excel.write.listener |
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<ExcelListener> |
AbstractExcelContext.listenerCache
Listener cache
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractExcelContext.addListener(ExcelListener listener)
Add listener instance to cache
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ExcelReadListener
Excel import listener
|
interface |
ExcelWriteListener
Excel export listener
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultCascadingDropdownBoxListener
Default add cascading dropdown box,
|
class |
DefaultExcelStyleListener
Default style listener
which can be turned off when a writer is created using the initDefaultStyle parameter
|
class |
DefaultMultiHeadListener
Multi-level header merge listener
Automatically merge adjacent cells with the same content
It needs to be turned on using
ExcelBindWriter.multiHead(boolean)
. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ExcelEmptyReadListener<R>
Empty value listener
|
interface |
ExcelResultReadListener<R>
Import completion result listener.
|
interface |
ExcelRowReadListener<R> |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
ListenerChain.doAssignmentBefore(List<ExcelListener> listeners,
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)
Execute write cell listener
|
static void |
ListenerChain.doCompleteCell(List<ExcelListener> listeners,
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)
Execute write cell listener
|
static void |
ListenerChain.doCompleteRow(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
Object obj,
int index,
RowType rowType)
Execute write row listener
|
static void |
ListenerChain.doCompleteSheet(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet)
Execute write sheet listener
|
static void |
ListenerChain.doCreateRowBefore(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet,
int index,
RowType rowType)
Before you create a row
|
static <R> void |
ListenerChain.doReadBefore(List<ExcelListener> listeners)
Before you start reading the data
|
static Object |
ListenerChain.doReadCell(List<ExcelListener> rowReadListeners,
Object cellValue,
Field field,
int rowIndex,
int colIndex,
RowType rowType)
Execute read row listener
|
static <R> boolean |
ListenerChain.doReadEmpty(List<ExcelListener> emptyReadListeners,
R r,
Field field,
ExcelField excelField,
int rowIndex,
int colIndex)
Execute read empty listener
|
static <R> void |
ListenerChain.doReadFinish(List<ExcelListener> rowReadListeners)
Execute read row listener
|
static <R> boolean |
ListenerChain.doReadRow(List<ExcelListener> rowReadListeners,
R r,
List<?> otherValues,
int rowIndex,
RowType rowType)
Execute read row listener
|
static void |
ListenerChain.doSetBodyStyle(List<ExcelListener> styleListeners,
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
|
static void |
ListenerChain.doSetHeadStyle(List<ExcelListener> styleListeners,
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
|
static void |
ListenerChain.doSetTitleStyle(List<ExcelListener> styleListeners,
BigTitle bigTitle,
org.apache.poi.ss.usermodel.Cell cell)
Set excel big title style
|
static void |
ListenerChain.doWorkbookCreated(List<ExcelListener> workbookListeners,
org.apache.poi.ss.usermodel.Workbook workbook)
Workbook has created
|
static void |
ListenerChain.doWorkbookFlushBefore(List<ExcelListener> workbookListeners,
org.apache.poi.ss.usermodel.Workbook workbook)
Execute write workbook listener
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ExcelCascadingDropdownBoxListener
Cascading dropdown box listener,
When
ExcelDropdownBox is used in the header field of the mapped entity and a valid ExcelDropdownBox.link() parameter is set |
interface |
ExcelCellWriteListener
The Excel cell writes out the listener,
Can be used to change the value of a cell or to make additional extensions to the cell when exporting
|
interface |
ExcelRowWriteListener
The Excel row writes out the listener
Can be used for additional extensions after this row is written out
|
interface |
ExcelSheetWriteListener
The Excel Sheet writes out the listener
|
interface |
ExcelStyleWriteListener
Excel style listener
|
interface |
ExcelWorkbookWriteListener
The Excel Workbook writes out the listener
|
Copyright © 2021. All rights reserved.