ClarisDrawGraphInternal::ZoneZone Struct Reference

Internal: structure to store a link to a zone of a ClarisDrawGraph. More...

Inheritance diagram for ClarisDrawGraphInternal::ZoneZone:
ClarisDrawGraphInternal::Zone

List of all members.

Public Member Functions

 ZoneZone (Zone const &z, Type fileType)
 constructor
bool isANote () const
 return true if the zone is a note
bool isLinked () const
 check if we need to send the frame is linked to another frmae
bool addFrameName (MWAWGraphicStyle &style) const
 add the frame name if needed
virtual void print (std::ostream &o) const
 print the zone
virtual Type getType () const
 return the main type Zone
virtual Type getSubType () const
 return the sub type Zone
virtual int getNumData () const
 return the number of data to define this zone in the file
virtual int getZoneId () const
 returns the id of the reference zone
virtual
ClarisWksStruct::DSET::Child 
getChild () const
 return a child corresponding to this zone

Public Attributes

Type m_subType
 the file type ( zone or zone2 )
int m_id
 the zoneId
int m_subId
 the zoneSubId: can be page/column/frame linked number
int m_frameId
 the frame id (for a linked frame)
int m_frameSubId
 the frame sub id (for a linked frame)
bool m_frameLast
 true if this is the last frame of a frame zone
int m_transformationId
 the transformation id
int m_wrappingSep
 the wrapping separator
int m_flags [9]
 flag

Detailed Description

Internal: structure to store a link to a zone of a ClarisDrawGraph.


Constructor & Destructor Documentation

ClarisDrawGraphInternal::ZoneZone::ZoneZone ( Zone const &  z,
Type  fileType 
) [inline]

constructor


Member Function Documentation

add the frame name if needed

return a child corresponding to this zone

Reimplemented from ClarisDrawGraphInternal::Zone.

virtual int ClarisDrawGraphInternal::ZoneZone::getNumData ( ) const [inline, virtual]

return the number of data to define this zone in the file

Reimplemented from ClarisDrawGraphInternal::Zone.

virtual Type ClarisDrawGraphInternal::ZoneZone::getSubType ( ) const [inline, virtual]

return the sub type Zone

Reimplemented from ClarisDrawGraphInternal::Zone.

virtual Type ClarisDrawGraphInternal::ZoneZone::getType ( ) const [inline, virtual]

return the main type Zone

Reimplemented from ClarisDrawGraphInternal::Zone.

virtual int ClarisDrawGraphInternal::ZoneZone::getZoneId ( ) const [inline, virtual]

returns the id of the reference zone

Reimplemented from ClarisDrawGraphInternal::Zone.

Referenced by ClarisDrawGraph::updateGroup().

return true if the zone is a note

Referenced by ClarisDrawGraph::sendGroup(), and ClarisDrawGraph::sendMainGroupChild().

check if we need to send the frame is linked to another frmae

Referenced by addFrameName(), and ClarisDrawGraph::sendGroup().

virtual void ClarisDrawGraphInternal::ZoneZone::print ( std::ostream &  o) const [inline, virtual]

print the zone

Reimplemented from ClarisDrawGraphInternal::Zone.


Member Data Documentation

true if this is the last frame of a frame zone

Referenced by addFrameName(), and ClarisDrawGraph::updateGroup().

the frame sub id (for a linked frame)

Referenced by addFrameName(), isLinked(), and ClarisDrawGraph::updateGroup().

the file type ( zone or zone2 )

Referenced by getSubType().


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