34 #ifndef MS_WKS_DR_PARSER 35 # define MS_WKS_DR_PARSER 71 void parse(librevenge::RVNGDrawingInterface *documentInterface)
final;
78 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
84 void newPage(
int number,
bool softBreak=
false);
97 std::shared_ptr<MsWksDRParserInternal::State>
m_state;
void newPage(int number, bool softBreak=false)
adds a new page
Definition: MsWksDRParser.cxx:117
void init()
inits all internal variables
Definition: MsWksDRParser.cxx:101
MsWksDRParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MsWksDRParser.cxx:81
Internal: the structures of a MsWksDRParser.
Definition: MsWksDRParser.cxx:58
std::shared_ptr< MsWksDocument > m_document
the actual document
Definition: MsWksDRParser.hxx:103
std::vector< MWAWEntry > m_listZones
the list of different Zones
Definition: MsWksDRParser.hxx:100
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MsWksDRParser.cxx:186
the main class to read a Microsoft Works graphic file
Definition: MsWksDRParser.hxx:59
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:250
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
std::shared_ptr< MsWksDRParserInternal::State > m_state
the state
Definition: MsWksDRParser.hxx:97
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MsWksDRParser.cxx:375
bool createZones()
finds the different objects zones
Definition: MsWksDRParser.cxx:211
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: MsWksDRParser.cxx:152
bool readDrawHeader()
tries to read the specific draw header
Definition: MsWksDRParser.cxx:291
~MsWksDRParser() final
destructor
Definition: MsWksDRParser.cxx:97