ClarisWksGraphInternal::ZoneShape Struct Referencefinal

Internal: small class to store a basic graphic zone of a ClarisWksGraph. More...

Inheritance diagram for ClarisWksGraphInternal::ZoneShape:
ClarisWksGraphInternal::Zone

Public Member Functions

 ZoneShape (Zone const &z, Type type)
 constructor More...
 
 ~ZoneShape () final
 destructor More...
 
void print (std::ostream &o) const final
 print the data More...
 
Type getType () const final
 return the main type More...
 
Type getSubType () const final
 return the sub type More...
 
int getNumData (int) const final
 return the number of data More...
 
ClarisWksStruct::DSET::Child getChild () const final
 return a child corresponding to this zone More...
 
- Public Member Functions inherited from ClarisWksGraphInternal::Zone
 Zone ()
 constructor More...
 
 Zone (Zone const &)=default
 
virtual ~Zone ()
 destructor More...
 
MWAWBox2f getBdBox () const
 return the zone bdbox 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

Type m_type
 the sub type More...
 
MWAWGraphicShape m_shape
 the shape More...
 
int m_rotate
 the rotation More...
 
- Public Attributes inherited from ClarisWksGraphInternal::Zone
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...
 

Additional Inherited Members

- Public Types inherited from ClarisWksGraphInternal::Zone
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...
 

Detailed Description

Internal: small class to store a basic graphic zone of a ClarisWksGraph.

Constructor & Destructor Documentation

◆ ZoneShape()

ClarisWksGraphInternal::ZoneShape::ZoneShape ( Zone const &  z,
Type  type 
)
inline

constructor

◆ ~ZoneShape()

ClarisWksGraphInternal::ZoneShape::~ZoneShape ( )
final

destructor

Member Function Documentation

◆ getChild()

ClarisWksStruct::DSET::Child ClarisWksGraphInternal::ZoneShape::getChild ( ) const
inlinefinalvirtual

return a child corresponding to this zone

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getNumData()

int ClarisWksGraphInternal::ZoneShape::getNumData ( int  ) const
inlinefinalvirtual

return the number of data

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getSubType()

Type ClarisWksGraphInternal::ZoneShape::getSubType ( ) const
inlinefinalvirtual

return the sub type

Reimplemented from ClarisWksGraphInternal::Zone.

Referenced by ClarisWksGraph::readShape().

◆ getType()

Type ClarisWksGraphInternal::ZoneShape::getType ( ) const
inlinefinalvirtual

return the main type

Reimplemented from ClarisWksGraphInternal::Zone.

◆ print()

void ClarisWksGraphInternal::ZoneShape::print ( std::ostream &  o) const
inlinefinalvirtual

print the data

Reimplemented from ClarisWksGraphInternal::Zone.

Member Data Documentation

◆ m_rotate

int ClarisWksGraphInternal::ZoneShape::m_rotate

the rotation

Referenced by print(), and ClarisWksGraph::readShape().

◆ m_shape

MWAWGraphicShape ClarisWksGraphInternal::ZoneShape::m_shape

◆ m_type

Type ClarisWksGraphInternal::ZoneShape::m_type

the sub type

Referenced by getSubType().


The documentation for this struct was generated from the following file:

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20