the style manager More...
Public Member Functions | |
| StyleManager () | |
| void | add (int id, Style const &st) |
| add a new style and returns its id | |
| bool | get (int id, Style &style) const |
| returns the style with id | |
| void | print (int id, std::ostream &o) const |
| print a style | |
Protected Attributes | |
| std::map< int, Style > | m_idStyleMap |
| the styles | |
the style manager
| void QuattroSpreadsheetInternal::StyleManager::add | ( | int | id, |
| Style const & | st | ||
| ) | [inline] |
add a new style and returns its id
| bool QuattroSpreadsheetInternal::StyleManager::get | ( | int | id, |
| Style & | style | ||
| ) | const [inline] |
returns the style with id
| void QuattroSpreadsheetInternal::StyleManager::print | ( | int | id, |
| std::ostream & | o | ||
| ) | const [inline] |
print a style
std::map<int, Style> QuattroSpreadsheetInternal::StyleManager::m_idStyleMap [protected] |