HanMacWrdJGraphInternal::State Struct Reference

Internal: the state of a HanMacWrdJGraph. More...

Public Member Functions

 State ()
 constructor More...
 
shared_ptr< FramefindFrame (int type, int lId) const
 tries to find the lId the frame of a given type More...
 
FrameFormat const & getFrameFormat (int id) const
 returns the frame format corresponding to an id More...
 
bool getColor (int id, MWAWColor &col)
 returns a color correspond to an id More...
 
bool getPattern (int id, Pattern &pattern)
 returns a pattern correspond to an id More...
 
void initColors ()
 init the color list More...
 
void initPatterns ()
 init the pattenr list More...
 

Static Public Member Functions

static MWAWColor getColor (MWAWColor col, float pattern)
 returns a color corresponding to a pattern and a color More...
 

Public Attributes

std::vector< shared_ptr< Frame > > m_framesList
 the list of frames More...
 
std::map< long, int > m_framesMap
 a map zId->frame pos in frames list More...
 
std::vector< FrameFormatm_frameFormatsList
 the list of frame format More...
 
int m_numPages
 
std::vector< MWAWColorm_colorList
 a list colorId -> color More...
 
std::vector< Patternm_patternList
 a list patternId -> pattern More...
 
FrameFormat m_defaultFormat
 empty format used to return a default format More...
 

Detailed Description

Internal: the state of a HanMacWrdJGraph.

Constructor & Destructor Documentation

HanMacWrdJGraphInternal::State::State ( )
inline

constructor

Member Function Documentation

shared_ptr<Frame> HanMacWrdJGraphInternal::State::findFrame ( int  type,
int  lId 
) const
inline

tries to find the lId the frame of a given type

bool HanMacWrdJGraphInternal::State::getColor ( int  id,
MWAWColor col 
)
inline

returns a color correspond to an id

static MWAWColor HanMacWrdJGraphInternal::State::getColor ( MWAWColor  col,
float  pattern 
)
inlinestatic

returns a color corresponding to a pattern and a color

FrameFormat const& HanMacWrdJGraphInternal::State::getFrameFormat ( int  id) const
inline

returns the frame format corresponding to an id

bool HanMacWrdJGraphInternal::State::getPattern ( int  id,
Pattern pattern 
)
inline

returns a pattern correspond to an id

void HanMacWrdJGraphInternal::State::initColors ( )

init the color list

void HanMacWrdJGraphInternal::State::initPatterns ( )

init the pattenr list

Member Data Documentation

std::vector<MWAWColor> HanMacWrdJGraphInternal::State::m_colorList

a list colorId -> color

FrameFormat HanMacWrdJGraphInternal::State::m_defaultFormat

empty format used to return a default format

std::vector<FrameFormat> HanMacWrdJGraphInternal::State::m_frameFormatsList

the list of frame format

std::vector<shared_ptr<Frame> > HanMacWrdJGraphInternal::State::m_framesList

the list of frames

std::map<long, int> HanMacWrdJGraphInternal::State::m_framesMap

a map zId->frame pos in frames list

int HanMacWrdJGraphInternal::State::m_numPages
std::vector<Pattern> HanMacWrdJGraphInternal::State::m_patternList

a list patternId -> pattern


The documentation for this struct was generated from the following file:

Generated for libmwaw by doxygen 1.8.11