|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.modules.output.table.xls.helper.HSSFFontWrapper
public final class HSSFFontWrapper
The HSSFFontWrapper is used to store excel style font informations.
Field Summary | |
---|---|
static int |
FONT_FACTOR
scale between Excel and awt. |
Constructor Summary | |
---|---|
HSSFFontWrapper(org.apache.poi.ss.usermodel.Font font)
Creates a HSSFFontWrapper for the excel font. |
|
HSSFFontWrapper(String fontName,
short fontSize,
boolean bold,
boolean italic,
boolean underline,
boolean strikethrough,
short colorIndex)
Creates a new HSSFFontWrapper for the given font and color. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
short |
getColorIndex()
|
int |
getFontHeight()
|
String |
getFontName()
|
int |
getHashCode()
|
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isBold()
|
boolean |
isItalic()
|
boolean |
isStrikethrough()
|
boolean |
isUnderline()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FONT_FACTOR
Constructor Detail |
---|
public HSSFFontWrapper(String fontName, short fontSize, boolean bold, boolean italic, boolean underline, boolean strikethrough, short colorIndex)
fontName
- the name of the wrapped font.fontSize
- the name of the wrapped font.bold
- a font style flag.italic
- a font style flag.underline
- a font style flag.strikethrough
- a font style flag.colorIndex
- the foreground color.public HSSFFontWrapper(org.apache.poi.ss.usermodel.Font font)
font
- the font.Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
o
- the compared object.
public int hashCode()
java.util.Hashtable
.
hashCode
in class Object
public boolean isBold()
public short getColorIndex()
public int getFontHeight()
public String getFontName()
public int getHashCode()
public boolean isItalic()
public boolean isStrikethrough()
public boolean isUnderline()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |