WKS4ChartInternal::State Struct Reference documentation

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

the state of WKS4Chart More...

## Public Member Functions
| State ()
| constructor
bool | getColor (int id, WPSColor &color) const
| returns a color corresponding to an id

## Static Public Member Functions
static bool | getPattern (int id, WPSGraphicStyle::Pattern &pattern)
| returns the pattern corresponding to a pattern id between 0 and 15

## Public Attributes
long | m_eof
| the last file position
int | m_version
| the file version
std::map< int, WPSColor > | m_idToColorMap
| a map id -> color
std::vector< std::shared_ptr< Chart > > | m_chartList
| list of chart

## Detailed Description

the state of WKS4Chart

## Constructor & Destructor Documentation

## ◆ State()

WKS4ChartInternal::State::State | ( |  | ) |
| inline

constructor

Referenced by getColor().

## Member Function Documentation

## ◆ getColor()

bool WKS4ChartInternal::State::getColor | ( | int | id,
|  | WPSColor & | color ) const

returns a color corresponding to an id

## ◆ getPattern()

bool WKS4ChartInternal::State::getPattern | ( | int | id,
|  | WPSGraphicStyle::Pattern & | pattern )
| static

returns the pattern corresponding to a pattern id between 0 and 15

## Member Data Documentation

## ◆ m_chartList

std::vector<std::shared_ptr<Chart> > WKS4ChartInternal::State::m_chartList

list of chart

Referenced by State().

## ◆ m_eof

long WKS4ChartInternal::State::m_eof

the last file position

Referenced by State().

## ◆ m_idToColorMap

std::map<int, WPSColor> WKS4ChartInternal::State::m_idToColorMap

a map id -> color

Referenced by getColor(), and State().

## ◆ m_version

int WKS4ChartInternal::State::m_version

the file version

Referenced by State().

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

- WKS4Chart.cpp