MsWksGraphInternal::State Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
MsWksGraphInternal::State Struct Reference

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...
Vec2f | 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...

## Detailed Description

Internal: the state of a MsWksGraph.

## Constructor & Destructor Documentation

MsWksGraphInternal::State::State | ( |  | ) |
| inline

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

void MsWksGraphInternal::State::initPatterns | ( | int | vers | ) |

init the pattern value

Referenced by getPattern(), and getPatternPercent().

## Member Data Documentation

int MsWksGraphInternal::State::m_chartId

an index used to store chart

MWAWFont MsWksGraphInternal::State::m_font

the actual font

Vec2f 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

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

- MsWksGraph.cxx