34 #ifndef CRICKETDRAW_PARSER 35 # define CRICKETDRAW_PARSER 40 #include <librevenge/librevenge.h> 71 void parse(librevenge::RVNGDrawingInterface *documentInterface);
75 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
105 shared_ptr<CricketDrawParserInternal::State>
m_state;
bool sendBitmap(CricketDrawParserInternal::Shape const &bitmap, MWAWTransformation const &transform)
try to send a bitmap shape
Definition: CricketDrawParser.cxx:1468
small structure of CricketDrawParserInternal used to stored a shape
Definition: CricketDrawParser.cxx:63
bool readShape()
try to read a shape
Definition: CricketDrawParser.cxx:443
virtual ~CricketDrawParser()
destructor
Definition: CricketDrawParser.cxx:340
bool sendText(int zoneId)
try to send a text zone to the listener
Definition: CricketDrawParser.cxx:1416
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: CricketDrawParser.cxx:1139
bool createZones()
finds the different objects zones
Definition: CricketDrawParser.cxx:397
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:527
Internal: the subdocument of a CricketDrawParser.
Definition: CricketDrawParser.cxx:273
bool send(CricketDrawParserInternal::Shape const &shape, MWAWTransformation const &transform)
try to send a shape
Definition: CricketDrawParser.cxx:1296
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:517
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:250
shared_ptr< CricketDrawParserInternal::State > m_state
the state
Definition: CricketDrawParser.hxx:105
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: CricketDrawParser.cxx:347
bool sendAll()
try to send the different zones
Definition: CricketDrawParser.cxx:1255
CricketDrawParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: CricketDrawParser.cxx:329
bool readPrintInfo()
try to read the print info zone
Definition: CricketDrawParser.cxx:1194
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: CricketDrawParser.cxx:375
Internal: the structures of a CricketDrawParser.
Definition: CricketDrawParser.cxx:58
the main class to read a CricketDraw v0,v1 file
Definition: CricketDrawParser.hxx:58