Public Member Functions | |
DocumentStyle (const string &styleDefinitionPath) | |
bool | load (const string &styleDefinitionFile) |
vector< string > | getClassNames () |
KeywordStyles & | getKeywordStyles () |
string & | getFontSize () |
StyleColour & | getBgColour () |
ElementStyle & | getDefaultStyle () |
ElementStyle & | getCommentStyle () |
ElementStyle & | getSingleLineCommentStyle () |
ElementStyle & | getKeywordStyle () |
ElementStyle & | getStringStyle () |
ElementStyle & | getDirectiveStringStyle () |
ElementStyle & | getEscapeCharStyle () |
ElementStyle & | getNumberStyle () |
ElementStyle & | getDirectiveStyle () |
ElementStyle & | getTypeStyle () |
ElementStyle & | getLineStyle () |
ElementStyle & | getSymbolStyle () |
ElementStyle & | getKeywordStyle (const string &className) |
bool | found () const |
highlight::DocumentStyle::DocumentStyle | ( | const string & | styleDefinitionPath | ) |
Constructor
styleDefinitionPath | Style definition path |
bool highlight::DocumentStyle::load | ( | const string & | styleDefinitionFile | ) |
load sytle definition
styleDefinitionFile | Style definition path |
vector< string > highlight::DocumentStyle::getClassNames | ( | ) |
KeywordStyles & highlight::DocumentStyle::getKeywordStyles | ( | ) |
string & highlight::DocumentStyle::getFontSize | ( | ) |
StyleColour & highlight::DocumentStyle::getBgColour | ( | ) |
ElementStyle & highlight::DocumentStyle::getDefaultStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getCommentStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getSingleLineCommentStyle | ( | ) |
ElementStyle& highlight::DocumentStyle::getKeywordStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getStringStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getDirectiveStringStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getEscapeCharStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getNumberStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getDirectiveStyle | ( | ) |
ElementStyle& highlight::DocumentStyle::getTypeStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getLineStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getSymbolStyle | ( | ) |
ElementStyle & highlight::DocumentStyle::getKeywordStyle | ( | const string & | className | ) |
className | Name of keyword class |
bool highlight::DocumentStyle::found | ( | ) | const |