HanMacWrdKGraphInternal::SubDocument Class Reference

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

Inheritance diagram for HanMacWrdKGraphInternal::SubDocument:
MWAWSubDocument

Public Types

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

Public Member Functions

 SubDocument (HanMacWrdKGraph &pars, MWAWInputStreamPtr input, Type type, long id, long subId=0)
 constructor More...
 
 SubDocument (HanMacWrdKGraph &pars, MWAWInputStreamPtr input, MWAWPosition pos, Type type, long id, long subId=0)
 constructor More...
 
virtual ~SubDocument ()
 destructor More...
 
virtual bool operator!= (MWAWSubDocument const &doc) const
 operator!= More...
 
virtual bool operator== (MWAWSubDocument const &doc) const
 operator!== More...
 
void parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
 the parser function More...
 
- Public Member Functions inherited from MWAWSubDocument
 MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr ip, MWAWEntry const &z)
 constructor from parser, input stream and zone in the input More...
 
 MWAWSubDocument (MWAWSubDocument const &doc)
 copy constructor More...
 
MWAWSubDocumentoperator= (MWAWSubDocument const &doc)
 copy operator More...
 
virtual ~MWAWSubDocument ()
 virtual destructor More...
 
bool operator== (MWAWSubDocument const &doc) const
 comparison operator== More...
 
bool operator!= (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator!= More...
 
bool operator== (shared_ptr< MWAWSubDocument > const &doc) const
 comparison operator== More...
 

Protected Attributes

HanMacWrdKGraphm_graphParser
 the graph parser More...
 
Type m_type
 the zone type More...
 
long m_id
 the zone id More...
 
long m_subId
 the zone subId ( for table cell ) More...
 
MWAWPosition m_pos
 the position in a frame More...
 
- Protected Attributes inherited from MWAWSubDocument
MWAWParserm_parser
 the main zone parser More...
 
shared_ptr< MWAWInputStreamm_input
 the input More...
 
MWAWEntry m_zone
 if valid the zone to parse More...
 

Private Member Functions

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

Detailed Description

Internal: the subdocument of a HanMacWrdKGraph.

Member Enumeration Documentation

the document type

Enumerator
Picture 
FrameInFrame 
Group 
Text 
UnformattedTable 
EmptyPicture 

Constructor & Destructor Documentation

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

constructor

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

constructor

virtual HanMacWrdKGraphInternal::SubDocument::~SubDocument ( )
inlinevirtual

destructor

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

Member Function Documentation

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

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

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

operator!==

void HanMacWrdKGraphInternal::SubDocument::parse ( MWAWListenerPtr listener,
libmwaw::SubDocumentType  type 
)
virtual

the parser function

Implements MWAWSubDocument.

Member Data Documentation

HanMacWrdKGraph* HanMacWrdKGraphInternal::SubDocument::m_graphParser
protected

the graph parser

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

long HanMacWrdKGraphInternal::SubDocument::m_id
protected

the zone id

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

MWAWPosition HanMacWrdKGraphInternal::SubDocument::m_pos
protected

the position in a frame

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

long HanMacWrdKGraphInternal::SubDocument::m_subId
protected

the zone subId ( for table cell )

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

Type HanMacWrdKGraphInternal::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 Thu Jul 9 2015 20:26:40 for libmwaw by doxygen 1.8.8