StudentWritingCParserInternal::State Struct Reference

Internal: the state of a StudentWritingCParser. More...

Public Member Functions

 State ()
 constructor More...
 
bool getColor (int id, MWAWColor &color) const
 try to return a color corresponding to a color id More...
 
bool checkIfZone (int id, int type) const
 small function to know if a zone with given type exists More...
 

Public Attributes

int m_actPage
 the actual page More...
 
int m_numPages
 the number of page of the final document More...
 
bool m_isUncompressed
 a flag to know if we have uncompress the data More...
 
ZoneEntry m_ids [2]
 the main zone id and the font id More...
 
std::vector< std::shared_ptr< Zone > > m_zones
 the list of zone More...
 
std::map< int, std::shared_ptr< Zone > > m_idToZoneMap
 a map id to zone data More...
 
std::map< int, std::string > m_idToFontNameMap
 a map id to font name More...
 
std::set< int > m_idToFontNameUsed
 a set to store the font name used More...
 
std::set< int > m_sendZoneSet
 a set to keep the list of send zone (to avoid loop) More...
 
std::stack< MWAWBox2fm_sendBoxesStack
 a stack of send bounding box (use to send background picture) More...
 

Detailed Description

Internal: the state of a StudentWritingCParser.

Constructor & Destructor Documentation

StudentWritingCParserInternal::State::State ( )
inline

constructor

Member Function Documentation

bool StudentWritingCParserInternal::State::checkIfZone ( int  id,
int  type 
) const
inline

small function to know if a zone with given type exists

bool StudentWritingCParserInternal::State::getColor ( int  id,
MWAWColor color 
) const
inline

try to return a color corresponding to a color id

Member Data Documentation

int StudentWritingCParserInternal::State::m_actPage

the actual page

ZoneEntry StudentWritingCParserInternal::State::m_ids[2]

the main zone id and the font id

std::map<int,std::string> StudentWritingCParserInternal::State::m_idToFontNameMap

a map id to font name

std::set<int> StudentWritingCParserInternal::State::m_idToFontNameUsed

a set to store the font name used

std::map<int,std::shared_ptr<Zone> > StudentWritingCParserInternal::State::m_idToZoneMap

a map id to zone data

Referenced by checkIfZone().

bool StudentWritingCParserInternal::State::m_isUncompressed

a flag to know if we have uncompress the data

int StudentWritingCParserInternal::State::m_numPages

the number of page of the final document

std::stack<MWAWBox2f> StudentWritingCParserInternal::State::m_sendBoxesStack

a stack of send bounding box (use to send background picture)

std::set<int> StudentWritingCParserInternal::State::m_sendZoneSet

a set to keep the list of send zone (to avoid loop)

std::vector<std::shared_ptr<Zone> > StudentWritingCParserInternal::State::m_zones

the list of zone


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

Generated on Tue Feb 8 2022 16:57:39 for libmwaw by doxygen 1.8.10