Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
WKSParser Class Referenceabstract

`#include <WKSParser.h>`

Inheritance diagram for WKSParser:

## Public Member Functions
| WKSParser (RVNGInputStreamPtr &input, WPSHeaderPtr &header)
virtual | ~WKSParser ()
virtual void | parse (librevenge::RVNGSpreadsheetInterface *documentInterface)=0

## Protected Member Functions
RVNGInputStreamPtr & | getInput ()
void | resetInput (RVNGInputStreamPtr const &newInput)
RVNGInputStreamPtr | getFileInput ()
WPSHeaderPtr & | getHeader ()
int | version () const
void | setVersion (int vers)
libwps::DebugFile & | ascii ()
| a DebugFile used to write what we recognize when we parse the document More...

## Private Member Functions
| WKSParser (const WKSParser &)=delete
WKSParser & | operator= (const WKSParser &)=delete

## Private Attributes
RVNGInputStreamPtr | m_input
WPSHeaderPtr | m_header
int | m_version
libwps::DebugFile | m_asciiFile
| the debug file More...

## Constructor & Destructor Documentation

## ◆ WKSParser() [1/2]

WKSParser::WKSParser | ( | RVNGInputStreamPtr & | input,
|  | WPSHeaderPtr & | header
| ) |  |

## ◆ ~WKSParser()

WKSParser::~WKSParser | ( |  | ) |
| virtual

## ◆ WKSParser() [2/2]

WKSParser::WKSParser | ( | const WKSParser & |  | ) |
| private delete

## Member Function Documentation

## ◆ ascii()

libwps::DebugFile& WKSParser::ascii | ( |  | ) |
| inline protected

a DebugFile used to write what we recognize when we parse the document

Referenced by libwps::MultiplanParser::checkHeader(), QuattroDosParser::checkHeader(), WKS4Parser::checkHeader(), QuattroParser::checkHeader(), LotusParser::checkHeader(), Quattro9Parser::checkHeader(), LotusParser::createZones(), libwps::MultiplanParser::parse(), QuattroDosParser::parse(), WKS4Parser::parse(), QuattroParser::parse(), LotusParser::parse(), Quattro9Parser::parse(), libwps::MultiplanParser::readCellDataPosition(), libwps::MultiplanParser::readColumnsWidth(), QuattroDosParser::readFieldName(), WKS4Parser::readFieldName(), libwps::MultiplanParser::readFilename(), QuattroDosParser::readFileName(), WKS4Parser::readFont(), libwps::MultiplanParser::readFormula(), libwps::MultiplanParser::readFormulaV2(), libwps::MultiplanParser::readFunctionNamesList(), QuattroDosParser::readHeaderFooter(), WKS4Parser::readHeaderFooter(), libwps::MultiplanParser::readLink(), libwps::MultiplanParser::readName(), WKS4Parser::readPrn2(), WKS4Parser::readPrnt(), libwps::MultiplanParser::readSharedData(), QuattroDosParser::readUnknown1(), WKS4Parser::readUnknown1(), QuattroDosParser::readUserFonts(), QuattroDosParser::readWindowRecord(), WKS4Parser::readWindowRecord(), QuattroDosParser::readZone(), WKS4Parser::readZone(), libwps::MultiplanParser::readZoneB(), WKS4Parser::readZoneQuattro(), libwps::MultiplanParser::readZones(), QuattroDosParser::readZones(), WKS4Parser::readZones(), QuattroParser::readZones(), Quattro9Parser::readZones(), libwps::MultiplanParser::readZonesList(), libwps::MultiplanParser::readZonesListV2(), WKS4Parser::resetMainInput(), and libwps::MultiplanParser::sendCell().

## ◆ getFileInput()

RVNGInputStreamPtr WKSParser::getFileInput | ( |  | ) |
| protected

Referenced by WKS4Parser::parseFormatStream(), LotusParser::parseFormatStream(), QuattroParser::readZones(), and Quattro9Parser::readZones().

## ◆ getHeader()

WPSHeaderPtr& WKSParser::getHeader | ( |  | ) |
| inline protected

## ◆ getInput()

RVNGInputStreamPtr& WKSParser::getInput | ( |  | ) |
| inline protected

Referenced by libwps::MultiplanParser::checkFilePosition(), QuattroDosParser::checkFilePosition(), WKS4Parser::checkFilePosition(), libwps::MultiplanParser::checkHeader(), QuattroDosParser::checkHeader(), WKS4Parser::checkHeader(), QuattroParser::checkHeader(), LotusParser::checkHeader(), Quattro9Parser::checkHeader(), WKS4Parser::createListener(), QuattroDosParser::createListener(), QuattroParser::createListener(), LotusParser::createZones(), libwps::MultiplanParser::parse(), QuattroDosParser::parse(), WKS4Parser::parse(), QuattroParser::parse(), LotusParser::parse(), Quattro9Parser::parse(), libwps::MultiplanParser::readCellDataPosition(), libwps::MultiplanParser::readColumnsWidth(), WKS4Parser::readCString(), libwps::MultiplanParser::readDouble(), QuattroDosParser::readFieldName(), WKS4Parser::readFieldName(), libwps::MultiplanParser::readFilename(), QuattroDosParser::readFileName(), QuattroDosParser::readFont(), WKS4Parser::readFont(), libwps::MultiplanParser::readFormula(), libwps::MultiplanParser::readFormulaV2(), libwps::MultiplanParser::readFunctionNamesList(), QuattroDosParser::readHeaderFooter(), WKS4Parser::readHeaderFooter(), libwps::MultiplanParser::readLink(), libwps::MultiplanParser::readName(), WKS4Parser::readPrn2(), WKS4Parser::readPrnt(), QuattroDosParser::readPString(), libwps::MultiplanParser::readSharedData(), QuattroDosParser::readUnknown1(), WKS4Parser::readUnknown1(), QuattroDosParser::readUserFonts(), QuattroDosParser::readWindowRecord(), WKS4Parser::readWindowRecord(), QuattroDosParser::readZone(), WKS4Parser::readZone(), libwps::MultiplanParser::readZoneB(), WKS4Parser::readZoneQuattro(), libwps::MultiplanParser::readZones(), QuattroDosParser::readZones(), WKS4Parser::readZones(), QuattroParser::readZones(), Quattro9Parser::readZones(), libwps::MultiplanParser::readZonesList(), libwps::MultiplanParser::readZonesListV2(), libwps::MultiplanParser::retrievePasswordKeys(), and libwps::MultiplanParser::sendCell().

## ◆ operator=()

WKSParser& WKSParser::operator= | ( | const WKSParser & |  | ) |
| private delete

## ◆ parse()

virtual void WKSParser::parse | ( | librevenge::RVNGSpreadsheetInterface * | documentInterface | ) |
| pure virtual

Implemented in Quattro9Parser, LotusParser, QuattroParser, WKS4Parser, QuattroDosParser, and libwps::MultiplanParser.

## ◆ resetInput()

void WKSParser::resetInput | ( | RVNGInputStreamPtr const & | newInput | ) |
| inline protected

Referenced by libwps::MultiplanParser::readZonesListV2(), and WKS4Parser::resetMainInput().

## ◆ setVersion()

void WKSParser::setVersion | ( | int | vers | ) |
| inline protected

## ◆ version()

int WKSParser::version | ( |  | ) | const
| inline protected

## Member Data Documentation

## ◆ m_asciiFile

libwps::DebugFile WKSParser::m_asciiFile
| private

the debug file

Referenced by ascii().

## ◆ m_header

WPSHeaderPtr WKSParser::m_header
| private

Referenced by getFileInput(), and getHeader().

## ◆ m_input

RVNGInputStreamPtr WKSParser::m_input
| private

Referenced by getInput(), and resetInput().

## ◆ m_version

int WKSParser::m_version
| private

Referenced by setVersion(), version(), and WKSParser().

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

- WKSParser.h
- WKSParser.cpp