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 | |
| 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 (int) 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 | |
| virtual bool | canBeSendAsGraphic () const |
| returns true if the zone can be send using a graphic listener (partial check) | |
Public Attributes | |
| int | m_zoneType |
| the zone type | |
| 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 ClarisWksGraph.
| ClarisWksGraphInternal::Zone::Zone | ( | ) | [inline] |
constructor
| virtual ClarisWksGraphInternal::Zone::~Zone | ( | ) | [inline, virtual] |
destructor
| virtual bool ClarisWksGraphInternal::Zone::canBeSendAsGraphic | ( | ) | const [inline, virtual] |
returns true if the zone can be send using a graphic listener (partial check)
Reimplemented in ClarisWksGraphInternal::ZoneZone.
| MWAWBox2f ClarisWksGraphInternal::Zone::getBdBox | ( | ) | const [inline] |
return the zone bdbox
Referenced by ClarisWksGraph::readShape(), and ClarisWksGraph::sendShape().
| virtual ClarisWksStruct::DSET::Child ClarisWksGraphInternal::Zone::getChild | ( | ) | const [inline, virtual] |
return a child corresponding to this zone
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
| virtual int ClarisWksGraphInternal::Zone::getNumData | ( | int | ) | const [inline, virtual] |
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.
| virtual Type ClarisWksGraphInternal::Zone::getSubType | ( | ) | const [inline, virtual] |
return the subtype
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
| virtual Type ClarisWksGraphInternal::Zone::getType | ( | ) | const [inline, virtual] |
return the main type
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
Referenced by canBeSendAsGraphic().
| virtual int ClarisWksGraphInternal::Zone::getZoneId | ( | ) | const [inline, virtual] |
returns the id of the reference zone
Reimplemented in ClarisWksGraphInternal::ZoneZone.
| virtual void ClarisWksGraphInternal::Zone::print | ( | std::ostream & | ) | const [inline, virtual] |
print the data contains
Reimplemented in ClarisWksGraphInternal::ZoneUnknown, ClarisWksGraphInternal::Chart, ClarisWksGraphInternal::ZoneZone, ClarisWksGraphInternal::ZonePict, and ClarisWksGraphInternal::ZoneShape.
| std::ostream& operator<< | ( | std::ostream & | o, |
| Zone const & | zone | ||
| ) | [friend] |
operator<<
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().
the ordering
Referenced by ClarisWksGraph::readGroupDef().
the page (checkme: or frame linked )
the style
Referenced by ClarisWksGraph::readGroupDef(), ClarisWksGraph::sendGroupChild(), and ClarisWksGraph::sendShape().
the zone type
Referenced by ClarisWksGraph::readGroupDef(), and ClarisWksGraph::readShape().