27 #include <libwpd-stream/WPXStream.h> 64 void parse(WPXDocumentInterface *documentInterface);
67 bool getColor(
int id, uint32_t &color)
const;
70 long getSizeFile()
const;
72 void setSizeFile(
long sz);
74 bool checkInFile(
long pos);
77 void newPage(
int number);
79 void setListener(shared_ptr<WPS4ContentListener> listener);
82 bool createStructures();
84 bool createOLEStructures();
86 shared_ptr<WPS4ContentListener> createListener(WPXDocumentInterface *interface);
91 float pageHeight()
const;
93 float pageWidth()
const;
95 int numColumns()
const;
102 void createNote(
WPSEntry const &entry, WPXString
const &label);
104 void createTextBox(
WPSEntry const &entry,
WPSPosition const &pos, WPXPropertyList &extras);
118 void sendObject(
Vec2f const &size,
int id);
130 bool parseEntry(std::string
const &
name);
136 bool readPrnt(
WPSEntry const &entry);
142 bool readDocWindowsInfo(
WPSEntry const &entry);
150 shared_ptr<WPS4ParserInternal::State>
m_state;
shared_ptr< WPS4Graph > m_graphParser
the graph parser
Definition: WPS4.h:146
Internal: the subdocument of a WPS4Parser.
Definition: WPS4.cpp:46
shared_ptr< WPXInputStream > WPXInputStreamPtr
Definition: libwps_internal.h:74
This class parses Works version 2 through 4.
Definition: WPS4.h:52
WPSContentListener WPS4ContentListener
Definition: WPS4.h:33
Definition: WPSContentListener.h:168
shared_ptr< WPS4ContentListener > m_listener
Definition: WPS4.h:144
Definition: WPSParser.h:41
the main class to read/store picture in a Pc MS Works document v1-4
Definition: WPS4Graph.h:62
friend class WPS4Parser
Definition: WPS4Text.h:67
SubDocumentType
Definition: libwps_internal.h:265
shared_ptr< WPS4Text > m_textParser
the text parser
Definition: WPS4.h:148
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:150
Definition: WPSPageSpan.h:42
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
void setListener(WPS4ContentListenerPtr &listen)
sets the listener
Definition: WPS4Text.h:77