34 #ifndef MACDRAFT_PARSER 35 # define MACDRAFT_PARSER 40 #include <librevenge/librevenge.h> bool readBitmapDefinition(MacDraftParserInternal::Shape &bitmap)
try to read bitmap definition
Definition: MacDraftParser.cxx:1123
Internal: the subdocument of a MacDraftParser.
Definition: MacDraftParser.cxx:283
Definition: MWAWDocument.hxx:56
bool readDocHeader()
try to the doc header zone ( mainly unknown )
Definition: MacDraftParser.cxx:1444
bool readPrintInfo()
try to read the print info zone
Definition: MacDraftParser.cxx:1622
bool readPattern()
try to read a pattern
Definition: MacDraftParser.cxx:1195
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: MacDraftParser.cxx:361
void init()
inits all internal variables
Definition: MacDraftParser.cxx:348
the main class to read a MacDraft v1 file
Definition: MacDraftParser.hxx:58
bool readObject()
try to read an object
Definition: MacDraftParser.cxx:593
Internal: the structures of a MacDraftParser.
Definition: MacDraftParser.cxx:56
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
bool createZones()
finds the different objects zones
Definition: MacDraftParser.cxx:418
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MacDraftParser.cxx:1363
bool sendText(int zoneId)
try to send a text zone to the listener
Definition: MacDraftParser.cxx:1853
std::shared_ptr< MacDraftParserInternal::State > m_state
the state
Definition: MacDraftParser.hxx:118
bool send(MacDraftParserInternal::Shape const &shape)
try to send a shape
Definition: MacDraftParser.cxx:1684
bool readZone()
try to a unknown zone
Definition: MacDraftParser.cxx:562
MacDraftParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MacDraftParser.cxx:337
bool readLabel()
try to read a label
Definition: MacDraftParser.cxx:1249
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:250
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
bool sendBitmap(MacDraftParserInternal::Shape const &bitmap, MWAWPosition const &position)
try to send a bitmap
Definition: MacDraftParser.cxx:1773
~MacDraftParser() final
destructor
Definition: MacDraftParser.cxx:344
bool readBitmapData()
try to read bitmap data
Definition: MacDraftParser.cxx:1066
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:396