Internal: the state of a MsWksGraph. More...
Public Member Functions | |
State () | |
constructor More... | |
bool | getPattern (MWAWGraphicStyle::Pattern &pat, int id, long rsid=-1) |
return the pattern corresponding to an id More... | |
float | getPatternPercent (int id, long rsid=-1) |
return the percentage corresponding to a pattern More... | |
void | initPatterns (int vers) |
init the pattern value More... | |
Public Attributes | |
int | m_version |
the version More... | |
MWAWVec2f | m_leftTopPos |
the page left top position in points More... | |
std::vector< shared_ptr< Zone > > | m_zonesList |
the list of zone More... | |
std::map< int, RBZone > | m_RBsMap |
the RBIL zone id->list id More... | |
MWAWFont | m_font |
the actual font More... | |
int | m_chartId |
an index used to store chart More... | |
int | m_tableId |
an index used to store table More... | |
int | m_numPages |
the number of pages More... | |
std::map< long, Patterns > | m_rsrcPatternsMap |
a map ressource id -> patterns More... | |
Internal: the state of a MsWksGraph.
|
inline |
constructor
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
void MsWksGraphInternal::State::initPatterns | ( | int | vers | ) |
init the pattern value
Referenced by getPattern(), and getPatternPercent().
int MsWksGraphInternal::State::m_chartId |
an index used to store chart
MWAWFont MsWksGraphInternal::State::m_font |
the actual font
MWAWVec2f MsWksGraphInternal::State::m_leftTopPos |
the page left top position in points
int MsWksGraphInternal::State::m_numPages |
the number of pages
std::map<int, RBZone> MsWksGraphInternal::State::m_RBsMap |
the RBIL zone id->list id
std::map<long, Patterns> MsWksGraphInternal::State::m_rsrcPatternsMap |
a map ressource id -> patterns
Referenced by getPattern(), getPatternPercent(), and initPatterns().
int MsWksGraphInternal::State::m_tableId |
an index used to store table
int MsWksGraphInternal::State::m_version |
the version
Referenced by getPattern(), and getPatternPercent().
std::vector<shared_ptr<Zone> > MsWksGraphInternal::State::m_zonesList |
the list of zone