|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.ExcelFont
public class ExcelFont
Represents the excel font.
| Constructor Summary | |
|---|---|
ExcelFont(IFont font)
|
|
| Method Summary | |
|---|---|
void |
beginUpdate()
This method should be called before several updates to the object will take place. |
void |
endUpdate()
This method should be called after several updates to the object took place. |
java.awt.Font |
generateNativeFont()
Generates system font object. |
java.awt.Color |
getColor()
Returns the primary color of the font. |
java.lang.String |
getFontName()
Returns the font name. |
ExcelColors |
getKnownColor()
Returns the primary excel color of the object. |
java.lang.Object |
getParent()
|
double |
getSize()
Returns the size of the font. |
java.lang.String |
getStrikethroughType()
Strikethrough Type. |
FontUnderlineType |
getUnderline()
Returns the type of underline applied to the font. |
FontVertialAlignmentType |
getVerticalAlignment()
Gets font vertical alignment. |
boolean |
isAutoColor()
Indicates whether color is automatically selected. |
boolean |
isBold()
Returns true if the font is bold. |
void |
isBold(boolean isBold)
Sets if the font is bold. |
boolean |
isItalic()
Return true if the font style is italic. |
void |
isItalic(boolean isItalic)
Sets if the font style is italic. |
boolean |
isStrikethrough()
Return true if the font is struck through with a horizontal line. |
void |
isStrikethrough(boolean value)
Sets if the font is struck through with a horizontal line. |
boolean |
isSubscript()
True if the font is formatted as subscript. |
void |
isSubscript(boolean value)
True if the font is formatted as subscript. |
boolean |
isSuperscript()
True if the font is formatted as superscript. |
void |
isSuperscript(boolean value)
True if the font is formatted as superscript. |
void |
setColor(java.awt.Color color)
Sets the primary color of the font. |
void |
setFontName(java.lang.String fontName)
Sets the font name. |
void |
setKnownColor(ExcelColors knownColor)
Sets the primary excel color of the object. |
void |
setSize(double size)
Sets the size of the font. |
void |
setStrikethroughType(java.lang.String value)
Strikethrough Type. |
void |
setUnderline(FontUnderlineType underline)
Sets the type of underline applied to the font. |
void |
setVerticalAlignment(FontVertialAlignmentType value)
Sets font vertical alignment. |
| Constructor Detail |
|---|
public ExcelFont(IFont font)
| Method Detail |
|---|
public boolean isItalic()
isItalic in interface IFontpublic void isItalic(boolean isItalic)
isItalic in interface IFontpublic ExcelColors getKnownColor()
getKnownColor in interface IFontpublic void setKnownColor(ExcelColors knownColor)
setKnownColor in interface IFontpublic java.awt.Color getColor()
getColor in interface IFontpublic void setColor(java.awt.Color color)
setColor in interface IFontpublic boolean isBold()
isBold in interface IFontpublic void isBold(boolean isBold)
isBold in interface IFontpublic java.lang.String getFontName()
getFontName in interface IFontpublic void setFontName(java.lang.String fontName)
setFontName in interface IFontpublic double getSize()
getSize in interface IFontpublic void setSize(double size)
setSize in interface IFontpublic boolean isStrikethrough()
isStrikethrough in interface IFontpublic void isStrikethrough(boolean value)
isStrikethrough in interface IFontpublic java.lang.String getStrikethroughType()
IFont
getStrikethroughType in interface IFontpublic void setStrikethroughType(java.lang.String value)
IFont
setStrikethroughType in interface IFontpublic boolean isSubscript()
isSubscript in interface IFontpublic void isSubscript(boolean value)
isSubscript in interface IFontpublic boolean isSuperscript()
isSuperscript in interface IFontpublic void isSuperscript(boolean value)
isSuperscript in interface IFontpublic boolean isAutoColor()
isAutoColor in interface IFontpublic FontUnderlineType getUnderline()
getUnderline in interface IFontpublic void setUnderline(FontUnderlineType underline)
setUnderline in interface IFontpublic FontVertialAlignmentType getVerticalAlignment()
getVerticalAlignment in interface IFontpublic void setVerticalAlignment(FontVertialAlignmentType value)
setVerticalAlignment in interface IFontpublic java.awt.Font generateNativeFont()
generateNativeFont in interface IFontpublic java.lang.Object getParent()
public void beginUpdate()
beginUpdate in interface IOptimizedUpdatepublic void endUpdate()
endUpdate in interface IOptimizedUpdate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||