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.
|
|
|
package com.alibaba.excel.metadata;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author jipengfei
|
|
|
|
* @deprecated please use {@link com.alibaba.excel.write.metadata.style.WriteFont}
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
public class Font {
|
|
|
|
|
|
|
|
/**
|
|
|
|
*/
|
|
|
|
private String fontName;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*/
|
|
|
|
private short fontHeightInPoints;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*/
|
|
|
|
private boolean bold;
|
|
|
|
|
|
|
|
public String getFontName() {
|
|
|
|
return fontName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFontName(String fontName) {
|
|
|
|
this.fontName = fontName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public short getFontHeightInPoints() {
|
|
|
|
return fontHeightInPoints;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFontHeightInPoints(short fontHeightInPoints) {
|
|
|
|
this.fontHeightInPoints = fontHeightInPoints;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isBold() {
|
|
|
|
return bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setBold(boolean bold) {
|
|
|
|
this.bold = bold;
|
|
|
|
}
|
|
|
|
}
|