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, WPSColorm_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

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

◆ m_eof

long WKS4ChartInternal::State::m_eof

the last file position

◆ m_idToColorMap

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

a map id -> color

Referenced by getColor().

◆ m_version

int WKS4ChartInternal::State::m_version

the file version


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

Generated on Thu Jul 20 2023 00:00:00 for libwps by doxygen 1.9.7