26 #ifndef WPS_TEXT_PARSER_H    27 #define WPS_TEXT_PARSER_H    92         (std::vector<DataFOD> 
const &lst1, std::vector<DataFOD> 
const &lst2) 
const;
   100                                                   int &id, std::string &mess);
   105                      std::vector<DataFOD> &fods, 
FDPParser parser);
 std::vector< DataFOD > m_FODList
the list of a FOD 
Definition: WPSTextParser.h:130
structure which retrieves data information which correspond to a text position 
Definition: WPSTextParser.h:66
Definition: WPSTextParser.h:74
RVNGInputStreamPtr m_input
the main input 
Definition: WPSTextParser.h:124
WPSTextParser(WPSParser &parser, RVNGInputStreamPtr &input)
constructor 
Definition: WPSTextParser.cpp:38
libwps::DebugFile & m_asciiFile
the ascii file 
Definition: WPSTextParser.h:132
std::multimap< std::string, WPSEntry > & getNameEntryMap()
returns the map type->entry 
Definition: WPSTextParser.cpp:54
Definition: WPSDebug.h:196
libwps::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document 
Definition: WPSTextParser.h:109
bool(WPSTextParser::* FDPParser)(long endPos, int &id, std::string &mess)
callback when a new attribute is found in an FDPP/FDPC entry 
Definition: WPSTextParser.h:99
Definition: WPSTextParser.h:74
Definition: WPSParser.h:35
int m_version
the file version 
Definition: WPSTextParser.h:122
WPSEntry m_textPositions
an entry which corresponds to the complete text zone 
Definition: WPSTextParser.h:128
RVNGInputStreamPtr & getInput()
returns the actual input 
Definition: WPSTextParser.h:49
int m_id
an identificator (which must be unique by category) 
Definition: WPSTextParser.h:86
WPSParser & m_mainParser
pointer to the main zone parser; 
Definition: WPSTextParser.h:126
WPSTextParser & operator=(WPSTextParser const &parser)
private copy operator: forbidden 
int version() const
returns the file version 
Definition: WPSTextParser.cpp:47
Definition: WPSTextParser.h:74
std::vector< DataFOD > mergeSortedFODLists(std::vector< DataFOD > const &lst1, std::vector< DataFOD > const &lst2) const
function which takes two sorted list of attribute (by text position). 
Definition: WPSTextParser.cpp:249
Type
different type which can be associated to a text position 
Definition: WPSTextParser.h:74
virtual ~WPSTextParser()
virtual destructor 
Definition: WPSTextParser.cpp:44
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream 
Definition: libwps_internal.h:102
DataFOD()
the constructor 
Definition: WPSTextParser.h:77
bool readFDP(WPSEntry const &entry, std::vector< DataFOD > &fods, FDPParser parser)
parses a FDPP or a FDPC entry (which contains a list of ATTR_TEXT/ATTR_PARAG with their definition ) ...
Definition: WPSTextParser.cpp:67
long m_defPos
the offset position of the definition of the attribute in the file 
Definition: WPSTextParser.h:84
Definition: WPSTextParser.h:74
Type m_type
the type of the attribute 
Definition: WPSTextParser.h:80
basic class to store an entry in a file This contained : 
Definition: WPSEntry.h:38
class used to defined the ancestor of parser which manages the text data 
Definition: WPSTextParser.h:39
long m_pos
the offset position of the text modified by this attribute 
Definition: WPSTextParser.h:82