Public Member Functions | |
ElementStyle (StyleColour col, bool b, bool i, bool u) | |
ElementStyle (const string &elementStyleString) | |
void | set (const string &elementStyleString) |
bool | isItalic () const |
bool | isBold () const |
bool | isUnderline () const |
StyleColour | getColour () const |
highlight::ElementStyle::ElementStyle | ( | StyleColour | col, | |
bool | b, | |||
bool | i, | |||
bool | u | |||
) |
Constructor
col | Style colour | |
b | Bold flag | |
i | Italic flag | |
u | Underline flag |
highlight::ElementStyle::ElementStyle | ( | const string & | elementStyleString | ) |
Constuctor
elementStyleString | String with fotmatting information |
void highlight::ElementStyle::set | ( | const string & | elementStyleString | ) |
initialize object
elementStyleString | String which contains formatting attributes |
bool highlight::ElementStyle::isItalic | ( | ) | const |
bool highlight::ElementStyle::isBold | ( | ) | const |
bool highlight::ElementStyle::isUnderline | ( | ) | const |
StyleColour highlight::ElementStyle::getColour | ( | ) | const |