WKSSubDocument Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

Basic class used to store a spreadsheet sub document. More...

`#include <WKSSubDocument.h>`

Inheritance diagram for WKSSubDocument:

## Public Member Functions
| WKSSubDocument (RVNGInputStreamPtr &input, WKSParser *parser, int id=0)
| constructor More...
virtual | ~WKSSubDocument ()
| destructor More...
WKSParser * | parser () const
| returns the parser More...
virtual bool | operator== (shared_ptr< WPSSubDocument > const &doc) const
| an operator = More...
virtual void | parse (shared_ptr< WKSContentListener > &listener, libwps::SubDocumentType subDocumentType)=0
| virtual parse function More...
Public Member Functions inherited from WPSSubDocument
| WPSSubDocument (RVNGInputStreamPtr &input, int id=0)
| constructor More...
virtual | ~WPSSubDocument ()
| destructor More...
RVNGInputStreamPtr & | getInput ()
| returns the input More...
int | id () const
| get the identificator More...
void | setId (int i)
| set the identificator More...
bool | operator!= (shared_ptr< WPSSubDocument > const &doc) const

## Protected Attributes
WKSParser * | m_parser
Protected Attributes inherited from WPSSubDocument
RVNGInputStreamPtr | m_input
int | m_id

## Private Member Functions
| WKSSubDocument (const WKSSubDocument &)
WKSSubDocument & | operator= (const WKSSubDocument &)

## Detailed Description

Basic class used to store a spreadsheet sub document.

## Constructor & Destructor Documentation

WKSSubDocument::WKSSubDocument | ( | RVNGInputStreamPtr & | input,
|  | WKSParser * | parser,
|  | int | id = `0`
| ) |  |

constructor

WKSSubDocument::~WKSSubDocument | ( |  | ) |
| virtual

destructor

WKSSubDocument::WKSSubDocument | ( | const WKSSubDocument & |  | ) |
| private

## Member Function Documentation

WKSSubDocument& WKSSubDocument::operator= | ( | const WKSSubDocument & |  | ) |
| private

bool WKSSubDocument::operator== | ( | shared_ptr< WPSSubDocument > const & | doc | ) | const
| virtual

an operator =

Reimplemented from WPSSubDocument.

virtual void WKSSubDocument::parse | ( | shared_ptr< WKSContentListener > & | listener,
|  | libwps::SubDocumentType | subDocumentType
| ) |  |
| pure virtual

virtual parse function

this function is called to parse the subdocument

Implemented in WKS4ParserInternal::SubDocument.

Referenced by WKSContentListener::handleSubDocument().

WKSParser* WKSSubDocument::parser | ( |  | ) | const
| inline

returns the parser

## Member Data Documentation

WKSParser* WKSSubDocument::m_parser
| protected

Referenced by operator==(), and parser().

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

- WKSSubDocument.h
- WKSSubDocument.cpp