HMWJTextInternal::SubDocument Class Reference

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

Inheritance diagram for HMWJTextInternal::SubDocument:
MWAWSubDocument

List of all members.

Public Member Functions

 SubDocument (HMWJText &pars, MWAWInputStreamPtr input, long id, long cPos=0)
 constructor to call a textzone
 SubDocument (HMWJText &pars, MWAWInputStreamPtr input, std::string const &text)
 constructor to send a string
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

Protected Types

enum  Type { S_TextZone, S_String }
 the subdocument type More...

Protected Attributes

Type m_type
 the subdocument type
HMWJTextm_textParser
 the text parser
long m_id
 the subdocument id
long m_cPos
 the first charecter position
std::string m_bookmark
 the bookmark string

Private Member Functions

 SubDocument (SubDocument const &orig)
SubDocumentoperator= (SubDocument const &orig)

Detailed Description

Internal: the subdocument of a HMWJText.


Member Enumeration Documentation

the subdocument type

Enumerator:
S_TextZone 
S_String 

Constructor & Destructor Documentation

HMWJTextInternal::SubDocument::SubDocument ( HMWJText pars,
MWAWInputStreamPtr  input,
long  id,
long  cPos = 0 
) [inline]

constructor to call a textzone

HMWJTextInternal::SubDocument::SubDocument ( HMWJText pars,
MWAWInputStreamPtr  input,
std::string const &  text 
) [inline]

constructor to send a string

virtual HMWJTextInternal::SubDocument::~SubDocument ( ) [inline, virtual]

destructor


Member Function Documentation

bool HMWJTextInternal::SubDocument::operator!= ( MWAWSubDocument const &  doc) const [virtual]

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

SubDocument& HMWJTextInternal::SubDocument::operator= ( SubDocument const &  orig) [private]
virtual bool HMWJTextInternal::SubDocument::operator== ( MWAWSubDocument const &  doc) const [inline, virtual]

operator!==

Reimplemented from MWAWSubDocument.

the parser function

Implements MWAWSubDocument.


Member Data Documentation

the bookmark string

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

the first charecter position

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

the subdocument id

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

the text parser

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

the subdocument type

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


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