39 namespace WPS8GraphInternal
107 void storeObjects(std::vector<WPSOLEParserObject>
const &objects,
108 std::vector<int>
const &ids);
151 mutable shared_ptr<WPS8GraphInternal::State>
m_state;
libwps::DebugFile & ascii()
returns the debug file
Definition: WPS8Graph.h:135
shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition: libwps_internal.h:122
shared_ptr< WPS8GraphInternal::State > m_state
the state
Definition: WPS8Graph.h:151
This class parses Works version 2000 through 8.
Definition: WPS8.h:49
int version() const
returns the file version
Definition: WPS8Graph.cpp:124
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition: WPS8Graph.h:65
the main class to read/store pictures in a Pc MS Works document v5-8
Definition: WPS8Graph.h:54
void storeObjects(std::vector< WPSOLEParserObject > const &objects, std::vector< int > const &ids)
adds a list of objects with given ids in the ole lists
Definition: WPS8Graph.cpp:144
Definition: WPSDebug.h:196
WPSContentListenerPtr m_listener
the listener
Definition: WPS8Graph.h:145
void sendObjects(int page, int pageToIgnore=-2)
send all the objects of a given page:
Definition: WPS8Graph.cpp:263
bool readStructures(RVNGInputStreamPtr input)
finds all entries which correspond to some pictures, parses them and stores data
Definition: WPS8Graph.cpp:167
bool readPICT(RVNGInputStreamPtr input, WPSEntry const &entry)
reads a PICT/MEF4 entry : reads uncompressed picture of sx*sy of rgb
Definition: WPS8Graph.cpp:382
bool readMetaFile(RVNGInputStreamPtr input, long endPos, librevenge::RVNGBinaryData &pict)
reads METAFILE/CODE
Definition: WPS8Graph.cpp:684
void computePositions() const
computes the final position of all found figures.
Definition: WPS8Graph.cpp:139
~WPS8Graph()
destructor
Definition: WPS8Graph.cpp:118
bool readIBGF(RVNGInputStreamPtr input, WPSEntry const &entry)
reads a IBGF zone: an entry to a background picture
Definition: WPS8Graph.cpp:458
small struct to store an object
Definition: WPSOLEParser.h:79
bool sendObject(WPSPosition const &pos, int id, bool ole)
sends an object
Definition: WPS8Graph.cpp:208
void sendBorder(int borderId)
sends the border frames.
Definition: WPS8Graph.cpp:338
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WPS8Graph.h:154
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:102
bool readBDR(RVNGInputStreamPtr input, WPSEntry const &entry)
parsed BDR/WBDR zone: a complex border formed with 8 pictures
Definition: WPS8Graph.cpp:520
int numPages() const
returns the number page where we find a picture. In practice, 0/1
Definition: WPS8Graph.cpp:131
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
WPS8Graph(WPS8Parser &parser)
constructor
Definition: WPS8Graph.cpp:112
WPS8Parser & m_mainParser
the main parser
Definition: WPS8Graph.h:148
WPS8Graph & operator=(WPS8Graph const &orig)
bool sendIBGF(WPSPosition const &pos, int ibgfId)
sends data corresponding to a ibgf entry on a given pos position
Definition: WPS8Graph.cpp:245