Quattro9GraphInternal::State Struct Reference

the state of Quattro9Graph More...

Public Member Functions

 State ()
 constructor More...
 
void storeGraph (std::shared_ptr< Graph > graph)
 store a graph More...
 
bool getColor (int id, WPSColor &color) const
 returns the color corresponding to an id More...
 
bool getPattern24 (int id, WPSGraphicStyle::Pattern &pattern) const
 returns the pattern corresponding to a pattern id between 0 and 24 More...
 
bool getPattern32 (int id, WPSGraphicStyle::Pattern &pattern)
 returns the pattern corresponding to a pattern id between 0 and 32 More...
 

Public Attributes

int m_version
 the file version More...
 
int m_actualSheet
 the actual sheet id More...
 
int m_zoneDepth
 current zone begin/end depth More...
 
std::shared_ptr< Graphm_actualGraph
 the actual graph More...
 
int m_actualGraphDepth
 the depth which correspond to the creation of the graph More...
 
std::vector< WPSColorm_colorsList
 the color list More...
 
std::vector
< WPSGraphicStyle::Pattern
m_patterns32List
 the pattern 32 list More...
 
std::multimap< int,
std::shared_ptr< Graph > > 
m_sheetIdToGraphMap
 a multimap sheetId to graph More...
 
std::map
< librevenge::RVNGString,
WPSEmbeddedObject
m_linkNameToObjectMap
 a map link name to object More...
 

Detailed Description

the state of Quattro9Graph

Constructor & Destructor Documentation

Quattro9GraphInternal::State::State ( )
inline

constructor

Member Function Documentation

bool Quattro9GraphInternal::State::getColor ( int  id,
WPSColor color 
) const

returns the color corresponding to an id

bool Quattro9GraphInternal::State::getPattern24 ( int  id,
WPSGraphicStyle::Pattern pattern 
) const

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

bool Quattro9GraphInternal::State::getPattern32 ( int  id,
WPSGraphicStyle::Pattern pattern 
)

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

void Quattro9GraphInternal::State::storeGraph ( std::shared_ptr< Graph graph)
inline

store a graph

Member Data Documentation

std::shared_ptr<Graph> Quattro9GraphInternal::State::m_actualGraph

the actual graph

Referenced by storeGraph().

int Quattro9GraphInternal::State::m_actualGraphDepth

the depth which correspond to the creation of the graph

Referenced by storeGraph().

int Quattro9GraphInternal::State::m_actualSheet

the actual sheet id

Referenced by storeGraph().

std::vector<WPSColor> Quattro9GraphInternal::State::m_colorsList

the color list

Referenced by getColor().

std::map<librevenge::RVNGString,WPSEmbeddedObject> Quattro9GraphInternal::State::m_linkNameToObjectMap

a map link name to object

std::vector<WPSGraphicStyle::Pattern> Quattro9GraphInternal::State::m_patterns32List

the pattern 32 list

Referenced by getPattern32().

std::multimap<int, std::shared_ptr<Graph> > Quattro9GraphInternal::State::m_sheetIdToGraphMap

a multimap sheetId to graph

Referenced by storeGraph().

int Quattro9GraphInternal::State::m_version

the file version

int Quattro9GraphInternal::State::m_zoneDepth

current zone begin/end depth

Referenced by storeGraph().


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

Generated on Wed Dec 26 2018 19:08:25 for libwps by doxygen 1.8.8