38#ifndef CLARIS_WKS_GRAPH
39# define CLARIS_WKS_GRAPH
44#include <librevenge/librevenge.h>
169 bool readChartData(std::shared_ptr<ClarisWksGraphInternal::Zone> zone);
172 bool readPictData(std::shared_ptr<ClarisWksGraphInternal::Zone> zone);
175 bool readPolygonData(std::shared_ptr<ClarisWksGraphInternal::Zone> zone);
188 bool readQTimeData(std::shared_ptr<ClarisWksGraphInternal::Zone> zone);
233 std::shared_ptr<ClarisWksGraphInternal::State>
m_state;
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:74
Internal: the subdocument of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:776
the main class to read the graphic part of Claris Works file
Definition: ClarisWksGraph.hxx:78
bool readPictData(std::shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2249
bool readChartData(std::shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2202
bool sendPageGraphics(int groupId)
sends the page element
Definition: ClarisWksGraph.cxx:3410
bool readGroupUnknown(ClarisWksGraphInternal::Group &group, int zoneSz, int id)
Definition: ClarisWksGraph.cxx:2051
bool readGroupHeader(ClarisWksGraphInternal::Group &group)
Definition: ClarisWksGraph.cxx:1958
bool sendPicture(ClarisWksGraphInternal::ZonePict &pict, MWAWPosition pos)
sends a picture zone
Definition: ClarisWksGraph.cxx:3278
MWAWParser * m_mainParser
the main parser;
Definition: ClarisWksGraph.hxx:236
void computePositions() const
compute the pages position
Definition: ClarisWksGraph.cxx:849
bool canSendBitmapAsGraphic(int number) const
check if we can send a group as graphic
Definition: ClarisWksGraph.cxx:3139
std::shared_ptr< ClarisWksGraphInternal::State > m_state
the state
Definition: ClarisWksGraph.hxx:233
bool readShape(MWAWEntry const &entry, ClarisWksGraphInternal::ZoneShape &zone)
Definition: ClarisWksGraph.cxx:1818
bool readPS(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2346
int numPages() const
returns the number of pages
Definition: ClarisWksGraph.cxx:860
bool sendBitmap(int number, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
sends the bitmap data to the listener (if it exists )
Definition: ClarisWksGraph.cxx:3167
void updateGroup(ClarisWksGraphInternal::Group &group) const
update the group information to choose how to send the group data
Definition: ClarisWksGraph.cxx:2634
bool sendGroupChild(std::vector< std::shared_ptr< ClarisWksGraphInternal::Zone > > const &lChild, MWAWListenerPtr listener, MWAWVec2f const &leftTop)
send a child group as graphic or as presentation
Definition: ClarisWksGraph.cxx:2695
bool readPICT(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2311
std::shared_ptr< ClarisWksStruct::DSET > readGroupZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
reads the zone Group DSET
Definition: ClarisWksGraph.cxx:902
bool sendMaster(int pg)
sends the master zone (ie. the background zone in a graphic document)
Definition: ClarisWksGraph.cxx:3382
bool sendPageChild(ClarisWksGraphInternal::Group &group)
send the child element corresponding to some page
Definition: ClarisWksGraph.cxx:2754
bool readBitmapColorMap(std::vector< MWAWColor > &cMap)
Definition: ClarisWksGraph.cxx:2519
bool readQTimeData(std::shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2433
void findMasterPage() const
find the master zone to the content zones in a graphic document
Definition: ClarisWksGraph.cxx:1293
ClarisWksGraph(ClarisWksGraph const &orig)=delete
bool sendDatabasePictZone(int pictId, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
sends the database zone if known
Definition: ClarisWksGraph.cxx:3151
bool sendGroup(int number, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
sends the zone data to the listener (if it exists )
Definition: ClarisWksGraph.cxx:3423
std::shared_ptr< ClarisWksGraphInternal::Zone > readGroupDef(MWAWEntry const &entry)
Definition: ClarisWksGraph.cxx:1338
bool getPageDimension(MWAWVec2f &dim) const
returns the page dimension if known (in point)
Definition: ClarisWksGraph.cxx:876
bool readGroupData(ClarisWksGraphInternal::Group &group, long beginGroupPos)
Definition: ClarisWksGraph.cxx:1626
void askToSend(int number, MWAWListenerPtr listener, MWAWPosition const &pos=MWAWPosition())
ask the main parser to send a zone
Definition: ClarisWksGraph.cxx:882
bool getSurfaceColor(ClarisWksGraphInternal::Style const &style, MWAWColor &col) const
return the surface color which corresponds to some ids (if possible)
Definition: ClarisWksGraph.cxx:890
ClarisWksDocument & m_document
the document
Definition: ClarisWksGraph.hxx:227
ClarisWksGraph & operator=(ClarisWksGraph const &orig)=delete
virtual ~ClarisWksGraph()
destructor
Definition: ClarisWksGraph.cxx:841
int version() const
returns the file version
Definition: ClarisWksGraph.cxx:844
bool readPolygonData(std::shared_ptr< ClarisWksGraphInternal::Zone > zone)
Definition: ClarisWksGraph.cxx:2114
bool sendShape(ClarisWksGraphInternal::ZoneShape &pict, MWAWPosition pos)
sends a basic graphic zone
Definition: ClarisWksGraph.cxx:3123
bool readOLE(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2386
std::shared_ptr< ClarisWksStruct::DSET > readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
reads the zone Bitmap DSET
Definition: ClarisWksGraph.cxx:1000
bool readDatabasePictZone()
try to read a database picture zone, v5-v6
Definition: ClarisWksGraph.cxx:1115
bool readNamedPict(ClarisWksGraphInternal::ZonePict &zone)
Definition: ClarisWksGraph.cxx:2469
bool readBitmapData(ClarisWksGraphInternal::Bitmap &zone)
Definition: ClarisWksGraph.cxx:2566
bool canSendAsGraphic(ClarisWksGraphInternal::Group &group) const
check if we can send a group as graphic
Definition: ClarisWksGraph.cxx:3362
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisWksGraph.hxx:230
bool canSendGroupAsGraphic(int number) const
check if we can send a group as graphic
Definition: ClarisWksGraph.cxx:3354
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisWksGraph.cxx:3443
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:68
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:50
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:100
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
Internal: the structures of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:69
Internal: structure to store a bitmap of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:417
Internal: class which stores a group of graphics, ...
Definition: ClarisWksGraph.cxx:681
Internal: the structure used to store a style of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:112
Internal: the structure used to store a PICT or a MOVIE.
Definition: ClarisWksGraph.cxx:340
Internal: small class to store a basic graphic zone of a ClarisWksGraph.
Definition: ClarisWksGraph.cxx:285
main structure which correspond to a document part
Definition: ClarisWksStruct.hxx:87
the class to store a color
Definition: libmwaw_internal.hxx:192