| | |
| | | /** |
| | | * 是否允许内容换行 |
| | | */ |
| | | public boolean wrapText() default false; |
| | | public boolean wrapText() default true; |
| | | |
| | | /** |
| | | * 设置只能选择不能输入的列内容. |
| | |
| | | public IndexedColors headerColor() default IndexedColors.WHITE; |
| | | |
| | | /** |
| | | * 导出列头字体名称 |
| | | */ |
| | | public String headerFontName() default "Arial"; |
| | | |
| | | /** |
| | | * 导出列头字体是否加粗 |
| | | */ |
| | | public boolean headerFontBold() default false; |
| | | |
| | | /** |
| | | * 导出单元格背景颜色 |
| | | */ |
| | | public IndexedColors backgroundColor() default IndexedColors.WHITE; |
| | | |
| | | /** |
| | | * 导出单元格字体名称 |
| | | */ |
| | | public String fontName() default "Arial"; |
| | | |
| | | /** |
| | | * 导出单元格字体颜色 |
| | |
| | | */ |
| | | Type type() default Type.ALL; |
| | | |
| | | public int headerFontSize() default 12; |
| | | |
| | | public enum Type |
| | | { |
| | | ALL(0), EXPORT(1), IMPORT(2); |