virtual class which defines the ancestor of all graphic/presentation zone parser More...
#include <STOFFParser.hxx>
Public Member Functions | |
virtual void | parse (librevenge::RVNGDrawingInterface *documentInterface) |
virtual function used to parse the input | |
virtual void | parse (librevenge::RVNGPresentationInterface *documentInterface) |
virtual function used to parse the input | |
![]() | |
virtual | ~STOFFParser () |
virtual destructor | |
virtual bool | checkHeader (STOFFHeader *header, bool strict=false)=0 |
virtual function used to check if the document header is correct (or not) | |
int | version () const |
returns the works version | |
STOFFParserStatePtr | getParserState () |
returns the parser state | |
STOFFHeader * | getHeader () |
returns the header | |
STOFFInputStreamPtr & | getInput () |
returns the actual input | |
STOFFPageSpan const & | getPageSpan () const |
returns the actual page dimension | |
STOFFPageSpan & | getPageSpan () |
returns the actual page dimension | |
STOFFGraphicListenerPtr & | getGraphicListener () |
returns the graphic listener | |
STOFFSpreadsheetListenerPtr & | getSpreadsheetListener () |
returns the spreadsheet listener | |
STOFFTextListenerPtr & | getTextListener () |
returns the text listener | |
libstoff::DebugFile & | ascii () |
a DebugFile used to write what we recognize when we parse the document | |
Protected Member Functions | |
STOFFGraphicParser (STOFFInputStreamPtr &input, STOFFHeader *header) | |
constructor (protected) | |
STOFFGraphicParser (STOFFParserStatePtr &state) | |
constructor using a state | |
~STOFFGraphicParser () override | |
destructor | |
![]() | |
STOFFParser (STOFFParserState::Type type, STOFFInputStreamPtr input, STOFFHeader *header) | |
constructor (protected) | |
STOFFParser (STOFFParserStatePtr &state) | |
constructor using a state | |
void | setVersion (int vers) |
sets the document's version | |
void | setGraphicListener (STOFFGraphicListenerPtr &listener) |
sets the graphic listener | |
void | resetGraphicListener () |
resets the graphic listener | |
void | setSpreadsheetListener (STOFFSpreadsheetListenerPtr &listener) |
sets the spreadsheet listener | |
void | resetSpreadsheetListener () |
resets the spreadsheet listener | |
void | setTextListener (STOFFTextListenerPtr &listener) |
sets the text listener | |
void | resetTextListener () |
resets the text listener | |
void | setAsciiName (char const *name) |
Debugging: change the default ascii file. | |
std::string const & | asciiName () const |
return the ascii file name | |
virtual class which defines the ancestor of all graphic/presentation zone parser
|
inlineprotected |
constructor (protected)
|
inlineexplicitprotected |
constructor using a state
|
overrideprotected |
destructor
|
virtual |
|
virtual |
virtual function used to parse the input
Reimplemented in SDAParser.