91 void sendObjects(
int page);
96 return reinterpret_cast<WPS4Parser &
>(m_mainParser);
101 return reinterpret_cast<WPS4Parser const &
>(m_mainParser);
117 bool readText(
WPSEntry const &entry);
122 bool readStructures();
131 bool findFDPStructures(
int which);
134 bool findFDPStructuresByHand(
int which);
147 typedef bool (
WPS4Text::* DataParser)
148 (
long bot,
long eot,
int id,
long endPos, std::string &mess);
157 std::vector<long> &textPtrs, std::vector<long> &listValues,
158 DataParser parser = 0L);
161 bool defDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
164 bool readFontNames(
WPSEntry const &entry);
167 bool readFont(
long endPos,
int &
id, std::string &mess);
170 bool readParagraph(
long endPos,
int &
id, std::string &mess);
173 bool readDosLink(
WPSEntry const &entry);
176 bool objectDataParser(
long bot,
long eot,
int id,
177 long endPos, std::string &mess);
183 bool footNotesDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
186 bool bkmkDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
189 bool dttmDataParser(
long bot,
long eot,
int id,
long endPos, std::string &mess);
196 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:108
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:94
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:88
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:196
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:38
WPS4Parser const & mainParser() const
return the main parser
Definition: WPS4Text.h:99
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:193