|
|||||||||
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 ifont
public void isitalic(boolean isitalic)
isitalic
in interface ifont
public excelcolors getknowncolor()
getknowncolor
in interface ifont
public void setknowncolor(excelcolors knowncolor)
setknowncolor
in interface ifont
public java.awt.color getcolor()
getcolor
in interface ifont
public void setcolor(java.awt.color color)
setcolor
in interface ifont
public boolean isbold()
isbold
in interface ifont
public void isbold(boolean isbold)
isbold
in interface ifont
public java.lang.string getfontname()
getfontname
in interface ifont
public void setfontname(java.lang.string fontname)
setfontname
in interface ifont
public double getsize()
getsize
in interface ifont
public void setsize(double size)
setsize
in interface ifont
public boolean isstrikethrough()
isstrikethrough
in interface ifont
public void isstrikethrough(boolean value)
isstrikethrough
in interface ifont
public java.lang.string getstrikethroughtype()
ifont
getstrikethroughtype
in interface ifont
public void setstrikethroughtype(java.lang.string value)
ifont
setstrikethroughtype
in interface ifont
public boolean issubscript()
issubscript
in interface ifont
public void issubscript(boolean value)
issubscript
in interface ifont
public boolean issuperscript()
issuperscript
in interface ifont
public void issuperscript(boolean value)
issuperscript
in interface ifont
public boolean isautocolor()
isautocolor
in interface ifont
public fontunderlinetype getunderline()
getunderline
in interface ifont
public void setunderline(fontunderlinetype underline)
setunderline
in interface ifont
public fontvertialalignmenttype getverticalalignment()
getverticalalignment
in interface ifont
public void setverticalalignment(fontvertialalignmenttype value)
setverticalalignment
in interface ifont
public java.awt.font generatenativefont()
generatenativefont
in interface ifont
public java.lang.object getparent()
public void beginupdate()
beginupdate
in interface ioptimizedupdate
public void endupdate()
endupdate
in interface ioptimizedupdate
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |