27 #include <librevenge-stream/librevenge-stream.h> 61 void parse(
librevenge::RVNGTextInterface *documentInterface) final;
63 bool checkHeader(
WPSHeader *header,
bool strict=false);
66 bool getColor(
int id,
WPSColor &color) const;
69 void setSizeFile(
long sz);
71 bool checkFilePosition(
long pos);
74 void newPage(
int number);
79 bool createStructures();
81 bool createOLEStructures();
88 float pageHeight() const;
90 float pageWidth() const;
92 int numColumns() const;
121 void sendObject(
WPSPosition const &position,
int id);
133 bool parseEntry(std::
string const &
name);
139 bool readPrnt(
WPSEntry const &entry);
145 bool readDocWindowsInfo(
WPSEntry const &entry);
Internal: the subdocument of a WPS4Parser.
Definition: WPS4.cpp:45
Definition: libwps_internal.cpp:38
Definition: WPSOLEStream.h:33
This class parses Works version 2 through 4.
Definition: WPS4.h:48
Definition: WPSContentListener.h:44
Definition: WPSParser.h:35
the main class to read/store picture in a Pc MS Works document v1-4
Definition: WPS4Graph.h:56
friend class WPS4Parser
Definition: WPS4Text.h:67
SubDocumentType
Definition: libwps_internal.h:248
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
the class to store a color
Definition: libwps_internal.h:280
The class which parses text zones in a pc MS Works document v1-4.
Definition: WPS4Text.h:65
Definition: WPSPageSpan.h:38
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
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
WPSContentListenerPtr m_listener
the listener
Definition: WPS4Text.h:193
std::shared_ptr< WPS4TextInternal::State > m_state
the internal state
Definition: WPS4Text.h:196