34 #ifndef NISUS_WRT_STRUCT 35 # define NISUS_WRT_STRUCT 100 return p1.
cmp(p2) < 0;
std::shared_ptr< RecursifData > m_data
the recursif data
Definition: NisusWrtStruct.hxx:215
int m_char
the character position
Definition: NisusWrtStruct.hxx:93
int cmp(Position const &p2) const
a small compare operator
Definition: NisusWrtStruct.hxx:78
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
RecursifData & operator=(RecursifData const &orig)
copy operator
Definition: NisusWrtStruct.hxx:163
Position()
the constructor
Definition: NisusWrtStruct.hxx:58
a position
Definition: NisusWrtStruct.hxx:56
the data data
Definition: NisusWrtStruct.hxx:196
NisusWrtStruct::VariableType m_variableType
the variable type
Definition: NisusWrtStruct.hxx:193
a comparaison structure used to sort the position
Definition: NisusWrtStruct.hxx:96
Definition: NisusWrtStruct.hxx:53
Definition: NisusWrtStruct.hxx:50
RecursifData(NisusWrtStruct::ZoneType zone, NisusWrtStruct::VariableType vType=NisusWrtStruct::V_None, int level=0)
constructor
Definition: NisusWrtStruct.hxx:149
Definition: NisusWrtStruct.hxx:53
Definition: NisusWrtStruct.hxx:50
Node()
constructor
Definition: NisusWrtStruct.hxx:198
the zone information
Definition: NisusWrtStruct.hxx:183
Definition: NisusWrtStruct.hxx:53
bool operator!=(Position const &p2) const
operator!=
Definition: NisusWrtStruct.hxx:73
int m_word
the word
Definition: NisusWrtStruct.hxx:91
Definition: NisusWrtStruct.hxx:53
int m_paragraph
the paragraph
Definition: NisusWrtStruct.hxx:89
the main class to read a Nisus Writer file
Definition: NisusWrtParser.hxx:59
std::shared_ptr< Info > m_info
zone information
Definition: NisusWrtStruct.hxx:176
MWAWEntry m_entry
the entry
Definition: NisusWrtStruct.hxx:213
bool isLeaf() const
returns true if the node is a final node
Definition: NisusWrtStruct.hxx:205
std::vector< Node > m_childList
the list of data entry
Definition: NisusWrtStruct.hxx:180
ZoneType
the different zone
Definition: NisusWrtStruct.hxx:50
VariableType
the different variable type
Definition: NisusWrtStruct.hxx:53
Info(NisusWrtStruct::ZoneType zType, NisusWrtStruct::VariableType vType=NisusWrtStruct::V_None)
the constructor
Definition: NisusWrtStruct.hxx:185
bool operator==(Position const &p2) const
operator==
Definition: NisusWrtStruct.hxx:68
NisusWrtStruct::ZoneType m_zoneType
the zone id
Definition: NisusWrtStruct.hxx:191
Definition: NisusWrtStruct.hxx:50
Internal: low level a structure helping to read recursifList.
Definition: NisusWrtStruct.hxx:145
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
int m_type
the variable type
Definition: NisusWrtStruct.hxx:211
RecursifData(RecursifData const &orig)
copy constructor
Definition: NisusWrtStruct.hxx:156
bool operator()(Position const &p1, Position const &p2) const
comparaison function
Definition: NisusWrtStruct.hxx:98
int m_level
the node level
Definition: NisusWrtStruct.hxx:178