34 #ifndef CLARISDRAW_PARSER
35 # define CLARISDRAW_PARSER
40 #include <librevenge/librevenge.h>
77 void parse(librevenge::RVNGDrawingInterface *documentInterface);
91 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
106 shared_ptr<ClarisWksStruct::DSET>
readDSET(
bool isLibHeader=
false);
127 shared_ptr<ClarisDrawParserInternal::State>
m_state;
void init()
inits all internal variables
Definition: ClarisDrawParser.cxx:132
shared_ptr< ClarisDrawText > m_textParser
the text parser
Definition: ClarisDrawParser.hxx:133
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisDrawParser.cxx:233
Internal: the structures of a ClarisDrawParser.
Definition: ClarisDrawParser.cxx:61
shared_ptr< ClarisDrawParserInternal::State > m_state
the state
Definition: ClarisDrawParser.hxx:127
shared_ptr< ClarisDrawStyleManager > m_styleManager
the style manager
Definition: ClarisDrawParser.hxx:129
MWAWVec2f getPageLeftTop()
returns the page left top point ( in inches)
Definition: ClarisDrawParser.cxx:159
the main class to read a ClarisDraw style
Definition: ClarisDrawStyleManager.hxx:59
bool readPrintInfo()
try to read the print info zone
Definition: ClarisDrawParser.cxx:1413
void parse(librevenge::RVNGDrawingInterface *documentInterface)
the main parse function
Definition: ClarisDrawParser.cxx:168
shared_ptr< ClarisWksStruct::DSET > readDSET(bool isLibHeader=false)
try to read a DSET structure
Definition: ClarisDrawParser.cxx:1472
bool readDocInfo()
try to read the document info zone
Definition: ClarisDrawParser.cxx:1366
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
bool readLibraryNames()
try to read the library names(two zone)
Definition: ClarisDrawParser.cxx:1231
bool createZones()
finds the different objects zones
Definition: ClarisDrawParser.cxx:300
int getFileType(int zoneId) const
returns the file type corresponding to a zone id
Definition: ClarisDrawParser.cxx:145
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:245
the main class to read a ClarisDraw v1 file
Definition: ClarisDrawParser.hxx:63
ClarisDrawParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisDrawParser.cxx:122
bool readDocHeader()
try to read a document header
Definition: ClarisDrawParser.cxx:381
bool readLayouts()
try to read the layout
Definition: ClarisDrawParser.cxx:1115
bool sendTextZone(int number, int subZone=-1)
sends a text zone
Definition: ClarisDrawParser.cxx:154
bool readLibraryHeader()
try to read the library header
Definition: ClarisDrawParser.cxx:798
virtual ~ClarisDrawParser()
destructor
Definition: ClarisDrawParser.cxx:128
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: ClarisDrawParser.cxx:1076
shared_ptr< ClarisDrawGraph > m_graphParser
the graph parser
Definition: ClarisDrawParser.hxx:131
the main class to read the graphic part of Claris Works file
Definition: ClarisDrawGraph.hxx:73
bool readZone()
try to read a zone
Definition: ClarisDrawParser.cxx:339
the main class to read the text part of ClarisDraw file
Definition: ClarisDrawText.hxx:72