34 #ifndef MACDRAFT_PARSER
35 # define MACDRAFT_PARSER
40 #include <librevenge/librevenge.h>
71 void parse(librevenge::RVNGDrawingInterface *documentInterface);
78 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
118 shared_ptr<MacDraftParserInternal::State>
m_state;
bool readBitmapDefinition(MacDraftParserInternal::Shape &bitmap)
try to read bitmap definition
Definition: MacDraftParser.cxx:1098
Internal: the subdocument of a MacDraftParser.
Definition: MacDraftParser.cxx:260
bool readDocHeader()
try to the doc header zone ( mainly unknown )
Definition: MacDraftParser.cxx:1417
bool readPrintInfo()
try to read the print info zone
Definition: MacDraftParser.cxx:1595
shared_ptr< MacDraftParserInternal::State > m_state
the state
Definition: MacDraftParser.hxx:118
generic class used to store shape in MWAWDraftParser
Definition: MacDraftParser.cxx:82
bool readPattern()
try to read a pattern
Definition: MacDraftParser.cxx:1168
void init()
inits all internal variables
Definition: MacDraftParser.cxx:326
the main class to read a MacDraft v1 file
Definition: MacDraftParser.hxx:58
bool readObject()
try to read an object
Definition: MacDraftParser.cxx:570
Internal: the structures of a MacDraftParser.
Definition: MacDraftParser.cxx:56
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
bool createZones()
finds the different objects zones
Definition: MacDraftParser.cxx:395
virtual ~MacDraftParser()
destructor
Definition: MacDraftParser.cxx:322
bool sendText(int zoneId)
try to send a text zone to the listener
Definition: MacDraftParser.cxx:1822
bool send(MacDraftParserInternal::Shape const &shape)
try to send a shape
Definition: MacDraftParser.cxx:1657
bool readZone()
try to a unknown zone
Definition: MacDraftParser.cxx:539
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MacDraftParser.cxx:1336
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: MacDraftParser.cxx:339
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
bool readLabel()
try to read a label
Definition: MacDraftParser.cxx:1222
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:245
bool sendBitmap(MacDraftParserInternal::Shape const &bitmap, MWAWPosition const &position)
try to send a bitmap
Definition: MacDraftParser.cxx:1744
MacDraftParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MacDraftParser.cxx:316
bool readBitmapData()
try to read bitmap data
Definition: MacDraftParser.cxx:1041
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacDraftParser.cxx:373