88 void storeObjects(std::map<int,WPSEmbeddedObject>
const &objectsMap);
125 mutable std::shared_ptr<WPS4GraphInternal::State>
m_state;
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WPS4Graph.h:128
int numPages() const
returns the number page where we find a picture. In practice, 0/1
Definition: WPS4Graph.cpp:87
WPS4Parser & m_mainParser
the main parser
Definition: WPS4Graph.h:122
void sendObjects(int page)
send all the objects of a given page:
Definition: WPS4Graph.cpp:129
Definition: WPSDebug.h:207
libwps::DebugFile & ascii()
returns the debug file
Definition: WPS4Graph.h:109
This class parses Works version 2 through 4.
Definition: WPS4.h:48
WPS4Graph & operator=(WPS4Graph const &orig)=delete
the main class to read/store picture in a Pc MS Works document v1-4
Definition: WPS4Graph.h:56
std::shared_ptr< WPS4GraphInternal::State > m_state
the state
Definition: WPS4Graph.h:125
void storeObjects(std::map< int, WPSEmbeddedObject > const &objectsMap)
store a list of object
Definition: WPS4Graph.cpp:97
int readObject(RVNGInputStreamPtr input, WPSEntry const &entry)
tries to find a picture in the zone pointed by entry
Definition: WPS4Graph.cpp:170
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS4Graph.h:67
Internal: the structures of a WPS4Graph.
Definition: WPS4Graph.cpp:46
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
~WPS4Graph()
destructor
Definition: WPS4Graph.cpp:75
WPSContentListenerPtr m_listener
the listener
Definition: WPS4Graph.h:119
std::shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition: libwps_internal.h:107
void sendObject(WPSPosition const &position, int id)
sends an object with identificator id as a character to a given pposition
Definition: WPS4Graph.cpp:108
int version() const
returns the file version
Definition: WPS4Graph.cpp:80
WPS4Graph(WPS4Parser &parser)
constructor given the main parser of the MN0 zone
Definition: WPS4Graph.cpp:67
void computePositions() const
computes the position of all found figures.
Definition: WPS4Graph.cpp:92
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