| | |
| | | public int roundingMode() default BigDecimal.ROUND_HALF_EVEN;
|
| | |
|
| | | /**
|
| | | * 导出时在excel中每个列的高度 单位为字符
|
| | | * 导出时在excel中每个列的高度
|
| | | */
|
| | | public double height() default 14;
|
| | |
|
| | | /**
|
| | | * 导出时在excel中每个列的宽 单位为字符
|
| | | * 导出时在excel中每个列的宽度
|
| | | */
|
| | | public double width() default 16;
|
| | |
|
| | |
| | | public String[] combo() default {};
|
| | |
|
| | | /**
|
| | | * 是否需要纵向合并单元格,应对需求:含有list集合单元格)
|
| | | */
|
| | | public boolean needMerge() default false;
|
| | |
|
| | | /**
|
| | | * 是否导出数据,应对需求:有时我们需要导出一份模板,这是标题需要但内容需要用户手工填写.
|
| | | */
|
| | | public boolean isExport() default true;
|
| | |
| | | public boolean isStatistics() default false;
|
| | |
|
| | | /**
|
| | | * 导出类型(0数字 1字符串)
|
| | | * 导出类型(0数字 1字符串 2图片)
|
| | | */
|
| | | public ColumnType cellType() default ColumnType.STRING;
|
| | |
|
| | | /**
|
| | | * 导出列头背景色
|
| | | * 导出列头背景颜色
|
| | | */
|
| | | public IndexedColors headerBackgroundColor() default IndexedColors.GREY_50_PERCENT;
|
| | |
|
| | |
| | | public IndexedColors headerColor() default IndexedColors.WHITE;
|
| | |
|
| | | /**
|
| | | * 导出单元格背景色
|
| | | * 导出单元格背景颜色
|
| | | */
|
| | | public IndexedColors backgroundColor() default IndexedColors.WHITE;
|
| | |
|
| | |
| | |
|
| | | public enum ColumnType
|
| | | {
|
| | | NUMERIC(0), STRING(1), IMAGE(2);
|
| | | NUMERIC(0), STRING(1), IMAGE(2), TEXT(3);
|
| | | private final int value;
|
| | |
|
| | | ColumnType(int value)
|