90 void sendObjects(
int page);
95 return reinterpret_cast<WPS4Parser &
>(m_mainParser);
100 return reinterpret_cast<WPS4Parser const &
>(m_mainParser);
116 bool readText(
WPSEntry const &entry);
121 bool readStructures();
130 bool findFDPStructures(
int which);
133 bool findFDPStructuresByHand(
int which);
146 typedef bool (
WPS4Text::* DataParser)
147 (
long bot,
long eot,
int id,
long endPos, std::string &mess);
156 std::vector<long> &textPtrs, std::vector<long> &listValues,
157 DataParser parser =
nullptr);
160 bool defDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
163 bool readFontNames(
WPSEntry const &entry);
166 bool readFont(
long endPos,
int &
id, std::string &mess);
169 bool readParagraph(
long endPos,
int &
id, std::string &mess);
172 bool readDosLink(
WPSEntry const &entry);
175 bool objectDataParser(
long bot,
long eot,
int id,
176 long endPos, std::string &mess);
182 bool footNotesDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
185 bool bkmkDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
188 bool dttmDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
195 mutable std::shared_ptr<WPS4TextInternal::State>
m_state;
friend class WPS4Text
Definition: WPS4.h:52
Internal: class to store font properties.
Definition: WPS4Text.cpp:148
This class parses Works version 2 through 4.
Definition: WPS4.h:48
std::shared_ptr< WPSContentListener > m_listener
Definition: WPS4.h:147
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
WPS4Parser & mainParser()
return the main parser
Definition: WPS4Text.h:93
std::shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition: libwps_internal.h:107
Definition: WPS4Text.cpp:86
The class which parses text zones in a pc MS Works document v1-4.
Definition: WPS4Text.h:64
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS4Text.h:76
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
WPS4Parser const & mainParser() const
return the main parser
Definition: WPS4Text.h:98
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:192
std::shared_ptr< WPS4TextInternal::State > m_state
the internal state
Definition: WPS4Text.h:195