106 void storeObjects(std::map<int,WPSEmbeddedObject>
const &objectsMap);
144 mutable std::shared_ptr<WPS8GraphInternal::State>
m_state;
WPS8Graph(WPS8Graph const &orig)=delete
WPS8Parser & m_mainParser
the main parser
Definition WPS8Graph.h:141
WPS8Graph(WPS8Parser &parser)
constructor
Definition WPS8Graph.cpp:108
void storeObjects(std::map< int, WPSEmbeddedObject > const &objectsMap)
adds a list of object
Definition WPS8Graph.cpp:143
WPS8Graph & operator=(WPS8Graph const &orig)=delete
bool readStructures(RVNGInputStreamPtr const &input)
finds all entries which correspond to some pictures, parses them and stores data
Definition WPS8Graph.cpp:151
bool sendIBGF(WPSPosition const &pos, int ibgfId)
sends data corresponding to a ibgf entry on a given pos position
Definition WPS8Graph.cpp:228
libwps::DebugFile & m_asciiFile
the ascii file
Definition WPS8Graph.h:147
int version() const
returns the file version
Definition WPS8Graph.cpp:123
bool readPICT(RVNGInputStreamPtr const &input, WPSEntry const &entry)
reads a PICT/MEF4 entry : reads uncompressed picture of sx*sy of rgb
Definition WPS8Graph.cpp:360
bool readBDR(RVNGInputStreamPtr const &input, WPSEntry const &entry)
parsed BDR/WBDR zone: a complex border formed with 8 pictures
Definition WPS8Graph.cpp:491
libwps::DebugFile & ascii()
returns the debug file
Definition WPS8Graph.h:128
void sendObjects(int page, int pageToIgnore=-2)
send all the objects of a given page:
Definition WPS8Graph.cpp:246
friend class WPS8Parser
Definition WPS8Graph.h:55
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition WPS8Graph.h:64
~WPS8Graph()
destructor
Definition WPS8Graph.cpp:117
void computePositions() const
computes the final position of all found figures.
Definition WPS8Graph.cpp:138
bool readIBGF(RVNGInputStreamPtr const &input, WPSEntry const &entry)
reads a IBGF zone: an entry to a background picture
Definition WPS8Graph.cpp:429
WPSContentListenerPtr m_listener
the listener
Definition WPS8Graph.h:138
std::shared_ptr< WPS8GraphInternal::State > m_state
the state
Definition WPS8Graph.h:144
int numPages() const
returns the number page where we find a picture. In practice, 0/1
Definition WPS8Graph.cpp:130
bool sendObject(WPSPosition const &pos, int id, bool ole)
sends an object
Definition WPS8Graph.cpp:191
void sendBorder(int borderId)
sends the border frames.
Definition WPS8Graph.cpp:317
This class parses Works version 2000 through 8.
Definition WPS8.h:50
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 WPS8Graph.
Definition WPS8Graph.cpp:49
Internal: the state of a WPS8Graph.
Definition WPS8Graph.cpp:82