MsWksDocumentInternal::SubDocument Class Referencefinal

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

Inheritance diagram for MsWksDocumentInternal::SubDocument:
MWAWSubDocument

Public Types

enum  Type { Note, OLE, Zone, Text }
 

Public Member Functions

 SubDocument (MsWksDocument &document, MWAWInputStreamPtr const &input, Type type, int zoneId)
 
 ~SubDocument () final
 destructor More...
 
bool operator!= (MWAWSubDocument const &doc) const final
 operator!= More...
 
void parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
 the parser function More...
 
- Public Member Functions inherited from MWAWSubDocument
 MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr const &ip, MWAWEntry const &z)
 constructor from parser, input stream and zone in the input More...
 
 MWAWSubDocument (MWAWSubDocument const &doc)=default
 copy constructor More...
 
MWAWSubDocumentoperator= (MWAWSubDocument const &doc)=default
 copy operator More...
 
virtual ~MWAWSubDocument ()
 virtual destructor More...
 
bool operator== (MWAWSubDocument const &doc) const
 comparison operator== More...
 
bool operator!= (std::shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator!= More...
 
bool operator== (std::shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator== More...
 

Protected Attributes

MsWksDocumentm_document
 the main document More...
 
Type m_type
 the type More...
 
int m_id
 the subdocument id More...
 
- Protected Attributes inherited from MWAWSubDocument
MWAWParserm_parser
 the main zone parser More...
 
std::shared_ptr< MWAWInputStreamm_input
 the input More...
 
MWAWEntry m_zone
 if valid the zone to parse More...
 

Detailed Description

Internal: the subdocument of a MsWksDocument.

Member Enumeration Documentation

◆ Type

Enumerator
Note 
OLE 
Zone 
Text 

Constructor & Destructor Documentation

◆ SubDocument()

MsWksDocumentInternal::SubDocument::SubDocument ( MsWksDocument document,
MWAWInputStreamPtr const &  input,
Type  type,
int  zoneId 
)
inline

◆ ~SubDocument()

MsWksDocumentInternal::SubDocument::~SubDocument ( )
inlinefinal

destructor

Member Function Documentation

◆ operator!=()

bool MsWksDocumentInternal::SubDocument::operator!= ( MWAWSubDocument const &  doc) const
finalvirtual

operator!=

Reimplemented from MWAWSubDocument.

◆ parse()

void MsWksDocumentInternal::SubDocument::parse ( MWAWListenerPtr listener,
libmwaw::SubDocumentType  type 
)
finalvirtual

the parser function

Implements MWAWSubDocument.

Member Data Documentation

◆ m_document

MsWksDocument& MsWksDocumentInternal::SubDocument::m_document
protected

the main document

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

◆ m_id

int MsWksDocumentInternal::SubDocument::m_id
protected

the subdocument id

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

◆ m_type

Type MsWksDocumentInternal::SubDocument::m_type
protected

the type

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


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

Generated for libmwaw by doxygen 1.8.14