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);
170 bool readParagraph(
long endPos,
int &
id, std::string &mess);
177 bool readDosLink(
WPSEntry const &entry);
180 bool objectDataParser (
long bot,
long eot,
int id,
181 long endPos, std::string &mess);
187 bool footNotesDataParser (
long bot,
long eot,
int id,
long endPos, std::string &mess);
190 bool bkmkDataParser (
long bot,
long eot,
int id,
long endPos, std::string &mess);
193 bool dttmDataParser (
long bot,
long eot,
int id,
long endPos, std::string &mess);
200 mutable shared_ptr<WPS4TextInternal::State>
m_state;
friend class WPS4Text
Definition: WPS4.h:56
shared_ptr< WPS4ContentListener > WPS4ContentListenerPtr
Definition: WPS4Graph.h:42
shared_ptr< WPXInputStream > WPXInputStreamPtr
Definition: libwps_internal.h:74
Internal: class to store font properties.
Definition: WPS4Text.cpp:175
This class parses Works version 2 through 4.
Definition: WPS4.h:52
Definition: WPSContentListener.h:168
shared_ptr< WPS4ContentListener > m_listener
Definition: WPS4.h:144
WPS4ContentListenerPtr m_listener
the listener
Definition: WPS4Text.h:197
Internal: class to store paragraph properties.
Definition: WPS4Text.cpp:237
WPS4Parser & mainParser()
return the main parser
Definition: WPS4Text.h:90
Definition: WPS4Text.cpp:81
shared_ptr< WPS4TextInternal::State > m_state
the internal state
Definition: WPS4Text.h:200
The class which parses text zones in a pc MS Works document v1-4.
Definition: WPS4Text.h:65
shared_ptr< WPS4ContentListener > WPS4ContentListenerPtr
Definition: WPS4Text.h:44
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
void setListener(WPS4ContentListenerPtr &listen)
sets the listener
Definition: WPS4Text.h:77