38 #ifndef CLARIS_DRAW_GRAPH 39 # define CLARIS_DRAW_GRAPH 44 #include <librevenge/librevenge.h> 137 bool readPolygonData(std::shared_ptr<ClarisDrawGraphInternal::Zone> zone);
174 std::shared_ptr<ClarisDrawGraphInternal::State>
m_state;
Internal: the subdocument of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:702
Internal: structure to store a bitmap of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:403
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisDrawGraph.hxx:171
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
int version() const
returns the file version
Definition: ClarisDrawGraph.cxx:796
std::shared_ptr< ClarisDrawGraphInternal::State > m_state
the state
Definition: ClarisDrawGraph.hxx:174
bool readGroupData(ClarisDrawGraphInternal::Group &group, long beginGroupPos, bool isLibHeader)
Definition: ClarisDrawGraph.cxx:1386
bool readShape(MWAWEntry const &entry, ClarisDrawGraphInternal::ZoneShape &zone)
Definition: ClarisDrawGraph.cxx:1585
Internal: class which stores a group of graphics, ...
Definition: ClarisDrawGraph.cxx:604
bool readTransformations()
read the transformations
Definition: ClarisDrawGraph.cxx:915
bool sendBitmap(int number, MWAWPosition const &pos=MWAWPosition())
sends the bitmap data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2380
Internal: small class to store a basic graphic zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:306
std::shared_ptr< ClarisDrawStyleManager > m_styleManager
the style manager
Definition: ClarisDrawGraph.hxx:179
ClarisDrawGraph & operator=(ClarisDrawGraph const &orig)=delete
the class to store a color
Definition: libmwaw_internal.hxx:192
main structure which correspond to a document part
Definition: ClarisWksStruct.hxx:87
std::shared_ptr< ClarisWksStruct::DSET > readGroupZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool isLibHeader=false)
reads the zone Group DSET
Definition: ClarisDrawGraph.cxx:983
void resetState()
resets the current state
Definition: ClarisDrawGraph.cxx:801
ClarisDrawGraph(ClarisDrawParser &parser)
constructor
Definition: ClarisDrawGraph.cxx:785
bool readBitmapColorMap(std::vector< MWAWColor > &cMap)
Definition: ClarisDrawGraph.cxx:2030
int numPages() const
returns the number of pages
Definition: ClarisDrawGraph.cxx:806
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
void updateGroup(bool isLibrary)
update the group: ie. remove empty group child
Definition: ClarisDrawGraph.cxx:834
ClarisDrawParser * m_mainParser
the main parser;
Definition: ClarisDrawGraph.hxx:177
bool getSurfaceColor(ClarisDrawGraphInternal::Style const &style, MWAWColor &col) const
return the surface color which corresponds to some ids (if possible)
Definition: ClarisDrawGraph.cxx:907
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisDrawGraph.cxx:2489
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:826
bool readPolygonData(std::shared_ptr< ClarisDrawGraphInternal::Zone > zone)
Definition: ClarisDrawGraph.cxx:1946
bool sendMainGroupChild(int childId, MWAWPosition const &pos=MWAWPosition())
sends the ith child of the root (if it exists )
Definition: ClarisDrawGraph.cxx:2150
bool readBitmapData(ClarisDrawGraphInternal::Bitmap &zone)
Definition: ClarisDrawGraph.cxx:2077
virtual ~ClarisDrawGraph()
destructor
Definition: ClarisDrawGraph.cxx:793
bool sendGroup(int number, MWAWPosition const &pos=MWAWPosition())
sends the zone data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2241
bool readGroupUnknown(ClarisDrawGraphInternal::Group &group, int zoneSz, int id)
Definition: ClarisDrawGraph.cxx:1885
Internal: the structures of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:67
the main class to read a ClarisDraw v1 file
Definition: ClarisDrawParser.hxx:63
bool sendShape(ClarisDrawGraphInternal::ZoneShape &pict, MWAWPosition pos)
sends a basic graphic zone
Definition: ClarisDrawGraph.cxx:2348
bool readGroupHeader(ClarisDrawGraphInternal::Group &group)
Definition: ClarisDrawGraph.cxx:1795
bool sendTextZone(int number, int subZone=-1)
sends a text box content (via the main parser )
Definition: ClarisDrawGraph.cxx:821
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
std::shared_ptr< ClarisDrawGraphInternal::Zone > readGroupDef(MWAWEntry const &entry)
Definition: ClarisDrawGraph.cxx:1190
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
the main class to read the graphic part of ClarisDraw file
Definition: ClarisDrawGraph.hxx:73
Internal: the structure used to store a style of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:139
std::shared_ptr< ClarisWksStruct::DSET > readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry)
reads the zone Bitmap DSET
Definition: ClarisDrawGraph.cxx:1074