28 #include <librevenge/librevenge.h> 62 void parse(librevenge::RVNGTextInterface *documentInterface);
65 bool checkInFile(
long pos);
68 void newPage(
int number);
70 void setListener(shared_ptr<WPSContentListener> listener);
72 shared_ptr<WPSContentListener> createListener(librevenge::RVNGTextInterface *interface);
75 bool createStructures();
77 bool createOLEStructures();
80 float pageHeight()
const;
82 float pageWidth()
const;
84 int numColumns()
const;
87 void sendPageFrames();
91 void sendTextBox(
WPSPosition const &pos,
int strsid,
92 librevenge::RVNGPropertyList frameExtras=librevenge::RVNGPropertyList());
97 void send(
int strsId);
100 void sendTextInCell(
int strsId,
int cellId);
105 bool sendTable(
Vec2f const &size,
int objectId);
107 int getTableSTRSId(
int tableId)
const;
116 bool sendObject(
Vec2f const &size,
int objectId,
bool ole);
123 bool parseHeaderIndexEntry();
126 bool parseHeaderIndexEntryEnd(
long endPos,
WPSEntry &hie,std::string &mess);
132 bool parseHeaderIndex();
141 bool readFRAM(
WPSEntry const &entry);
147 bool readSYID(
WPSEntry const &entry, std::vector<int> &listId);
152 bool readWNPR(
WPSEntry const &entry);
165 shared_ptr<WPS8ParserInternal::State>
m_state;
This class parses Works version 2000 through 8.
Definition: WPS8.h:49
shared_ptr< WPS8Table > m_tableParser
the table parser
Definition: WPS8.h:161
the main class to read/store pictures in a Pc MS Works document v5-8
Definition: WPS8Graph.h:54
friend class WPS8Parser
Definition: WPS8Text.h:50
Definition: WPS8Text.h:47
the main class to read/store table in a Pc MS Works document v5-8
Definition: WPS8Table.h:57
Internal: the subdocument of a WPS8Parser.
Definition: WPS8.cpp:50
Definition: WPSParser.h:35
std::deque< int > m_sendingTables
Definition: WPS8.h:168
shared_ptr< WPSContentListener > m_listener
Definition: WPS8.h:157
shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:110
shared_ptr< WPS8Text > m_textParser
the text parser
Definition: WPS8.h:163
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:88
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS8Text.cpp:532
shared_ptr< WPS8ParserInternal::State > m_state
the internal state
Definition: WPS8.h:165
Definition: WPSPageSpan.h:38
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
shared_ptr< WPS8Graph > m_graphParser
the graph parser
Definition: WPS8.h:159
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39