WPS8ParserInternal::SubDocument Class Reference

Internal: the subdocument of a WPS8. More...

Inheritance diagram for WPS8ParserInternal::SubDocument:
WPSSubDocument

Public Types

enum  Type { Unknown, Footnote, Endnote }
 type of an entry stored in textId More...

Public Member Functions

 SubDocument (WPXInputStreamPtr input, WPS8Parser &pars, Type type, int i)
 constructor for a text entry
 ~SubDocument ()
 destructor
virtual bool operator== (WPSSubDocumentPtr const &doc) const
 operator==
void parse (WPSContentListenerPtr &listener, libwps::SubDocumentType type)
 the parser function
- Public Member Functions inherited from WPSSubDocument
 WPSSubDocument (WPXInputStreamPtr &input, WPSParser *parser, int id=0)
 constructor
virtual ~WPSSubDocument ()
 destructor
WPXInputStreamPtrgetInput ()
 returns the input
WPSParserparser () const
 returns the parser
int id () const
 get the identificator
void setId (int i)
 set the identificator
bool operator!= (shared_ptr< WPSSubDocument > const &doc) const
virtual void parse (shared_ptr< WPSContentListener > &listener, libwps::SubDocumentType subDocumentType)=0
 virtual parse function

Public Attributes

Type m_type

Additional Inherited Members

- Protected Attributes inherited from WPSSubDocument
WPXInputStreamPtr m_input
WPSParserm_parser
int m_id

Detailed Description

Internal: the subdocument of a WPS8.

Member Enumeration Documentation

type of an entry stored in textId

Enumerator:
Unknown 
Footnote 
Endnote 

Constructor & Destructor Documentation

WPS8ParserInternal::SubDocument::SubDocument ( WPXInputStreamPtr  input,
WPS8Parser pars,
Type  type,
int  i 
)
inline

constructor for a text entry

WPS8ParserInternal::SubDocument::~SubDocument ( )
inline

destructor

Member Function Documentation

virtual bool WPS8ParserInternal::SubDocument::operator== ( WPSSubDocumentPtr const &  doc) const
inlinevirtual

operator==

Reimplemented from WPSSubDocument.

void WPS8ParserInternal::SubDocument::parse ( WPSContentListenerPtr listener,
libwps::SubDocumentType  type 
)

the parser function

Member Data Documentation

Type WPS8ParserInternal::SubDocument::m_type

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


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

Generated on Wed Aug 8 2012 16:07:59 for libwps by doxygen 1.8.1.2