75 int getNumTextZones()
const;
82 int getTextZoneType(
int typeId)
const;
97 void readText(
WPSEntry const &entry);
100 void readTextInCell(
int strsId,
int cellId);
118 bool readFont(
long endPos,
int &
id, std::string &mess);
135 bool readNotes(
WPSEntry const &entry);
140 void createNotesCorrespondance();
152 typedef bool (
WPS8Text::* DataParser)
159 typedef bool (
WPS8Text::* EndDataParser)
160 (
long endPos, std::vector<long>
const &textPtrs);
169 std::vector<long> &textPtrs, std::vector<long> &listValues,
171 EndDataParser endParser = 0L);
176 bool textZonesDataParser(
long bot,
long eot,
int nId,
181 bool objectDataParser(
long bot,
long eot,
int id,
185 bool tokenEndDataParser(
long endPage, std::vector<long>
const &textPtrs);
188 bool bmktEndDataParser(
long endPage, std::vector<long>
const &textPtrs);
196 mutable shared_ptr<WPS8TextInternal::State>
m_state;
bool defDataParser(long, long, int, WPS8Struct::FileData const &data, std::string &mess)
default parser
Definition: WPS8Text.cpp:1342
WPS8ContentListenerPtr m_listener
the listener
Definition: WPS8Text.h:192
Definition: WPS8TextStyle.h:50
This class parses Works version 2000 through 8.
Definition: WPS8.h:53
shared_ptr< WPXInputStream > WPXInputStreamPtr
Definition: libwps_internal.h:74
Definition: WPS8Text.h:53
shared_ptr< WPS8TextStyle > m_styleParser
the graph parser
Definition: WPS8Text.h:194
shared_ptr< WPS8ContentListener > WPS8ContentListenerPtr
Definition: WPS8Text.h:37
Definition: WPSContentListener.h:168
bool readStructures()
finds all entries which correspond to the styles, parses them and stores data
Definition: WPS8TextStyle.cpp:199
Internal: the subdocument of a WPS8Text.
Definition: WPS8Text.cpp:430
bool readFont(long endPos, int &id, std::string &mess)
reads a font properties
Definition: WPS8TextStyle.cpp:378
friend class WPS8Text
Definition: WPS8TextStyle.h:52
bool readParagraph(long endPos, int &id, std::string &mess)
the paragraph
Definition: WPS8TextStyle.cpp:662
WPS8Parser const & mainParser() const
return the main parser
Definition: WPS8Text.h:109
shared_ptr< WPS8TextInternal::State > m_state
the internal state
Definition: WPS8Text.h:196
namespace used to read the structures stored in a WPS8 files
Definition: WPS8Struct.cpp:30
shared_ptr< WPS8ContentListener > WPS8ContentListenerPtr
Definition: WPS8Graph.h:43
WPS8Text & m_mainParser
the main parser
Definition: WPS8TextStyle.h:114
Definition: WPS8Text.cpp:65
void setListener(WPS8ContentListenerPtr &listen)
sets the listener
Definition: WPS8TextStyle.h:60
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:37
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39
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:104