STOFFTextParser Class Referenceabstract

virtual class which defines the ancestor of all text zone parser More...

#include <STOFFParser.hxx>

Inheritance diagram for STOFFTextParser:
STOFFParser SDWParser SDXParser

Public Member Functions

virtual void parse (librevenge::RVNGTextInterface *documentInterface)=0
 virtual function used to parse the input More...
 
- Public Member Functions inherited from STOFFParser
virtual ~STOFFParser ()
 virtual destructor More...
 
virtual bool checkHeader (STOFFHeader *header, bool strict=false)=0
 virtual function used to check if the document header is correct (or not) More...
 
int version () const
 returns the works version More...
 
STOFFParserStatePtr getParserState ()
 returns the parser state More...
 
STOFFHeadergetHeader ()
 returns the header More...
 
STOFFInputStreamPtrgetInput ()
 returns the actual input More...
 
const STOFFPageSpangetPageSpan () const
 returns the actual page dimension More...
 
STOFFPageSpangetPageSpan ()
 returns the actual page dimension More...
 
STOFFGraphicListenerPtrgetGraphicListener ()
 returns the graphic listener More...
 
STOFFSpreadsheetListenerPtrgetSpreadsheetListener ()
 returns the spreadsheet listener More...
 
STOFFTextListenerPtrgetTextListener ()
 returns the text listener More...
 
libstoff::DebugFileascii ()
 a DebugFile used to write what we recognize when we parse the document More...
 

Protected Member Functions

 STOFFTextParser (STOFFInputStreamPtr &input, STOFFHeader *header)
 constructor (protected) More...
 
 STOFFTextParser (STOFFParserStatePtr &state)
 constructor using a state More...
 
 ~STOFFTextParser () override
 destructor More...
 
- Protected Member Functions inherited from STOFFParser
 STOFFParser (STOFFParserState::Type type, STOFFInputStreamPtr input, STOFFHeader *header)
 constructor (protected) More...
 
 STOFFParser (STOFFParserStatePtr &state)
 constructor using a state More...
 
void setVersion (int vers)
 sets the document's version More...
 
void setGraphicListener (STOFFGraphicListenerPtr &listener)
 sets the graphic listener More...
 
void resetGraphicListener ()
 resets the graphic listener More...
 
void setSpreadsheetListener (STOFFSpreadsheetListenerPtr &listener)
 sets the spreadsheet listener More...
 
void resetSpreadsheetListener ()
 resets the spreadsheet listener More...
 
void setTextListener (STOFFTextListenerPtr &listener)
 sets the text listener More...
 
void resetTextListener ()
 resets the text listener More...
 
void setAsciiName (char const *name)
 Debugging: change the default ascii file. More...
 
const std::string & asciiName () const
 return the ascii file name More...
 

Detailed Description

virtual class which defines the ancestor of all text zone parser

Constructor & Destructor Documentation

◆ STOFFTextParser() [1/2]

STOFFTextParser::STOFFTextParser ( STOFFInputStreamPtr input,
STOFFHeader header 
)
inlineprotected

constructor (protected)

◆ STOFFTextParser() [2/2]

STOFFTextParser::STOFFTextParser ( STOFFParserStatePtr state)
inlineexplicitprotected

constructor using a state

◆ ~STOFFTextParser()

STOFFTextParser::~STOFFTextParser ( )
overrideprotected

destructor

Member Function Documentation

◆ parse()

virtual void STOFFTextParser::parse ( librevenge::RVNGTextInterface *  documentInterface)
pure virtual

virtual function used to parse the input

Implemented in SDWParser, and SDXParser.


The documentation for this class was generated from the following files:

Generated on Mon Jan 20 2020 23:02:20 for libstaroffice by doxygen 1.8.16