forked from fanruan/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.4 KiB
62 lines
1.4 KiB
7 years ago
|
package com.alibaba.excel.metadata;
|
||
|
|
||
|
import org.apache.poi.ss.usermodel.IndexedColors;
|
||
|
|
||
|
/**
|
||
|
* @author jipengfei
|
||
|
*/
|
||
|
public class TableStyle {
|
||
|
|
||
|
/**
|
||
|
* 表头背景颜色
|
||
|
*/
|
||
|
private IndexedColors tableHeadBackGroundColor;
|
||
|
|
||
|
/**
|
||
|
* 表头字体样式
|
||
|
*/
|
||
|
private Font tableHeadFont;
|
||
|
|
||
|
/**
|
||
|
* 表格内容字体样式
|
||
|
*/
|
||
|
private Font tableContentFont;
|
||
|
|
||
|
/**
|
||
|
* 表格内容背景颜色
|
||
|
*/
|
||
|
private IndexedColors tableContentBackGroundColor;
|
||
|
|
||
|
public IndexedColors getTableHeadBackGroundColor() {
|
||
|
return tableHeadBackGroundColor;
|
||
|
}
|
||
|
|
||
|
public void setTableHeadBackGroundColor(IndexedColors tableHeadBackGroundColor) {
|
||
|
this.tableHeadBackGroundColor = tableHeadBackGroundColor;
|
||
|
}
|
||
|
|
||
|
public Font getTableHeadFont() {
|
||
|
return tableHeadFont;
|
||
|
}
|
||
|
|
||
|
public void setTableHeadFont(Font tableHeadFont) {
|
||
|
this.tableHeadFont = tableHeadFont;
|
||
|
}
|
||
|
|
||
|
public Font getTableContentFont() {
|
||
|
return tableContentFont;
|
||
|
}
|
||
|
|
||
|
public void setTableContentFont(Font tableContentFont) {
|
||
|
this.tableContentFont = tableContentFont;
|
||
|
}
|
||
|
|
||
|
public IndexedColors getTableContentBackGroundColor() {
|
||
|
return tableContentBackGroundColor;
|
||
|
}
|
||
|
|
||
|
public void setTableContentBackGroundColor(IndexedColors tableContentBackGroundColor) {
|
||
|
this.tableContentBackGroundColor = tableContentBackGroundColor;
|
||
|
}
|
||
|
}
|