public class ExportParams extends ExcelBaseParams
Modifier and Type | Field and Description |
---|---|
short |
height
导出时在excel中每个列的高度 单位为字符,一个汉字=2个字符
全局设置,优先使用
|
Constructor and Description |
---|
ExportParams() |
ExportParams(String title,
String sheetName) |
ExportParams(String title,
String sheetName,
ExcelType type) |
ExportParams(String title,
String secondTitle,
String sheetName) |
Modifier and Type | Method and Description |
---|---|
short |
getColor() |
String[] |
getExclusions() |
int |
getFreezeCol() |
short |
getHeaderColor() |
short |
getHeaderHeight() |
short |
getHeight() |
String |
getIndexName() |
int |
getMaxNum() |
String |
getSecondTitle() |
short |
getSecondTitleHeight() |
String |
getSheetName() |
Class<?> |
getStyle() |
String |
getTitle() |
short |
getTitleHeight() |
ExcelType |
getType() |
boolean |
isAddIndex() |
boolean |
isAppendGraph() |
boolean |
isCreateHeadRows() |
boolean |
isDynamicData() |
void |
setAddIndex(boolean addIndex) |
void |
setAppendGraph(boolean isAppendGraph) |
void |
setColor(short color) |
void |
setCreateHeadRows(boolean isCreateHeadRows) |
void |
setDynamicData(boolean isDynamicData) |
void |
setExclusions(String[] exclusions) |
void |
setFreezeCol(int freezeCol) |
void |
setHeaderColor(short headerColor) |
void |
setHeaderHeight(double headerHeight) |
void |
setHeight(short height) |
void |
setIndexName(String indexName) |
void |
setMaxNum(int maxNum) |
void |
setSecondTitle(String secondTitle) |
void |
setSecondTitleHeight(short secondTitleHeight) |
void |
setSheetName(String sheetName) |
void |
setStyle(Class<?> style) |
void |
setTitle(String title) |
void |
setTitleHeight(short titleHeight) |
void |
setType(ExcelType type) |
getDataHandler, getDictHandler, setDataHandler, setDictHandler
public short getColor()
public String[] getExclusions()
public short getHeaderColor()
public String getSecondTitle()
public short getSecondTitleHeight()
public String getSheetName()
public String getTitle()
public short getTitleHeight()
public boolean isAddIndex()
public void setAddIndex(boolean addIndex)
public void setColor(short color)
public void setExclusions(String[] exclusions)
public void setHeaderColor(short headerColor)
public void setSecondTitle(String secondTitle)
public void setSecondTitleHeight(short secondTitleHeight)
public void setSheetName(String sheetName)
public void setTitle(String title)
public void setTitleHeight(short titleHeight)
public ExcelType getType()
public void setType(ExcelType type)
public String getIndexName()
public void setIndexName(String indexName)
public Class<?> getStyle()
public void setStyle(Class<?> style)
public int getFreezeCol()
public void setFreezeCol(int freezeCol)
public boolean isCreateHeadRows()
public void setCreateHeadRows(boolean isCreateHeadRows)
public boolean isDynamicData()
public void setDynamicData(boolean isDynamicData)
public boolean isAppendGraph()
public void setAppendGraph(boolean isAppendGraph)
public int getMaxNum()
public void setMaxNum(int maxNum)
public short getHeight()
public void setHeight(short height)
public short getHeaderHeight()
public void setHeaderHeight(double headerHeight)
Copyright © 2018 Lumer. All rights reserved.