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