ClarisWksGraphInternal::ZoneZone Struct Reference

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

Inheritance diagram for ClarisWksGraphInternal::ZoneZone:
ClarisWksGraphInternal::Zone

List of all members.

Public Member Functions

 ZoneZone (Zone const &z, Type fileType)
 constructor
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 (int) const
 return the number of data to define this zone in the file
virtual bool canBeSendAsGraphic () const
 returns true if the zone can be send using a graphic listener (partial check)
virtual int getZoneId () const
 returns the id of the reference zone
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
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_styleId
 the style 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 ClarisWksGraph.


Constructor & Destructor Documentation

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

constructor


Member Function Documentation

add the frame name if needed

Referenced by ClarisWksGraph::sendGroupChild().

virtual bool ClarisWksGraphInternal::ZoneZone::canBeSendAsGraphic ( ) const [inline, virtual]

returns true if the zone can be send using a graphic listener (partial check)

Reimplemented from ClarisWksGraphInternal::Zone.

return a child corresponding to this zone

Reimplemented from ClarisWksGraphInternal::Zone.

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

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

Reimplemented from ClarisWksGraphInternal::Zone.

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

return the sub type Zone

Reimplemented from ClarisWksGraphInternal::Zone.

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

return the main type Zone

Reimplemented from ClarisWksGraphInternal::Zone.

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

returns the id of the reference zone

Reimplemented from ClarisWksGraphInternal::Zone.

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

Referenced by addFrameName(), canBeSendAsGraphic(), and ClarisWksGraph::sendGroupChild().

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

print the zone

Reimplemented from ClarisWksGraphInternal::Zone.


Member Data Documentation

the frame id (for a linked frame)

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

true if this is the last frame of a frame zone

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

the frame sub id (for a linked frame)

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

the file type ( zone or zone2 )

Referenced by getNumData(), getSubType(), and print().


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