38 namespace WPS4GraphInternal
88 void storeObjects(std::vector<WPSOLEParserObject>
const &objects,
89 std::vector<int>
const &ids);
126 mutable shared_ptr<WPS4GraphInternal::State>
m_state;
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WPS4Graph.h:129
shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition: libwps_internal.h:122
WPS4Parser & m_mainParser
the main parser
Definition: WPS4Graph.h:123
void sendObjects(int page)
send all the objects of a given page:
Definition: WPS4Graph.cpp:141
Definition: WPSDebug.h:196
libwps::DebugFile & ascii()
returns the debug file
Definition: WPS4Graph.h:110
This class parses Works version 2 through 4.
Definition: WPS4.h:48
the main class to read/store picture in a Pc MS Works document v1-4
Definition: WPS4Graph.h:56
void computePositions() const
computes the position of all found figures.
Definition: WPS4Graph.cpp:87
void storeObjects(std::vector< WPSOLEParserObject > const &objects, std::vector< int > const &ids)
store a list of object
Definition: WPS4Graph.cpp:95
int readObject(RVNGInputStreamPtr input, WPSEntry const &entry)
tries to find a picture in the zone pointed by entry
Definition: WPS4Graph.cpp:182
WPS4Graph & operator=(WPS4Graph const &orig)
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS4Graph.h:67
small struct to store an object
Definition: WPSOLEParser.h:79
int version() const
returns the file version
Definition: WPS4Graph.cpp:76
~WPS4Graph()
destructor
Definition: WPS4Graph.cpp:71
WPSContentListenerPtr m_listener
the listener
Definition: WPS4Graph.h:120
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:102
void sendObject(WPSPosition const &position, int id)
sends an object with identificator id as a character to a given pposition
Definition: WPS4Graph.cpp:112
shared_ptr< WPS4GraphInternal::State > m_state
the state
Definition: WPS4Graph.h:126
WPS4Graph(WPS4Parser &parser)
constructor given the main parser of the MN0 zone
Definition: WPS4Graph.cpp:65
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
int numPages() const
returns the number page where we find a picture. In practice, 0/1
Definition: WPS4Graph.cpp:82