Internal: the generic structure used to store a zone of a ClarisWksGraph. More...
Public Types | |
enum | Type { T_Zone, T_Zone2, T_Shape, T_Picture, T_Chart, T_DataBox, T_Unknown, T_Line, T_Rect, T_RectOval, T_Oval, T_Arc, T_Poly, T_Pict, T_QTim, T_Movie } |
the list of types More... | |
Public Member Functions | |
Zone () | |
constructor More... | |
virtual | ~Zone () |
destructor More... | |
MWAWBox2f | getBdBox () const |
return the zone bdbox More... | |
virtual Type | getType () const |
return the main type More... | |
virtual Type | getSubType () const |
return the subtype More... | |
virtual int | getNumData (int) const |
return the number of data to define this zone in the file More... | |
virtual void | print (std::ostream &) const |
print the data contains More... | |
virtual ClarisWksStruct::DSET::Child | getChild () const |
return a child corresponding to this zone More... | |
virtual int | getZoneId () const |
returns the id of the reference zone More... | |
virtual bool | canBeSendAsGraphic () const |
returns true if the zone can be send using a graphic listener (partial check) More... | |
Public Attributes | |
int | m_zoneType |
the zone type More... | |
int | m_page |
the page (checkme: or frame linked ) More... | |
MWAWBox2f | m_box |
the bdbox More... | |
int | m_ordering |
the ordering More... | |
Style | m_style |
the style More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Zone const &zone) |
operator<< More... | |
Internal: the generic structure used to store a zone of a ClarisWksGraph.
|
inline |
constructor
|
inlinevirtual |
destructor
|
inlinevirtual |
returns true if the zone can be send using a graphic listener (partial check)
Reimplemented in ClarisWksGraphInternal::ZoneZone.
|
inline |
return the zone bdbox
Referenced by ClarisWksGraph::readShape(), and ClarisWksGraph::sendShape().
|
inlinevirtual |
return a child corresponding to this zone
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
|
inlinevirtual |
return the number of data to define this zone in the file
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
|
inlinevirtual |
return the subtype
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
|
inlinevirtual |
return the main type
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
Referenced by canBeSendAsGraphic().
|
inlinevirtual |
returns the id of the reference zone
Reimplemented in ClarisWksGraphInternal::ZoneZone.
|
inlinevirtual |
print the data contains
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
|
friend |
operator<<
MWAWBox2f ClarisWksGraphInternal::Zone::m_box |
the bdbox
Referenced by getBdBox(), getChild(), ClarisWksGraphInternal::ZoneShape::getChild(), ClarisWksGraphInternal::ZonePict::getChild(), ClarisWksGraphInternal::ZoneZone::getChild(), ClarisWksGraphInternal::Chart::getChild(), ClarisWksGraphInternal::ZoneUnknown::getChild(), ClarisWksGraph::readGroupDef(), ClarisWksGraph::readShape(), ClarisWksGraph::sendGroupChild(), and ClarisWksGraph::sendPicture().
int ClarisWksGraphInternal::Zone::m_ordering |
the ordering
Referenced by ClarisWksGraph::readGroupDef().
int ClarisWksGraphInternal::Zone::m_page |
the page (checkme: or frame linked )
Style ClarisWksGraphInternal::Zone::m_style |
the style
Referenced by ClarisWksGraph::readGroupDef(), ClarisWksGraph::sendGroupChild(), and ClarisWksGraph::sendShape().
int ClarisWksGraphInternal::Zone::m_zoneType |
the zone type
Referenced by ClarisWksGraph::readGroupDef(), and ClarisWksGraph::readShape().