92 return reinterpret_cast<WPS4Parser &
>(m_mainParser);
97 return reinterpret_cast<WPS4Parser const &
>(m_mainParser);
113 bool readText(
WPSEntry const &entry);
118 bool readStructures();
127 bool findFDPStructures(
int which);
130 bool findFDPStructuresByHand(
int which);
143 typedef bool (
WPS4Text::* DataParser)
144 (
long bot,
long eot,
int id,
long endPos, std::string &mess);
153 std::vector<long> &textPtrs, std::vector<long> &listValues,
154 DataParser parser = 0L);
157 bool defDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
160 bool readFontNames(
WPSEntry const &entry);
163 bool readFont(
long endPos,
int &
id, std::string &mess);
166 bool readParagraph(
long endPos,
int &
id, std::string &mess);
169 bool readDosLink(
WPSEntry const &entry);
172 bool objectDataParser(
long bot,
long eot,
int id,
173 long endPos, std::string &mess);
179 bool footNotesDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
182 bool bkmkDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
185 bool dttmDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
192 mutable shared_ptr<WPS4TextInternal::State>
m_state;
friend class WPS4Text
Definition: WPS4.h:52
shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition: libwps_internal.h:106
Internal: class to store font properties.
Definition: WPS4Text.cpp:142
This class parses Works version 2 through 4.
Definition: WPS4.h:48
WPS4Parser & mainParser()
return the main parser
Definition: WPS4Text.h:90
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
Definition: WPS4Text.cpp:82
shared_ptr< WPSContentListener > m_listener
Definition: WPS4.h:147
shared_ptr< WPS4TextInternal::State > m_state
the internal state
Definition: WPS4Text.h:192
The class which parses text zones in a pc MS Works document v1-4.
Definition: WPS4Text.h:65
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS4Text.h:77
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:37
WPS4Parser const & mainParser() const
return the main parser
Definition: WPS4Text.h:95
class used to defined the ancestor of parser which manages the text data
Definition: WPSTextParser.h:39
WPSContentListenerPtr m_listener
the listener
Definition: WPS4Text.h:189