MSWParserInternal::SubDocument Class Reference

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

Inheritance diagram for MSWParserInternal::SubDocument:
MWAWSubDocument

Public Member Functions

 SubDocument (MSWParser &pars, MWAWInputStreamPtr input, int id, libmwaw::SubDocumentType type)
 constructor for footnote, comment
 SubDocument (MSWParser &pars, MWAWInputStreamPtr input, MWAWEntry entry, libmwaw::SubDocumentType type)
 constructor for header/footer
 SubDocument (MSWParser &pars, MWAWInputStreamPtr input, long fPos, int cPos)
 constructor for picture
virtual ~SubDocument ()
 destructor
virtual bool operator!= (MWAWSubDocument const &doc) const
 operator!=
virtual bool operator== (MWAWSubDocument const &doc) const
 operator!==
void parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType type)
 the parser function
- Public Member Functions inherited from MWAWSubDocument
 MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr ip, MWAWEntry const &z)
 constructor from parser, input stream and zone in the input
 MWAWSubDocument (MWAWSubDocument const &doc)
 copy constructor
MWAWSubDocumentoperator= (MWAWSubDocument const &doc)
 copy operator
virtual ~MWAWSubDocument ()
 virtual destructor
bool operator!= (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator!=
bool operator== (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator==

Protected Attributes

int m_id
 the subdocument id
libmwaw::SubDocumentType m_type
 the subdocument type
long m_pictFPos
 the picture file position
int m_pictCPos
 the picture char position
- Protected Attributes inherited from MWAWSubDocument
MWAWParserm_parser
 the main zone parser
shared_ptr< MWAWInputStreamm_input
 the input
MWAWEntry m_zone
 if valid the zone to parse

Detailed Description

Internal: the subdocument of a MSWParser.

Constructor & Destructor Documentation

MSWParserInternal::SubDocument::SubDocument ( MSWParser pars,
MWAWInputStreamPtr  input,
int  id,
libmwaw::SubDocumentType  type 
)
inline

constructor for footnote, comment

MSWParserInternal::SubDocument::SubDocument ( MSWParser pars,
MWAWInputStreamPtr  input,
MWAWEntry  entry,
libmwaw::SubDocumentType  type 
)
inline

constructor for header/footer

MSWParserInternal::SubDocument::SubDocument ( MSWParser pars,
MWAWInputStreamPtr  input,
long  fPos,
int  cPos 
)
inline

constructor for picture

virtual MSWParserInternal::SubDocument::~SubDocument ( )
inlinevirtual

destructor

Member Function Documentation

bool MSWParserInternal::SubDocument::operator!= ( MWAWSubDocument const &  doc) const
virtual

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

virtual bool MSWParserInternal::SubDocument::operator== ( MWAWSubDocument const &  doc) const
inlinevirtual

operator!==

Reimplemented from MWAWSubDocument.

void MSWParserInternal::SubDocument::parse ( MWAWContentListenerPtr listener,
libmwaw::SubDocumentType  type 
)
virtual

the parser function

Implements MWAWSubDocument.

Member Data Documentation

int MSWParserInternal::SubDocument::m_id
protected

the subdocument id

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

int MSWParserInternal::SubDocument::m_pictCPos
protected

the picture char position

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

long MSWParserInternal::SubDocument::m_pictFPos
protected

the picture file position

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

libmwaw::SubDocumentType MSWParserInternal::SubDocument::m_type
protected

the subdocument type

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


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

Generated on Wed May 22 2013 18:12:48 for libmwaw by doxygen 1.8.1.2