ClarisDrawStyleManager Class Reference

the main class to read a ClarisDraw style More...

#include <ClarisDrawStyleManager.hxx>

List of all members.

Public Member Functions

 ClarisDrawStyleManager (ClarisDrawParser &parser)
 constructor
virtual ~ClarisDrawStyleManager ()
 destructor
void setDefaultNumbers (int nColors, int nGradients)
 set the default number of color, ...
bool getColor (int cId, MWAWColor &color) const
 tries to return the color corresponding to an id
bool getDash (int dId, std::vector< float > &dash) const
 tries to return the dash definition corresponding to an id
bool getFont (int fId, MWAWFont &font) const
 tries to return the font corresponding to an id
bool getParagraph (int pId, MWAWParagraph &para) const
 tries to return the paragraph corresponding to an id
bool getPattern (int pId, MWAWGraphicStyle::Pattern &pattern) const
 tries to return the pattern corresponding to an id
bool updateGradient (int gId, MWAWGraphicStyle &style) const
 tries to update the style gradient

Protected Member Functions

bool readFontStyles ()
 tries to read the font style
bool readParagraphStyles ()
 tries to read the paragraph style
bool readFontNames ()
 tries to read the font names zone
bool readColorList ()
bool readPatternList ()
bool readGradientList ()
bool readArrows ()
 tries to read the Arrow styles
bool readDashs ()
 tries to read the dash settings
bool readRulers ()
 tries to read the Ruler styles

Protected Attributes

ClarisDrawParserm_parser
 the main parser
MWAWParserStatePtr m_parserState
 the parser state
shared_ptr
< ClarisDrawStyleManagerInternal::State
m_state
 the state

Friends

class ClarisDrawParser

Detailed Description

the main class to read a ClarisDraw style


Constructor & Destructor Documentation


Member Function Documentation

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

bool ClarisDrawStyleManager::readArrows ( ) [protected]

tries to read the Arrow styles

bool ClarisDrawStyleManager::readDashs ( ) [protected]

tries to read the dash settings

tries to read the font names zone

tries to read the font style

tries to read the paragraph style

bool ClarisDrawStyleManager::readRulers ( ) [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


Friends And Related Function Documentation

friend class ClarisDrawParser [friend]

Member Data Documentation

the main parser


The documentation for this class was generated from the following files: