Internal: structure to store a link to a zone of a ClarisDrawGraph. More...
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 | |
Internal: structure to store a link to a zone of a ClarisDrawGraph.
| ClarisDrawGraphInternal::ZoneZone::ZoneZone | ( | Zone const & | z, |
| Type | fileType | ||
| ) | [inline] |
constructor
| bool ClarisDrawGraphInternal::ZoneZone::addFrameName | ( | MWAWGraphicStyle & | style | ) | const [inline] |
add the frame name if needed
| virtual ClarisWksStruct::DSET::Child ClarisDrawGraphInternal::ZoneZone::getChild | ( | ) | const [inline, virtual] |
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().
| bool ClarisDrawGraphInternal::ZoneZone::isANote | ( | ) | const [inline] |
return true if the zone is a note
Referenced by ClarisDrawGraph::sendGroup(), and ClarisDrawGraph::sendMainGroupChild().
| bool ClarisDrawGraphInternal::ZoneZone::isLinked | ( | ) | const [inline] |
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.
flag
Referenced by isANote(), print(), ClarisDrawGraph::readGroupDef(), and ZoneZone().
the frame id (for a linked frame)
Referenced by addFrameName(), isLinked(), and ClarisDrawGraph::updateGroup().
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 zoneId
Referenced by getChild(), getZoneId(), print(), ClarisDrawGraph::readGroupDef(), and ClarisDrawGraphInternal::Group::removeChild().
the zoneSubId: can be page/column/frame linked number
Referenced by print(), ClarisDrawGraph::readGroupDef(), ClarisDrawGraph::sendGroup(), and ClarisDrawGraph::updateGroup().
the file type ( zone or zone2 )
Referenced by getSubType().
the transformation id
Referenced by print(), ClarisDrawGraph::readGroupDef(), ClarisDrawGraph::sendGroup(), and ClarisDrawGraph::sendMainGroupChild().
the wrapping separator
Referenced by print(), and ClarisDrawGraph::readGroupDef().