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 |
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
FormatFont::FormatFont | ( | ) |
FormatFont::~FormatFont | ( | ) |
FormatFont::FormatFont | ( | const FormatFont & | f | ) |
Member Function Documentation
FormatFont & FormatFont::operator= | ( | const FormatFont & | f | ) |
FormatFont & FormatFont::assign | ( | const FormatFont & | f | ) |
bool FormatFont::isNull | ( | ) | const |
const UString & FormatFont::fontFamily | ( | ) | const |
void FormatFont::setFontFamily | ( | const UString & | fontFamily | ) |
double FormatFont::fontSize | ( | ) | const |
void FormatFont::setFontSize | ( | double | fs | ) |
Color FormatFont::color | ( | ) | const |
void FormatFont::setColor | ( | const Color & | color | ) |
bool FormatFont::bold | ( | ) | const |
void FormatFont::setBold | ( | bool | b | ) |
bool FormatFont::italic | ( | ) | const |
void FormatFont::setItalic | ( | bool | i | ) |
If i is true, italic is set on; otherwise italic is set off.
Definition at line 147 of file format.cpp.
bool FormatFont::underline | ( | ) | const |
void FormatFont::setUnderline | ( | bool | u | ) |
If u is true, underline is set on; otherwise underline is set off.
Definition at line 158 of file format.cpp.
bool FormatFont::strikeout | ( | ) | const |
void FormatFont::setStrikeout | ( | bool | s | ) |
If s is true, strikeout is set on; otherwise strikeout is set off.
Definition at line 169 of file format.cpp.
bool FormatFont::subscript | ( | ) | const |
void FormatFont::setSubscript | ( | bool | s | ) |
If s is true, subscript is set on; otherwise subscript is set off.
Definition at line 180 of file format.cpp.
bool FormatFont::superscript | ( | ) | const |
void FormatFont::setSuperscript | ( | bool | s | ) |
If s is true, superscript is set on; otherwise superscript is set off.
Definition at line 195 of file format.cpp.
bool FormatFont::operator== | ( | const FormatFont & | f | ) | const |
Returns true if this font is equal to f; otherwise returns false.
Definition at line 205 of file format.cpp.
bool FormatFont::operator!= | ( | const FormatFont & | f | ) | const |
Returns true if this font is not equal to f; otherwise returns false.
Definition at line 219 of file format.cpp.
The documentation for this class was generated from the following files: