@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Documented public @interface ExportField
Modifier and Type | Required Element and Description |
---|---|
int |
index
表格列索引 从0开始
|
Modifier and Type | Optional Element and Description |
---|---|
ExcelAlignType |
align
水平对齐方式
|
boolean |
autoResize
自动调节大小
|
String |
backgroundColor
背景颜色 RGB
|
ExcelBorderType |
border
边框
|
String |
borderColor
边框颜色 RGB
|
String |
format
格式化
|
String |
header
表头
|
boolean |
hidden
隐藏列
|
int |
indent
缩进
|
boolean |
lock
是否锁定
|
boolean |
quotePrefixed
公式前缀
|
String[] |
selectOptions
选择框
|
boolean |
skipHeaderStyle
表头跳过样式
|
boolean |
trim
是否清除空格
|
ExcelFieldType |
type
类型
|
ExcelVerticalAlignType |
verticalAlign
垂直对齐方式
|
int |
width
单元格宽
|
boolean |
wrapText
自动换行
|
public abstract String header
public abstract ExcelVerticalAlignType verticalAlign
public abstract ExcelAlignType align
public abstract String backgroundColor
public abstract ExcelBorderType border
public abstract String borderColor
public abstract String format
public abstract ExcelFieldType type
public abstract boolean trim
ExcelFieldType.TEXT
,
String
public abstract String[] selectOptions
Copyright © 2024. All rights reserved.