27 #include <libwpd/libwpd.h> 66 void parse(WPXDocumentInterface *documentInterface);
69 bool checkInFile(
long pos);
72 void newPage(
int number);
74 void setListener(shared_ptr<WPS8ContentListener> listener);
76 shared_ptr<WPS8ContentListener> createListener(WPXDocumentInterface *interface);
79 bool createStructures();
81 bool createOLEStructures();
84 float pageHeight()
const;
86 float pageWidth()
const;
88 int numColumns()
const;
91 void sendPageFrames();
95 void sendTextBox(
WPSPosition const &pos,
int strsid,
96 WPXPropertyList frameExtras=WPXPropertyList());
101 void send(
int strsId);
104 void sendTextInCell(
int strsId,
int cellId);
109 bool sendTable(
Vec2f const &size,
int objectId);
111 int getTableSTRSId(
int tableId)
const;
120 bool sendObject(
Vec2f const &size,
int objectId,
bool ole);
127 bool parseHeaderIndexEntry();
130 bool parseHeaderIndexEntryEnd(
long endPos,
WPSEntry &hie,std::string &mess);
136 bool parseHeaderIndex();
145 bool readFRAM(
WPSEntry const &entry);
151 bool readSYID(
WPSEntry const &entry, std::vector<int> &listId);
156 bool readWNPR(
WPSEntry const &entry);
169 shared_ptr<WPS8ParserInternal::State>
m_state;
WPSContentListener WPS8ContentListener
Definition: WPS8.h:33
This class parses Works version 2000 through 8.
Definition: WPS8.h:53
shared_ptr< WPS8Table > m_tableParser
the table parser
Definition: WPS8.h:165
shared_ptr< WPXInputStream > WPXInputStreamPtr
Definition: libwps_internal.h:74
the main class to read/store pictures in a Pc MS Works document v5-8
Definition: WPS8Graph.h:60
friend class WPS8Parser
Definition: WPS8Text.h:56
Definition: WPS8Text.h:53
the main class to read/store table in a Pc MS Works document v5-8
Definition: WPS8Table.h:62
Internal: the subdocument of a WPS8Parser.
Definition: WPS8.cpp:49
Definition: WPSContentListener.h:168
Definition: WPSParser.h:41
void setListener(WPS8ContentListenerPtr &listen)
sets the listener
Definition: WPS8Text.cpp:526
shared_ptr< WPS8ContentListener > m_listener
Definition: WPS8.h:161
shared_ptr< WPS8Text > m_textParser
the text parser
Definition: WPS8.h:167
shared_ptr< WPS8ParserInternal::State > m_state
the internal state
Definition: WPS8.h:169
Definition: WPSPageSpan.h:42
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:37
shared_ptr< WPS8Graph > m_graphParser
the graph parser
Definition: WPS8.h:163
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39