the main class to read a ClarisDraw style More...
#include <ClarisDrawStyleManager.hxx>
| Public Member Functions | |
| ClarisDrawStyleManager (ClarisDrawParser &parser) | |
| constructor  More... | |
| virtual | ~ClarisDrawStyleManager () | 
| destructor  More... | |
| void | setDefaultNumbers (int nColors, int nGradients) | 
| set the default number of color, ...  More... | |
| bool | getColor (int cId, MWAWColor &color) const | 
| tries to return the color corresponding to an id  More... | |
| bool | getDash (int dId, std::vector< float > &dash) const | 
| tries to return the dash definition corresponding to an id  More... | |
| bool | getFont (int fId, MWAWFont &font) const | 
| tries to return the font corresponding to an id  More... | |
| bool | getParagraph (int pId, MWAWParagraph ¶) const | 
| tries to return the paragraph corresponding to an id  More... | |
| bool | getPattern (int pId, MWAWGraphicStyle::Pattern &pattern) const | 
| tries to return the pattern corresponding to an id  More... | |
| bool | updateGradient (int gId, MWAWGraphicStyle &style) const | 
| tries to update the style gradient  More... | |
| Protected Member Functions | |
| bool | readFontStyles () | 
| tries to read the font style  More... | |
| bool | readParagraphStyles () | 
| tries to read the paragraph style  More... | |
| bool | readFontNames () | 
| tries to read the font names zone  More... | |
| bool | readColorList () | 
| bool | readPatternList () | 
| bool | readGradientList () | 
| bool | readArrows () | 
| tries to read the Arrow styles  More... | |
| bool | readDashs () | 
| tries to read the dash settings  More... | |
| bool | readRulers () | 
| tries to read the Ruler styles  More... | |
| Protected Attributes | |
| ClarisDrawParser & | m_parser | 
| the main parser  More... | |
| MWAWParserStatePtr | m_parserState | 
| the parser state  More... | |
| std::shared_ptr< ClarisDrawStyleManagerInternal::State > | m_state | 
| the state  More... | |
| Friends | |
| class | ClarisDrawParser | 
the main class to read a ClarisDraw style
| 
 | explicit | 
constructor
| 
 | virtual | 
destructor
| bool ClarisDrawStyleManager::getColor | ( | int | cId, | 
| MWAWColor & | color | ||
| ) | const | 
tries to return the color corresponding to an id
| bool ClarisDrawStyleManager::getDash | ( | int | dId, | 
| std::vector< float > & | dash | ||
| ) | const | 
tries to return the dash definition corresponding to an id
| bool ClarisDrawStyleManager::getFont | ( | int | fId, | 
| MWAWFont & | font | ||
| ) | const | 
tries to return the font corresponding to an id
| bool ClarisDrawStyleManager::getParagraph | ( | int | pId, | 
| MWAWParagraph & | para | ||
| ) | const | 
tries to return the paragraph corresponding to an id
| bool ClarisDrawStyleManager::getPattern | ( | int | pId, | 
| MWAWGraphicStyle::Pattern & | pattern | ||
| ) | const | 
tries to return the pattern corresponding to an id
| 
 | protected | 
tries to read the Arrow styles
| 
 | protected | 
| 
 | protected | 
tries to read the dash settings
| 
 | protected | 
tries to read the font names zone
| 
 | protected | 
tries to read the font style
| 
 | protected | 
| 
 | protected | 
tries to read the paragraph style
| 
 | protected | 
| 
 | protected | 
tries to read the Ruler styles
| void ClarisDrawStyleManager::setDefaultNumbers | ( | int | nColors, | 
| int | nGradients | ||
| ) | 
set the default number of color, ...
| bool ClarisDrawStyleManager::updateGradient | ( | int | gId, | 
| MWAWGraphicStyle & | style | ||
| ) | const | 
tries to update the style gradient
| 
 | friend | 
| 
 | protected | 
the main parser
| 
 | protected | 
the parser state
Referenced by readArrows(), readColorList(), readDashs(), readFontNames(), readFontStyles(), readGradientList(), readPatternList(), and readRulers().
| 
 | protected | 
the state
Referenced by getColor(), getDash(), getFont(), getParagraph(), getPattern(), readColorList(), readDashs(), readGradientList(), readPatternList(), setDefaultNumbers(), and updateGradient().