Go to the documentation of this file.
34 #ifndef NISUS_WRT_STRUCT
35 # define NISUS_WRT_STRUCT
100 return p1.
cmp(p2) < 0;
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
int m_level
the node level
Definition: NisusWrtStruct.hxx:178
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
Position()
the constructor
Definition: NisusWrtStruct.hxx:58
int cmp(Position const &p2) const
a small compare operator
Definition: NisusWrtStruct.hxx:78
bool read(NisusWrtParser &parser, MWAWEntry const &entry)
read the data
Definition: NisusWrtStruct.cxx:77
std::ostream & operator<<(std::ostream &o, Position const &pos)
Definition: NisusWrtStruct.cxx:43
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
bool operator==(Position const &p2) const
operator==
Definition: NisusWrtStruct.hxx:68
@ V_Numbering
Definition: NisusWrtStruct.hxx:53
@ Z_Main
Definition: NisusWrtStruct.hxx:50
Internal: low level a structure helping to read recursifList.
Definition: NisusWrtStruct.hxx:145
int m_type
the variable type
Definition: NisusWrtStruct.hxx:211
@ V_Version
Definition: NisusWrtStruct.hxx:53
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: NisusWrtParser.cxx:367
std::vector< Node > m_childList
the list of data entry
Definition: NisusWrtStruct.hxx:180
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
bool operator!=(Position const &p2) const
operator!=
Definition: NisusWrtStruct.hxx:73
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
int m_word
the word
Definition: NisusWrtStruct.hxx:91
Info(NisusWrtStruct::ZoneType zType, NisusWrtStruct::VariableType vType=NisusWrtStruct::V_None)
the constructor
Definition: NisusWrtStruct.hxx:185
@ Z_HeaderFooter
Definition: NisusWrtStruct.hxx:50
the zone information
Definition: NisusWrtStruct.hxx:183
a position
Definition: NisusWrtStruct.hxx:56
bool isLeaf() const
returns true if the node is a final node
Definition: NisusWrtStruct.hxx:205
int m_char
the character position
Definition: NisusWrtStruct.hxx:93
void setEnd(long off)
sets the end offset
Definition: MWAWEntry.hxx:77
the data data
Definition: NisusWrtStruct.hxx:196
RecursifData(RecursifData const &orig)
copy constructor
Definition: NisusWrtStruct.hxx:156
RecursifData & operator=(RecursifData const &orig)
copy operator
Definition: NisusWrtStruct.hxx:163
friend std::ostream & operator<<(std::ostream &o, Position const &pos)
operator<<: prints data in form "XxYxZ"
Definition: NisusWrtStruct.cxx:43
std::string const & name() const
name of the entry
Definition: MWAWEntry.hxx:153
int m_paragraph
the paragraph
Definition: NisusWrtStruct.hxx:89
MWAWEntry m_entry
the entry
Definition: NisusWrtStruct.hxx:213
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
NisusWrtStruct::ZoneType m_zoneType
the zone id
Definition: NisusWrtStruct.hxx:191
ZoneType
the different zone
Definition: NisusWrtStruct.hxx:50
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
a namespace used to regroup the different structure used to parse a Nisus File
Definition: NisusWrtStruct.cxx:42
std::shared_ptr< Info > m_info
zone information
Definition: NisusWrtStruct.hxx:176
@ Z_Footnote
Definition: NisusWrtStruct.hxx:50
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
VariableType
the different variable type
Definition: NisusWrtStruct.hxx:53
@ V_None
Definition: NisusWrtStruct.hxx:53
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
RecursifData(NisusWrtStruct::ZoneType zone, NisusWrtStruct::VariableType vType=NisusWrtStruct::V_None, int level=0)
constructor
Definition: NisusWrtStruct.hxx:149
@ V_Variable
Definition: NisusWrtStruct.hxx:53
bool operator()(Position const &p1, Position const &p2) const
comparaison function
Definition: NisusWrtStruct.hxx:98
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
the main class to read a Nisus Writer file
Definition: NisusWrtParser.hxx:60
std::shared_ptr< RecursifData > m_data
the recursif data
Definition: NisusWrtStruct.hxx:215
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
NisusWrtStruct::VariableType m_variableType
the variable type
Definition: NisusWrtStruct.hxx:193
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: NisusWrtParser.cxx:372
Node()
constructor
Definition: NisusWrtStruct.hxx:198
a comparaison structure used to sort the position
Definition: NisusWrtStruct.hxx:96
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20