mirror of https://github.com/alibaba/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.
65 lines
1.5 KiB
65 lines
1.5 KiB
package com.alibaba.excel.metadata; |
|
|
|
import org.apache.poi.ss.usermodel.IndexedColors; |
|
|
|
import com.alibaba.excel.write.style.HorizontalCellStyleStrategy; |
|
|
|
/** |
|
* @author jipengfei |
|
* @deprecated please use {@link HorizontalCellStyleStrategy} |
|
*/ |
|
@Deprecated |
|
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; |
|
} |
|
}
|
|
|