| 限定符和类型 | 可选元素和说明 |
|---|---|
ExcelColor[] |
color
Excel header color array that can be set separately for each level of header.
|
ExcelColor[] |
fontColor
Excel header font color array that can be set separately for each level of header.
|
String |
format
Set the format of all cells below the current Excel table header when exporting.
|
int |
order
The table header is set to a sort number, and the Excel executor processes each table header according to the number.
|
boolean |
required
Whether the body cell below the table header is mandatory.
|
String |
title
Specifies the column where the table header resides.
|
boolean |
trim
Remove Spaces from content cells that are read as text during import
|
String[] |
value
Fields map to Excel header names.
|
int |
width
Header width
|
public abstract String[] value
public abstract String title
public abstract int order
public abstract String format
------- @ as text ------- 0 as integer ------- 0.00 is two decimal places ------- yyyy-MM-dd as 年-月-日 } See Excel official cell format for more information
public abstract boolean required
ExcelEmptyReadListener will be triggered if the content of the cell is detected as empty during importpublic abstract boolean trim
public abstract ExcelColor[] color
ExcelColorpublic abstract ExcelColor[] fontColor
ExcelColorCopyright © 2022. All rights reserved.