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