34 #ifndef NISUS_WRT_STRUCT
35 # define NISUS_WRT_STRUCT
97 return p1.
cmp(p2) < 0;
shared_ptr< Info > m_info
zone information
Definition: NisusWrtStruct.hxx:165
int m_char
the character position
Definition: NisusWrtStruct.hxx:90
friend std::ostream & operator<<(std::ostream &o, Position const &pos)
operator<<: prints data in form "XxYxZ"
Definition: NisusWrtStruct.cxx:43
a namespace used to regroup the different structure used to parse a Nisus File
Definition: NisusWrtStruct.cxx:41
bool read(NisusWrtParser &parser, MWAWEntry const &entry)
read the data
Definition: NisusWrtStruct.cxx:77
bool operator==(Position const &p2) const
operator==
Definition: NisusWrtStruct.hxx:65
RecursifData & operator=(RecursifData const &orig)
copy operator
Definition: NisusWrtStruct.hxx:152
Position()
the constructor
Definition: NisusWrtStruct.hxx:58
int cmp(Position const &p2) const
a small compare operator
Definition: NisusWrtStruct.hxx:75
a position
Definition: NisusWrtStruct.hxx:56
the data data
Definition: NisusWrtStruct.hxx:184
NisusWrtStruct::VariableType m_variableType
the variable type
Definition: NisusWrtStruct.hxx:181
a comparaison structure used to sort the position
Definition: NisusWrtStruct.hxx:93
Definition: NisusWrtStruct.hxx:50
Definition: NisusWrtStruct.hxx:53
RecursifData(NisusWrtStruct::ZoneType zone, NisusWrtStruct::VariableType vType=NisusWrtStruct::V_None, int level=0)
constructor
Definition: NisusWrtStruct.hxx:142
Definition: NisusWrtStruct.hxx:53
bool operator()(Position const &p1, Position const &p2) const
comparaison function
Definition: NisusWrtStruct.hxx:95
Node()
constructor
Definition: NisusWrtStruct.hxx:186
the zone information
Definition: NisusWrtStruct.hxx:172
Definition: NisusWrtStruct.hxx:53
bool isLeaf() const
returns true if the node is a final node
Definition: NisusWrtStruct.hxx:190
int m_word
the word
Definition: NisusWrtStruct.hxx:88
Definition: NisusWrtStruct.hxx:53
int m_paragraph
the paragraph
Definition: NisusWrtStruct.hxx:86
the main class to read a Nisus Writer file
Definition: NisusWrtParser.hxx:59
MWAWEntry m_entry
the entry
Definition: NisusWrtStruct.hxx:198
Definition: NisusWrtStruct.hxx:50
bool operator!=(Position const &p2) const
operator!=
Definition: NisusWrtStruct.hxx:70
std::vector< Node > m_childList
the list of data entry
Definition: NisusWrtStruct.hxx:169
VariableType
the different variable type
Definition: NisusWrtStruct.hxx:53
Info(NisusWrtStruct::ZoneType zType, NisusWrtStruct::VariableType vType=NisusWrtStruct::V_None)
the constructor
Definition: NisusWrtStruct.hxx:174
Definition: NisusWrtStruct.hxx:50
shared_ptr< RecursifData > m_data
the recursif data
Definition: NisusWrtStruct.hxx:200
NisusWrtStruct::ZoneType m_zoneType
the zone id
Definition: NisusWrtStruct.hxx:179
Internal: low level a structure helping to read recursifList.
Definition: NisusWrtStruct.hxx:138
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
int m_type
the variable type
Definition: NisusWrtStruct.hxx:196
ZoneType
the different zone
Definition: NisusWrtStruct.hxx:50
RecursifData(RecursifData const &orig)
copy constructor
Definition: NisusWrtStruct.hxx:147
int m_level
the node level
Definition: NisusWrtStruct.hxx:167