38 #ifndef CLARIS_WKS_GRAPH
39 # define CLARIS_WKS_GRAPH
44 #include <librevenge/librevenge.h>
164 bool readChartData(shared_ptr<ClarisWksGraphInternal::Zone> zone);
167 bool readPictData(shared_ptr<ClarisWksGraphInternal::Zone> zone);
183 bool readQTimeData(shared_ptr<ClarisWksGraphInternal::Zone> zone);
228 shared_ptr<ClarisWksGraphInternal::State>
m_state;
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:502
Internal: the structures of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:68
int numPages() const
returns the number of pages
Definition: ClarisWksGraph.cxx:821
shared_ptr< ClarisWksGraphInternal::Zone > readGroupDef(MWAWEntry const &entry)
Definition: ClarisWksGraph.cxx:1127
Internal: the structure used to store a style of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:110
ClarisWksDocument & m_document
the document
Definition: ClarisWksGraph.hxx:222
virtual ~ClarisWksGraph()
destructor
Definition: ClarisWksGraph.cxx:801
bool getSurfaceColor(ClarisWksGraphInternal::Style const &style, MWAWColor &col) const
return the surface color which corresponds to some ids (if possible)
Definition: ClarisWksGraph.cxx:852
bool sendShape(ClarisWksGraphInternal::ZoneShape &pict, MWAWPosition pos)
sends a basic graphic zone
Definition: ClarisWksGraph.cxx:2973
bool readGroupData(ClarisWksGraphInternal::Group &group, long beginGroupPos)
Definition: ClarisWksGraph.cxx:1415
void computePositions() const
compute the pages position
Definition: ClarisWksGraph.cxx:809
void findMasterPage() const
find the master zone to the content zones in a graphic document
Definition: ClarisWksGraph.cxx:1082
shared_ptr< ClarisWksGraphInternal::State > m_state
the state
Definition: ClarisWksGraph.hxx:228
the main class to read the graphic part of Claris Works file
Definition: ClarisWksGraph.hxx:77
bool readPICT(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2153
void updateGroup(ClarisWksGraphInternal::Group &group) const
update the group information to choose how to send the group data
Definition: ClarisWksGraph.cxx:2476
the class to store a color
Definition: libmwaw_internal.hxx:182
main structure which correspond to a document part
Definition: ClarisWksStruct.hxx:58
bool sendPageGraphics(int groupId)
sends the page element
Definition: ClarisWksGraph.cxx:3248
bool readGroupHeader(ClarisWksGraphInternal::Group &group)
Definition: ClarisWksGraph.cxx:1750
bool readPS(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2188
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:73
MWAWParser * m_mainParser
the main parser;
Definition: ClarisWksGraph.hxx:231
bool readNamedPict(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2312
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisWksGraph.cxx:3282
Internal: small class to store a basic graphic zone of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:273
int version() const
returns the file version
Definition: ClarisWksGraph.cxx:804
bool canSendBitmapAsGraphic(int number) const
check if we can send a group as graphic
Definition: ClarisWksGraph.cxx:2989
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
Internal: the subdocument of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:735
bool sendGroupChild(std::vector< shared_ptr< ClarisWksGraphInternal::Zone > > const &lChild, MWAWListenerPtr listener, MWAWVec2f const &leftTop)
send a child group as graphic or as presentation
Definition: ClarisWksGraph.cxx:2540
bool sendMaster(int pg)
sends the master zone (ie. the background zone in a graphic document)
Definition: ClarisWksGraph.cxx:3220
shared_ptr< ClarisWksStruct::DSET > readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
reads the zone Bitmap DSET
Definition: ClarisWksGraph.cxx:962
bool readOLE(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2228
bool readQTimeData(shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2276
bool readBitmapColorMap(std::vector< MWAWColor > &cMap)
Definition: ClarisWksGraph.cxx:2362
bool readGroupUnknown(ClarisWksGraphInternal::Group &group, int zoneSz, int id)
Definition: ClarisWksGraph.cxx:1862
bool getPageDimension(MWAWVec2f &dim) const
returns the page dimension if known (in point)
Definition: ClarisWksGraph.cxx:838
bool readBitmapData(ClarisWksGraphInternal::Bitmap &zone)
Definition: ClarisWksGraph.cxx:2409
bool readPictData(shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2090
bool readPolygonData(shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:1925
Internal: the structure used to store a PICT or a MOVIE.
Definition: ClarisWksGraph.cxx:324
ClarisWksGraph(ClarisWksDocument &document)
constructor
Definition: ClarisWksGraph.cxx:795
bool sendPageChild(ClarisWksGraphInternal::Group &group)
send the child element corresponding to some page
Definition: ClarisWksGraph.cxx:2602
Internal: class which stores a group of graphics, ...
Definition: ClarisWksGraph.cxx:652
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisWksGraph.hxx:225
Internal: structure to store a bitmap of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:399
shared_ptr< ClarisWksStruct::DSET > readGroupZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
reads the zone Group DSET
Definition: ClarisWksGraph.cxx:864
bool readShape(MWAWEntry const &entry, ClarisWksGraphInternal::ZoneShape &zone)
Definition: ClarisWksGraph.cxx:1609
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:506
bool canSendGroupAsGraphic(int number) const
check if we can send a group as graphic
Definition: ClarisWksGraph.cxx:3191
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:97
bool sendPicture(ClarisWksGraphInternal::ZonePict &pict, MWAWPosition pos)
sends a picture zone
Definition: ClarisWksGraph.cxx:3114
void askToSend(int number, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
ask the main parser to send a zone
Definition: ClarisWksGraph.cxx:844
bool readChartData(shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2028
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:49
ClarisWksGraph & operator=(ClarisWksGraph const &orig)
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool canSendAsGraphic(ClarisWksGraphInternal::Group &group) const
check if we can send a group as graphic
Definition: ClarisWksGraph.cxx:3200
bool sendGroup(int number, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
sends the zone data to the listener (if it exists )
Definition: ClarisWksGraph.cxx:3261
bool sendBitmap(int number, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
sends the bitmap data to the listener (if it exists )
Definition: ClarisWksGraph.cxx:3002