LotusChartInternal::State Struct Reference

the state of LotusChart More...

Public Member Functions

 State ()
 constructor More...
 
std::shared_ptr< ChartgetChart (int id, LotusChart &parser, std::shared_ptr< WPSStream > stream)
 returns a chart corresponding to an id, create it if needed. More...
 

Public Attributes

int m_version
 the file version More...
 
std::map< int, std::shared_ptr< Chart > > m_idChartMap
 list of chart More...
 
int m_chartId
 the current chart id(wps3Mac) More...
 

Detailed Description

the state of LotusChart

Constructor & Destructor Documentation

◆ State()

LotusChartInternal::State::State ( )
inline

constructor

Member Function Documentation

◆ getChart()

std::shared_ptr<Chart> LotusChartInternal::State::getChart ( int  id,
LotusChart parser,
std::shared_ptr< WPSStream stream 
)
inline

returns a chart corresponding to an id, create it if needed.

Note
almost always a chart definition appears before the other chart's structures, but this is not always true...

Member Data Documentation

◆ m_chartId

int LotusChartInternal::State::m_chartId

the current chart id(wps3Mac)

◆ m_idChartMap

std::map<int,std::shared_ptr<Chart> > LotusChartInternal::State::m_idChartMap

list of chart

Referenced by getChart().

◆ m_version

int LotusChartInternal::State::m_version

the file version


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

Generated on Fri May 27 2022 03:07:01 for libwps by doxygen 1.8.14