filters
Swinder::FormatFont Class Reference
#include <format.h>
Detailed Description
Defines font information for cell format.Class FormatFont defines the font family, size and other attributes for use in cell format.
Definition at line 128 of file kspread/excel/sidewinder/format.h.
Public Member Functions | |
FormatFont () | |
~FormatFont () | |
FormatFont (const FormatFont &) | |
FormatFont & | operator= (const FormatFont &) |
FormatFont & | assign (const FormatFont &) |
bool | isNull () const |
UString | fontFamily () const |
void | setFontFamily (const UString &fontFamily) |
double | fontSize () const |
void | setFontSize (double fs) |
Color | color () const |
void | setColor (const Color &color) |
bool | bold () const |
void | setBold (bool b) |
bool | italic () const |
void | setItalic (bool i) |
bool | underline () const |
void | setUnderline (bool u) |
bool | strikeout () const |
void | setStrikeout (bool s) |
bool | subscript () const |
void | setSubscript (bool s) |
bool | superscript () const |
void | setSuperscript (bool s) |
bool | operator== (const FormatFont &f) const |
bool | operator!= (const FormatFont &f) const |
Constructor & Destructor Documentation
|
Creates a default font information.
|
|
Destroys the font information.
|
|
Creates a copy of font information.
|
Member Function Documentation
|
Assigns from another font information.
|
|
Returns true if bold has been set.
|
|
Returns the color of the font.
|
|
Returns the name of font family, e.g "Helvetica".
|
|
Returns the size of font (in points).
|
|
Returns true if it is a default font information.
|
|
Returns true if italic has been set.
|
|
Returns true if this font is not equal to f; otherwise returns false.
|
|
Assigns from another font information.
|
|
Returns true if this font is equal to f; otherwise returns false.
|
|
If b is true, bold is set on; otherwise bold is set off.
|
|
Sets the color of the font.
|
|
Sets a new family for the font information.
|
|
Sets the size of font (in points).
|
|
If i is true, italic is set on; otherwise italic is set off.
|
|
If s is true, strikeout is set on; otherwise strikeout is set off.
|
|
If s is true, subscript is set on; otherwise subscript is set off.
|
|
If s is true, superscript is set on; otherwise superscript is set off.
|
|
If u is true, underline is set on; otherwise underline is set off.
|
|
Returns true if strikeout has been set.
|
|
Returns true if subscript has been set.
|
|
Returns true if superscript has been set.
|
|
Returns true if underline has been set.
|
The documentation for this class was generated from the following file: