48 class WPXDocumentInterface;
104 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:186
shared_ptr< MWAWParserState > MWAWParserStatePtr
Definition: ACText.hxx:49
MWAWParserState & operator=(MWAWParserState const &orig)
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
Definition: ACText.hxx:44
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWParser.hxx:160
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:100
MWAWParserState(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
Definition: MWAWParser.cxx:40
MWAWHeader * m_header
the header
Definition: MWAWParser.hxx:73
MWAWContentListenerPtr & getListener()
returns the listener
Definition: MWAWParser.hxx:136
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:113
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:164
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:140
double getFormLength() const
returns the form length
Definition: MWAWParser.hxx:148
MWAWHeader * getHeader()
returns the header
Definition: MWAWParser.hxx:128
void resetListener()
resets the listener
Definition: MWAWParser.cxx:83
MWAWParserStatePtr m_parserState
the parser state
Definition: MWAWParser.hxx:197
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:121
~MWAWParserState()
destructor
Definition: MWAWParser.cxx:49
shared_ptr< MWAWContentListener > MWAWContentListenerPtr
Definition: MWAWContentListener.hxx:260
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:172
double getPageLength() const
returns the page length (form width without margin )
Definition: MWAWPageSpan.hxx:145
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:182
a class to define the parser state
Definition: MWAWParser.hxx:60
libmwaw::DebugFile m_asciiFile
the debug file
Definition: MWAWParser.hxx:85
int m_version
the actual version
Definition: MWAWParser.hxx:69
double getFormWidth() const
returns the page width
Definition: MWAWPageSpan.hxx:121
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:178
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:124
MWAWListManagerPtr m_listManager
the list manager
Definition: MWAWParser.hxx:80
int version() const
returns the works version
Definition: MWAWParser.hxx:109
a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each l...
Definition: MWAWList.hxx:179
shared_ptr< MWAWFontConverter > MWAWFontConverterPtr
Definition: MSWStruct.hxx:52
double getPageLength() const
returns the page length (form length without margin )
Definition: MWAWParser.hxx:156
double getFormLength() const
returns the page length
Definition: MWAWPageSpan.hxx:117
a namespace used to convert Mac font characters in unicode
Definition: MWAWFontConverter.hxx:66
virtual ~MWAWParser()
virtual destructor
Definition: MWAWParser.cxx:74
MWAWPageSpan & getPageSpan()
returns the actual page dimension
Definition: MWAWParser.hxx:144
double getFormWidth() const
returns the form width
Definition: MWAWParser.hxx:152
std::string m_asciiName
the debug file name
Definition: MWAWParser.hxx:201
MWAWRSRCParserPtr m_rsrcParser
the resource parser
Definition: MWAWParser.hxx:75
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:149
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:98
MWAWPageSpan m_pageSpan
the actual document size
Definition: MWAWParser.hxx:199
MWAWFontConverterPtr m_fontConverter
the fonct converter
Definition: MWAWParser.hxx:78
shared_ptr< MWAWListManager > MWAWListManagerPtr
Definition: MWAWParser.hxx:54
MWAWInputStreamPtr m_input
the input
Definition: MWAWParser.hxx:71
Definition: MWAWContentListener.hxx:68
virtual bool checkHeader(MWAWHeader *header, bool strict=false)=0
virtual function used to check if the document header is correct (or not)
the main class to read a Mac resource fork
Definition: MWAWRSRCParser.hxx:52
MWAWContentListenerPtr m_listener
the listener
Definition: MWAWParser.hxx:82
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:132
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
Definition: MWAWParser.hxx:56