MsWksGraphInternal::State Struct Reference

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

List of all members.

Public Member Functions

 State ()
 constructor
bool getPattern (MWAWGraphicStyle::Pattern &pat, int id, long rsid=-1)
 return the pattern corresponding to an id
float getPatternPercent (int id, long rsid=-1)
 return the percentage corresponding to a pattern
void initPatterns (int vers)
 init the pattern value

Public Attributes

int m_version
 the version
MWAWVec2f m_leftTopPos
 the page left top position in points
std::vector< shared_ptr< Zone > > m_zonesList
 the list of zone
std::map< int, RBZonem_RBsMap
 the RBIL zone id->list id
MWAWFont m_font
 the actual font
int m_chartId
 an index used to store chart
int m_tableId
 an index used to store table
int m_numPages
 the number of pages
std::map< long, Patternsm_rsrcPatternsMap
 a map ressource id -> patterns

Detailed Description

Internal: the state of a MsWksGraph.


Constructor & Destructor Documentation

constructor


Member Function Documentation

bool MsWksGraphInternal::State::getPattern ( MWAWGraphicStyle::Pattern pat,
int  id,
long  rsid = -1 
)

return the pattern corresponding to an id

float MsWksGraphInternal::State::getPatternPercent ( int  id,
long  rsid = -1 
)

return the percentage corresponding to a pattern

init the pattern value

Referenced by getPattern(), and getPatternPercent().


Member Data Documentation

an index used to store chart

the page left top position in points

the number of pages

the RBIL zone id->list id

a map ressource id -> patterns

Referenced by getPattern(), getPatternPercent(), and initPatterns().

an index used to store table

std::vector<shared_ptr<Zone> > MsWksGraphInternal::State::m_zonesList

the list of zone


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