44 namespace WPS4GraphInternal
94 void storeObjects(std::vector<WPXBinaryData>
const &objects,
95 std::vector<int>
const &ids,
96 std::vector<WPSPosition>
const &positions);
133 mutable shared_ptr<WPS4GraphInternal::State>
m_state;
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WPS4Graph.h:136
shared_ptr< WPS4ContentListener > WPS4ContentListenerPtr
Definition: WPS4Graph.h:42
shared_ptr< WPXInputStream > WPXInputStreamPtr
Definition: libwps_internal.h:74
WPS4Parser & m_mainParser
the main parser
Definition: WPS4Graph.h:130
void sendObjects(int page)
send all the objects of a given page:
Definition: WPS4Graph.cpp:144
Definition: WPSDebug.h:198
libwps::DebugFile & ascii()
returns the debug file
Definition: WPS4Graph.h:117
This class parses Works version 2 through 4.
Definition: WPS4.h:52
WPS4ContentListenerPtr m_listener
the listener
Definition: WPS4Graph.h:127
Definition: WPSContentListener.h:168
the main class to read/store picture in a Pc MS Works document v1-4
Definition: WPS4Graph.h:62
void computePositions() const
computes the position of all found figures.
Definition: WPS4Graph.cpp:86
void setListener(WPS4ContentListenerPtr &listen)
sets the listener
Definition: WPS4Graph.h:73
WPS4Graph & operator=(WPS4Graph const &orig)
int readObject(WPXInputStreamPtr input, WPSEntry const &entry)
tries to find a picture in the zone pointed by entry
Definition: WPS4Graph.cpp:185
int version() const
returns the file version
Definition: WPS4Graph.cpp:75
~WPS4Graph()
destructor
Definition: WPS4Graph.cpp:70
void sendObject(Vec2f const &size, int id)
sends an object with identificator id as a character with given size
Definition: WPS4Graph.cpp:113
shared_ptr< WPS4GraphInternal::State > m_state
the state
Definition: WPS4Graph.h:133
WPS4Graph(WPS4Parser &parser)
constructor given the main parser of the MN0 zone
Definition: WPS4Graph.cpp:64
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:37
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:81
void storeObjects(std::vector< WPXBinaryData > const &objects, std::vector< int > const &ids, std::vector< WPSPosition > const &positions)
store a list of object
Definition: WPS4Graph.cpp:94