69 int getNumTextZones()
const;
76 int getTextZoneType(
int typeId)
const;
91 void readText(
WPSEntry const &entry);
94 void readTextInCell(
int strsId,
int cellId);
112 bool readFont(
long endPos,
int &
id, std::string &mess);
122 librevenge::RVNGString &res);
129 bool readNotes(
WPSEntry const &entry);
134 void createNotesCorrespondance();
147 typedef bool (
WPS8Text::* DataParser)
154 typedef bool (
WPS8Text::* EndDataParser)
155 (
long endPos, std::vector<long>
const &textPtrs);
164 std::vector<long> &textPtrs, std::vector<long> &listValues,
166 EndDataParser endParser = 0L);
171 bool textZonesDataParser(
long bot,
long eot,
int nId,
176 bool objectDataParser(
long bot,
long eot,
int id,
180 bool tokenEndDataParser(
long endPage, std::vector<long>
const &textPtrs);
183 bool bmktEndDataParser(
long endPage, std::vector<long>
const &textPtrs);
191 mutable shared_ptr<WPS8TextInternal::State>
m_state;
bool defDataParser(long, long, int, WPS8Struct::FileData const &data, std::string &mess)
default parser
Definition: WPS8Text.cpp:1341
shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition: libwps_internal.h:108
Definition: WPS8TextStyle.h:40
This class parses Works version 2000 through 8.
Definition: WPS8.h:49
Definition: WPS8Text.h:47
shared_ptr< WPS8TextStyle > m_styleParser
the graph parser
Definition: WPS8Text.h:189
WPSContentListenerPtr m_listener
the listener
Definition: WPS8Text.h:187
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS8TextStyle.h:50
bool readStructures()
finds all entries which correspond to the styles, parses them and stores data
Definition: WPS8TextStyle.cpp:161
Internal: the subdocument of a WPS8Text.
Definition: WPS8Text.cpp:436
bool readFont(long endPos, int &id, std::string &mess)
reads a font properties
Definition: WPS8TextStyle.cpp:344
friend class WPS8Text
Definition: WPS8TextStyle.h:42
bool readParagraph(long endPos, int &id, std::string &mess)
the paragraph
Definition: WPS8TextStyle.cpp:628
WPS8Parser const & mainParser() const
return the main parser
Definition: WPS8Text.h:103
shared_ptr< WPS8TextInternal::State > m_state
the internal state
Definition: WPS8Text.h:191
namespace used to read the structures stored in a WPS8 files
Definition: WPS8Struct.cpp:30
WPS8Text & m_mainParser
the main parser
Definition: WPS8TextStyle.h:104
Definition: WPS8Text.cpp:65
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:88
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
A recursif structure which seems generally used to store complex memory structures in a file...
Definition: WPS8Struct.h:63
WPS8Parser & mainParser()
return the main parser
Definition: WPS8Text.h:98