Internal: structure to store a link to a zone of a ClarisWksGraph. More...
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 | |
Internal: structure to store a link to a zone of a ClarisWksGraph.
| ClarisWksGraphInternal::ZoneZone::ZoneZone | ( | Zone const & | z, |
| Type | fileType | ||
| ) | [inline] |
constructor
| bool ClarisWksGraphInternal::ZoneZone::addFrameName | ( | MWAWGraphicStyle & | style | ) | const [inline] |
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.
| virtual ClarisWksStruct::DSET::Child ClarisWksGraphInternal::ZoneZone::getChild | ( | ) | const [inline, virtual] |
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.
| bool ClarisWksGraphInternal::ZoneZone::isLinked | ( | ) | const [inline] |
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.
flag
Referenced by print(), ClarisWksGraph::readGroupDef(), and ZoneZone().
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 style id
Referenced by print(), and ClarisWksGraph::readGroupDef().
the zoneSubId: can be page/column/frame linked number
Referenced by print(), ClarisWksGraph::readGroupDef(), ClarisWksGraph::sendGroupChild(), and ClarisWksGraph::updateGroup().
the file type ( zone or zone2 )
Referenced by getNumData(), getSubType(), and print().
the wrapping separator
Referenced by print(), and ClarisWksGraph::readGroupDef().