Internal: struct used to store zone data of a MarinerWrtText. More...
Classes | |
struct | Information |
struct used to keep the information of a small zone of MarinerWrtTextInternal::Zone More... | |
Public Member Functions | |
Zone (int zId) | |
constructor | |
bool | getPosition (long cPos, long &fPos, size_t &subZone) const |
returns the file position and the number of the sub zone | |
long | length () const |
returns the zone length | |
bool | getFont (int id, Font &ft) const |
returns a fonts corresponding to an id (if possible) | |
bool | getRuler (int id, Paragraph &ruler) const |
returns a ruler corresponding to an id (if possible) | |
Public Attributes | |
int | m_id |
the zone id | |
std::vector< Information > | m_infoList |
the list of information of the text in the file | |
std::vector< Font > | m_fontList |
a list of font | |
std::vector< Paragraph > | m_rulerList |
a list of ruler | |
std::map< int, int > | m_idFontMap |
a map id -> fontId | |
std::map< long, int > | m_posFontMap |
a map pos -> fontId | |
std::map< long, int > | m_posRulerMap |
a map pos -> rulerId | |
int | m_actZone |
a index used to know the next zone in MarinerWrtText::readZone | |
bool | m_parsed |
a flag to know if the zone is parsed | |
Internal: struct used to store zone data of a MarinerWrtText.
|
inlineexplicit |
constructor
|
inline |
returns a fonts corresponding to an id (if possible)
Referenced by MarinerWrtText::send().
|
inline |
returns the file position and the number of the sub zone
Referenced by MarinerWrtText::findTableStructure(), and MarinerWrtText::send().
|
inline |
returns a ruler corresponding to an id (if possible)
Referenced by MarinerWrtText::findTableStructure(), MarinerWrtText::send(), and MarinerWrtText::sendTable().
|
inline |
returns the zone length
int MarinerWrtTextInternal::Zone::m_actZone |
a index used to know the next zone in MarinerWrtText::readZone
std::vector<Font> MarinerWrtTextInternal::Zone::m_fontList |
a list of font
int MarinerWrtTextInternal::Zone::m_id |
the zone id
Referenced by MarinerWrtText::send().
std::map<int,int> MarinerWrtTextInternal::Zone::m_idFontMap |
a map id -> fontId
std::vector<Information> MarinerWrtTextInternal::Zone::m_infoList |
the list of information of the text in the file
Referenced by MarinerWrtText::computeNumPages(), MarinerWrtText::findTableStructure(), and MarinerWrtText::send().
|
mutable |
a flag to know if the zone is parsed
Referenced by MarinerWrtText::send().
std::map<long,int> MarinerWrtTextInternal::Zone::m_posFontMap |
a map pos -> fontId
Referenced by MarinerWrtText::send().
std::map<long,int> MarinerWrtTextInternal::Zone::m_posRulerMap |
a map pos -> rulerId
Referenced by MarinerWrtText::findTableStructure(), and MarinerWrtText::send().
std::vector<Paragraph> MarinerWrtTextInternal::Zone::m_rulerList |
a list of ruler