34 #ifndef MS_WKS_DR_PARSER
35 # define MS_WKS_DR_PARSER
71 void parse(librevenge::RVNGDrawingInterface *documentInterface);
78 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
84 void newPage(
int number,
bool softBreak=
false);
97 shared_ptr<MsWksDRParserInternal::State>
m_state;
shared_ptr< MsWksDRParserInternal::State > m_state
the state
Definition: MsWksDRParser.hxx:97
void newPage(int number, bool softBreak=false)
adds a new page
Definition: MsWksDRParser.cxx:111
void init()
inits all internal variables
Definition: MsWksDRParser.cxx:95
Internal: the structures of a MsWksDRParser.
Definition: MsWksDRParser.cxx:58
std::vector< MWAWEntry > m_listZones
the list of different Zones
Definition: MsWksDRParser.hxx:100
MsWksDRParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MsWksDRParser.cxx:78
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MsWksDRParser.cxx:180
shared_ptr< MsWksDocument > m_document
the actual document
Definition: MsWksDRParser.hxx:103
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: MsWksDRParser.cxx:146
the main class to read a Microsoft Works graphic file
Definition: MsWksDRParser.hxx:59
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
the main class to read the graphic of a Microsoft Works file
Definition: MsWksGraph.hxx:73
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:245
virtual ~MsWksDRParser()
destructor
Definition: MsWksDRParser.cxx:91
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MsWksDRParser.cxx:369
bool createZones()
finds the different objects zones
Definition: MsWksDRParser.cxx:205
bool readDrawHeader()
tries to read the specific draw header
Definition: MsWksDRParser.cxx:285