27 #include <librevenge-stream/librevenge-stream.h> 61 void parse(librevenge::RVNGTextInterface *documentInterface);
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);
76 void setListener(shared_ptr<WPSContentListener> listener);
79 bool createStructures();
81 bool createOLEStructures();
83 shared_ptr<WPSContentListener> createListener(librevenge::RVNGTextInterface *interface);
88 float pageHeight()
const;
90 float pageWidth()
const;
92 int numColumns()
const;
105 void createNote(
WPSEntry const &entry, librevenge::RVNGString
const &label);
107 void createTextBox(
WPSEntry const &entry,
WPSPosition const &pos, librevenge::RVNGPropertyList &extras);
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);
153 shared_ptr<WPS4ParserInternal::State>
m_state;
shared_ptr< WPS4Graph > m_graphParser
the graph parser
Definition: WPS4.h:149
Internal: the subdocument of a WPS4Parser.
Definition: WPS4.cpp:45
This class parses Works version 2 through 4.
Definition: WPS4.h:48
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
shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:124
SubDocumentType
Definition: libwps_internal.h:260
shared_ptr< WPS4Text > m_textParser
the text parser
Definition: WPS4.h:151
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:102
the class to store a color
Definition: libwps_internal.h:287
shared_ptr< WPSContentListener > m_listener
Definition: WPS4.h:147
The class which parses text zones in a pc MS Works document v1-4.
Definition: WPS4Text.h:65
shared_ptr< WPS4ParserInternal::State > m_state
the internal state
Definition: WPS4.h:153
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