Internal: the generic structure used to store a zone of a ClarisDrawGraph. More...
Public Types | |
enum | Type { T_Zone , T_Pict , T_Shape , T_Unknown , T_Line , T_Rect , T_RectOval , T_Oval , T_Arc , T_Poly , T_Connector } |
the list of types More... | |
Public Member Functions | |
Zone () | |
constructor | |
Zone (Zone const &)=default | |
virtual | ~Zone () |
destructor | |
MWAWBox2f | getBdBox () const |
return the zone bdbox | |
virtual Type | getType () const |
return the main type | |
virtual Type | getSubType () const |
return the subtype | |
virtual int | getNumData () const |
return the number of data to define this zone in the file | |
virtual void | print (std::ostream &) const |
print the data contains | |
virtual ClarisWksStruct::DSET::Child | getChild () const |
return a child corresponding to this zone | |
virtual int | getZoneId () const |
returns the id of the reference zone | |
Public Attributes | |
int | m_zoneType |
the zone type | |
int | m_flag |
the zone main flag | |
int | m_page |
the page (checkme: or frame linked ) | |
MWAWBox2f | m_box |
the bdbox | |
int | m_ordering |
the ordering | |
Style | m_style |
the style | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Zone const &zone) |
operator<< | |
Internal: the generic structure used to store a zone of a ClarisDrawGraph.
|
inline |
constructor
|
default |
|
virtual |
destructor
|
inline |
return the zone bdbox
Referenced by ClarisDrawGraph::readShape(), and ClarisDrawGraph::sendShape().
|
inlinevirtual |
return a child corresponding to this zone
Reimplemented in ClarisDrawGraphInternal::ZoneShape, ClarisDrawGraphInternal::ZonePict, ClarisDrawGraphInternal::ZoneZone, and ClarisDrawGraphInternal::ZoneUnknown.
|
inlinevirtual |
return the number of data to define this zone in the file
Reimplemented in ClarisDrawGraphInternal::ZoneShape, ClarisDrawGraphInternal::ZonePict, ClarisDrawGraphInternal::ZoneZone, and ClarisDrawGraphInternal::ZoneUnknown.
|
inlinevirtual |
return the subtype
Reimplemented in ClarisDrawGraphInternal::ZoneShape, ClarisDrawGraphInternal::ZonePict, ClarisDrawGraphInternal::ZoneZone, and ClarisDrawGraphInternal::ZoneUnknown.
|
inlinevirtual |
return the main type
Reimplemented in ClarisDrawGraphInternal::ZoneShape, ClarisDrawGraphInternal::ZonePict, ClarisDrawGraphInternal::ZoneZone, and ClarisDrawGraphInternal::ZoneUnknown.
|
inlinevirtual |
returns the id of the reference zone
Reimplemented in ClarisDrawGraphInternal::ZoneZone.
|
inlinevirtual |
print the data contains
Reimplemented in ClarisDrawGraphInternal::ZoneShape, ClarisDrawGraphInternal::ZonePict, ClarisDrawGraphInternal::ZoneZone, and ClarisDrawGraphInternal::ZoneUnknown.
|
friend |
operator<<
MWAWBox2f ClarisDrawGraphInternal::Zone::m_box |
the bdbox
Referenced by getBdBox(), getChild(), ClarisDrawGraphInternal::ZoneShape::getChild(), ClarisDrawGraphInternal::ZonePict::getChild(), ClarisDrawGraphInternal::ZoneZone::getChild(), ClarisDrawGraphInternal::ZoneUnknown::getChild(), ClarisDrawGraph::readGroupDef(), and ClarisDrawGraph::readShape().
int ClarisDrawGraphInternal::Zone::m_flag |
the zone main flag
Referenced by ClarisDrawGraph::readGroupDef().
int ClarisDrawGraphInternal::Zone::m_ordering |
the ordering
Referenced by ClarisDrawGraph::readGroupDef().
int ClarisDrawGraphInternal::Zone::m_page |
the page (checkme: or frame linked )
Style ClarisDrawGraphInternal::Zone::m_style |
the style
Referenced by ClarisDrawGraph::readGroupDef(), ClarisDrawGraph::readShape(), and ClarisDrawGraph::sendShape().
int ClarisDrawGraphInternal::Zone::m_zoneType |
the zone type
Referenced by ClarisDrawGraph::readGroupDef(), and ClarisDrawGraph::readShape().