HMWKGraphInternal::SubDocument Class Reference

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

Inheritance diagram for HMWKGraphInternal::SubDocument:
MWAWSubDocument

Public Types

enum  Type {
  Picture, FrameInFrame, Text, UnformattedTable,
  EmptyPicture
}
 the document type More...

Public Member Functions

 SubDocument (HMWKGraph &pars, MWAWInputStreamPtr input, Type type, long id, long subId=0)
 constructor
 SubDocument (HMWKGraph &pars, MWAWInputStreamPtr input, MWAWPosition pos, Type type, long id, long subId=0)
 constructor
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

HMWKGraphm_graphParser
 the graph parser
Type m_type
 the zone type
long m_id
 the zone id
long m_subId
 the zone subId ( for table cell )
MWAWPosition m_pos
 the position in a frame
- 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

Private Member Functions

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

Detailed Description

Internal: the subdocument of a HMWKGraph.

Member Enumeration Documentation

the document type

Enumerator:
Picture 
FrameInFrame 
Text 
UnformattedTable 
EmptyPicture 

Constructor & Destructor Documentation

HMWKGraphInternal::SubDocument::SubDocument ( HMWKGraph pars,
MWAWInputStreamPtr  input,
Type  type,
long  id,
long  subId = 0 
)
inline

constructor

HMWKGraphInternal::SubDocument::SubDocument ( HMWKGraph pars,
MWAWInputStreamPtr  input,
MWAWPosition  pos,
Type  type,
long  id,
long  subId = 0 
)
inline

constructor

virtual HMWKGraphInternal::SubDocument::~SubDocument ( )
inlinevirtual

destructor

HMWKGraphInternal::SubDocument::SubDocument ( SubDocument const &  orig)
private

Member Function Documentation

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

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

SubDocument& HMWKGraphInternal::SubDocument::operator= ( SubDocument const &  orig)
private
virtual bool HMWKGraphInternal::SubDocument::operator== ( MWAWSubDocument const &  doc) const
inlinevirtual

operator!==

Reimplemented from MWAWSubDocument.

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

the parser function

Implements MWAWSubDocument.

Member Data Documentation

HMWKGraph* HMWKGraphInternal::SubDocument::m_graphParser
protected

the graph parser

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

long HMWKGraphInternal::SubDocument::m_id
protected

the zone id

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

MWAWPosition HMWKGraphInternal::SubDocument::m_pos
protected

the position in a frame

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

long HMWKGraphInternal::SubDocument::m_subId
protected

the zone subId ( for table cell )

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

Type HMWKGraphInternal::SubDocument::m_type
protected

the zone 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:47 for libmwaw by doxygen 1.8.1.2