ClarisWksGraphInternal::ZoneZone Struct Referencefinal

Internal: structure to store a link to a zone of a ClarisWksGraph. More...

Inheritance diagram for ClarisWksGraphInternal::ZoneZone:
ClarisWksGraphInternal::Zone

Public Member Functions

 ZoneZone (Zone const &z, Type fileType)
 constructor
 
 ~ZoneZone () final
 destructor
 
void print (std::ostream &o) const final
 print the zone
 
Type getType () const final
 return the main type Zone
 
Type getSubType () const final
 return the sub type Zone
 
int getNumData (int) const final
 return the number of data to define this zone in the file
 
bool canBeSendAsGraphic () const final
 returns true if the zone can be send using a graphic listener (partial check)
 
int getZoneId () const final
 returns the id of the reference zone
 
bool isLinked () const
 check if we need to send the frame is linked to another frame
 
bool addFrameName (MWAWGraphicStyle &style) const
 add the frame name if needed
 
ClarisWksStruct::DSET::Child getChild () const final
 return a child corresponding to this zone
 
- Public Member Functions inherited from ClarisWksGraphInternal::Zone
 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 (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

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

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: structure to store a link to a zone of a ClarisWksGraph.

Constructor & Destructor Documentation

◆ ZoneZone()

ClarisWksGraphInternal::ZoneZone::ZoneZone ( Zone const &  z,
Type  fileType 
)
inline

constructor

◆ ~ZoneZone()

ClarisWksGraphInternal::ZoneZone::~ZoneZone ( )
final

destructor

Member Function Documentation

◆ addFrameName()

bool ClarisWksGraphInternal::ZoneZone::addFrameName ( MWAWGraphicStyle style) const
inline

add the frame name if needed

◆ canBeSendAsGraphic()

bool ClarisWksGraphInternal::ZoneZone::canBeSendAsGraphic ( ) const
inlinefinalvirtual

returns true if the zone can be send using a graphic listener (partial check)

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getChild()

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

return a child corresponding to this zone

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getNumData()

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

return the number of data to define this zone in the file

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getSubType()

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

return the sub type Zone

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getType()

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

return the main type Zone

Reimplemented from ClarisWksGraphInternal::Zone.

◆ getZoneId()

int ClarisWksGraphInternal::ZoneZone::getZoneId ( ) const
inlinefinalvirtual

returns the id of the reference zone

Reimplemented from ClarisWksGraphInternal::Zone.

◆ isLinked()

bool ClarisWksGraphInternal::ZoneZone::isLinked ( ) const
inline

check if we need to send the frame is linked to another frame

Referenced by addFrameName(), and canBeSendAsGraphic().

◆ print()

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

print the zone

Reimplemented from ClarisWksGraphInternal::Zone.

Member Data Documentation

◆ m_flags

int ClarisWksGraphInternal::ZoneZone::m_flags[9]

flag

Referenced by print(), and ZoneZone().

◆ m_frameId

int ClarisWksGraphInternal::ZoneZone::m_frameId

the frame id (for a linked frame)

Referenced by addFrameName(), isLinked(), and ClarisWksGraph::updateGroup().

◆ m_frameLast

bool ClarisWksGraphInternal::ZoneZone::m_frameLast

true if this is the last frame of a frame zone

Referenced by addFrameName().

◆ m_frameSubId

int ClarisWksGraphInternal::ZoneZone::m_frameSubId

the frame sub id (for a linked frame)

Referenced by addFrameName(), and isLinked().

◆ m_id

int ClarisWksGraphInternal::ZoneZone::m_id

◆ m_styleId

int ClarisWksGraphInternal::ZoneZone::m_styleId

the style id

Referenced by print().

◆ m_subId

int ClarisWksGraphInternal::ZoneZone::m_subId

the zoneSubId: can be page/column/frame linked number

Referenced by print().

◆ m_subType

Type ClarisWksGraphInternal::ZoneZone::m_subType

the file type ( zone or zone2 )

Referenced by getNumData(), getSubType(), and print().

◆ m_wrappingSep

int ClarisWksGraphInternal::ZoneZone::m_wrappingSep

the wrapping separator

Referenced by print().


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

Generated on Wed May 3 2023 07:18:29 for libmwaw by doxygen 1.9.6