48 class WPXDocumentInterface;
93 virtual void parse(WPXDocumentInterface *documentInterface) = 0;
virtual void parse(WPXDocumentInterface *documentInterface)=0
virtual function used to parse the input
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:175
MWAWParserState & operator=(MWAWParserState const &orig)
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWParser.hxx:149
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:95
MWAWParserState(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
Definition: MWAWParser.cxx:40
MWAWHeader * m_header
the header
Definition: MWAWParser.hxx:64
MWAWContentListenerPtr & getListener()
returns the listener
Definition: MWAWParser.hxx:125
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:67
void setVersion(int vers)
sets the works version
Definition: MWAWParser.hxx:102
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:153
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:129
double getFormLength() const
returns the form length
Definition: MWAWParser.hxx:137
MWAWHeader * getHeader()
returns the header
Definition: MWAWParser.hxx:117
void resetListener()
resets the listener
Definition: MWAWParser.cxx:83
MWAWParserStatePtr m_parserState
the parser state
Definition: MWAWParser.hxx:186
void setListener(MWAWContentListenerPtr &listener)
sets the listener
Definition: MWAWParser.cxx:78
MWAWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor (protected)
Definition: MWAWParser.cxx:68
MWAWParser & operator=(const MWAWParser &)
private operator=: forbidden
MWAWParser(MWAWParserStatePtr state)
constructor using a state
Definition: MWAWParser.hxx:110
~MWAWParserState()
destructor
Definition: MWAWParser.cxx:49
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:161
double getPageLength() const
returns the page length (form width without margin )
Definition: MWAWPageSpan.hxx:140
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:171
a class to define the parser state
Definition: MWAWParser.hxx:51
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:340
libmwaw::DebugFile m_asciiFile
the debug file
Definition: MWAWParser.hxx:76
int m_version
the actual version
Definition: MWAWParser.hxx:60
double getFormWidth() const
returns the page width
Definition: MWAWPageSpan.hxx:116
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:167
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWListManagerPtr m_listManager
the list manager
Definition: MWAWParser.hxx:71
int version() const
returns the works version
Definition: MWAWParser.hxx:98
double getPageLength() const
returns the page length (form length without margin )
Definition: MWAWParser.hxx:145
double getFormLength() const
returns the page length
Definition: MWAWPageSpan.hxx:112
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:336
virtual ~MWAWParser()
virtual destructor
Definition: MWAWParser.cxx:74
MWAWPageSpan & getPageSpan()
returns the actual page dimension
Definition: MWAWParser.hxx:133
shared_ptr< MWAWFontConverter > MWAWFontConverterPtr
a smart pointer of MWAWFontConverter
Definition: libmwaw_internal.hxx:334
shared_ptr< MWAWContentListener > MWAWContentListenerPtr
a smart pointer of MWAWContentListener
Definition: libmwaw_internal.hxx:330
double getFormWidth() const
returns the form width
Definition: MWAWParser.hxx:141
std::string m_asciiName
the debug file name
Definition: MWAWParser.hxx:190
MWAWRSRCParserPtr m_rsrcParser
the resource parser
Definition: MWAWParser.hxx:66
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
void setFontConverter(MWAWFontConverterPtr fontConverter)
sets the font convertor
Definition: MWAWParser.cxx:89
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWPageSpan.hxx:144
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:87
MWAWPageSpan m_pageSpan
the actual document size
Definition: MWAWParser.hxx:188
MWAWFontConverterPtr m_fontConverter
the fonct converter
Definition: MWAWParser.hxx:69
MWAWInputStreamPtr m_input
the input
Definition: MWAWParser.hxx:62
virtual bool checkHeader(MWAWHeader *header, bool strict=false)=0
virtual function used to check if the document header is correct (or not)
MWAWContentListenerPtr m_listener
the listener
Definition: MWAWParser.hxx:73
shared_ptr< MWAWListManager > MWAWListManagerPtr
a smart pointer of MWAWListManager
Definition: libmwaw_internal.hxx:338
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:121