34 #ifndef MACDRAWPRO_PARSER
35 # define MACDRAWPRO_PARSER
41 #include <librevenge/librevenge.h>
77 void parse(librevenge::RVNGDrawingInterface *documentInterface);
84 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
156 shared_ptr<MacDrawProParserInternal::State>
m_state;
bool computeLayersAndLibrariesBoundingBox()
computes the layers and libraries bounding box
Definition: MacDrawProParser.cxx:1050
bool readStructuredHeaderZone(MWAWEntry const &entry, std::map< int, long > &idToDeltaPosMap)
tries to read a structured zone header
Definition: MacDrawProParser.cxx:912
Definition: MacDrawProParser.cxx:88
Definition: MacDrawProParser.cxx:65
bool createZones()
finds the different objects zones
Definition: MacDrawProParser.cxx:506
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: MacDrawProParser.cxx:3141
virtual ~MacDrawProParser()
destructor
Definition: MacDrawProParser.cxx:384
bool readPrintInfo()
tries to read the print info zone
Definition: MacDrawProParser.cxx:2636
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacDrawProParser.cxx:435
bool readHeaderInfo()
tries to the header info zone ( print info + some information about content + prefs ...
Definition: MacDrawProParser.cxx:2487
bool sendBitmap(MacDrawProParserInternal::Shape const &shape, MWAWPosition const &pos)
tries to send a bitmap to the listener
Definition: MacDrawProParser.cxx:2887
bool findObjectPositions(bool dataZone)
finds the objet's data/text positions
Definition: MacDrawProParser.cxx:965
bool readObjectData(MacDrawProParserInternal::Shape &shape, int zId)
tries to read an object data
Definition: MacDrawProParser.cxx:1558
int readObject()
tries to read an object and returns the object id (-1 if error )
Definition: MacDrawProParser.cxx:1183
Internal: the subdocument of a MacDrawProParser.
Definition: MacDrawProParser.cxx:314
Internal: the structures of a MacDrawProParser.
Definition: MacDrawProParser.cxx:62
bool readTextPro(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a text object data in MacDraw pro file
Definition: MacDrawProParser.cxx:1865
bool sendPage(int page)
tries to send the layer corresponding a page
Definition: MacDrawProParser.cxx:2725
void init()
inits all internal variables
Definition: MacDrawProParser.cxx:388
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MacDrawProParser.cxx:2403
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
MacDrawProParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MacDrawProParser.cxx:378
bool readTextII(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a text object data in MacDraw II file
Definition: MacDrawProParser.cxx:1696
bool updateGeometryShape(MacDrawProParserInternal::Shape &shape, float cornerWidth)
tries to update the basic geometric data
Definition: MacDrawProParser.cxx:1655
bool readGeometryShapeData(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a basic geometric object data ( line, rect, arc,... )
Definition: MacDrawProParser.cxx:1988
the main class to read a MacDraw II file
Definition: MacDrawProParser.hxx:63
the main class to read a MacDraw II file
Definition: MacDrawProStyleManager.hxx:59
bool readRotationInObjectData(MacDrawProParserInternal::Shape &shape, long endPos, std::string &extra)
tries to read the rotation
Definition: MacDrawProParser.cxx:1624
shared_ptr< MacDrawProParserInternal::State > m_state
the state
Definition: MacDrawProParser.hxx:156
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: MacDrawProParser.cxx:402
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
bool sendLabel(MWAWEntry const &entry)
tries to send a line label to the listener
Definition: MacDrawProParser.cxx:3102
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:245
bool readLayerLibraryCorrespondance()
tries to the layer library correspondance zone
Definition: MacDrawProParser.cxx:716
bool readLibrariesInfo()
tries to read the library name info zone
Definition: MacDrawProParser.cxx:818
bool readBitmap(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a bitmap data
Definition: MacDrawProParser.cxx:2296
bool readLayersInfo()
tries to the layer info zone
Definition: MacDrawProParser.cxx:575
Definition: MacDrawProParser.cxx:104
shared_ptr< MacDrawProStyleManager > m_styleManager
the style manager state
Definition: MacDrawProParser.hxx:159
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
bool send(MacDrawProParserInternal::Library const &library)
tries to send a library (not functionnal)
Definition: MacDrawProParser.cxx:2754
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool sendText(int zoneId)
tries to send a text zone to the listener
Definition: MacDrawProParser.cxx:3013
bool sendMasterPage()
tries to create a master page if needed
Definition: MacDrawProParser.cxx:2698