HanMacWrdJGraphInternal::SubDocument Class Reference

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

Inheritance diagram for HanMacWrdJGraphInternal::SubDocument:
MWAWSubDocument

Public Types

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

Public Member Functions

 SubDocument (HanMacWrdJGraph &pars, MWAWInputStreamPtr input, Type type, long id, long firstChar=0)
 constructor More...
 
 SubDocument (HanMacWrdJGraph &pars, MWAWInputStreamPtr input, MWAWPosition pos, Type type, long id, int firstChar=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

HanMacWrdJGraphm_graphParser
 the graph parser More...
 
Type m_type
 the zone type More...
 
long m_id
 the zone id More...
 
long m_firstChar
 the first char position 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 HanMacWrdJGraph.

Member Enumeration Documentation

the document type

Enumerator
FrameInFrame 
Group 
Text 
UnformattedTable 
EmptyPicture 

Constructor & Destructor Documentation

HanMacWrdJGraphInternal::SubDocument::SubDocument ( HanMacWrdJGraph pars,
MWAWInputStreamPtr  input,
Type  type,
long  id,
long  firstChar = 0 
)
inline

constructor

HanMacWrdJGraphInternal::SubDocument::SubDocument ( HanMacWrdJGraph pars,
MWAWInputStreamPtr  input,
MWAWPosition  pos,
Type  type,
long  id,
int  firstChar = 0 
)
inline

constructor

virtual HanMacWrdJGraphInternal::SubDocument::~SubDocument ( )
inlinevirtual

destructor

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

Member Function Documentation

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

operator!=

Reimplemented from MWAWSubDocument.

Referenced by operator==().

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

operator!==

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

the parser function

Implements MWAWSubDocument.

Member Data Documentation

long HanMacWrdJGraphInternal::SubDocument::m_firstChar
protected

the first char position

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

HanMacWrdJGraph* HanMacWrdJGraphInternal::SubDocument::m_graphParser
protected

the graph parser

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

long HanMacWrdJGraphInternal::SubDocument::m_id
protected

the zone id

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

MWAWPosition HanMacWrdJGraphInternal::SubDocument::m_pos
protected

the position in a frame

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

Type HanMacWrdJGraphInternal::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