MsWksGraphInternal::Zone Struct Reference

Internal: the generic pict. More...

Inheritance diagram for MsWksGraphInternal::Zone:
MsWksGraphInternal::BasicShape MsWksGraphInternal::Chart MsWksGraphInternal::DataBitmap MsWksGraphInternal::DataPict MsWksGraphInternal::GroupZone MsWksGraphInternal::OLEZone MsWksGraphInternal::Table MsWksGraphInternal::TextBox MsWksGraphInternal::TextBoxv4

Public Types

enum  Type {
  Unknown, Shape, ChartZone, Group,
  Pict, Text, Textv4, Bitmap,
  TableZone, OLE
}
 

Public Member Functions

 Zone ()
 constructor More...
 
 Zone (Zone const &)=default
 
Zoneoperator= (Zone const &)=default
 
Zoneoperator= (Zone &&)=default
 
virtual ~Zone ()
 destructor More...
 
virtual Type type () const
 return the type More...
 
virtual bool getBinaryData (MWAWInputStreamPtr, MWAWEmbeddedObject &picture) const
 return a binary data (if known) More...
 
virtual float needExtraBorderWidth () const
 return the extra border space ( if needed) More...
 
virtual void fillFrame (MWAWGraphicStyle &) const
 add frame parameters to propList (if needed ) More...
 
MWAWBox2f getLocalBox (bool extendWithBord=true) const
 return the box More...
 
MWAWPosition getPosition (MWAWPosition::AnchorTo rel) const
 
virtual void print (std::ostream &o) const
 the virtual print function More...
 

Public Attributes

int m_subType
 the type More...
 
int m_zoneId
 the zone id More...
 
MWAWEntry m_pos
 the file position More...
 
long m_dataPos
 the data begin position More...
 
int m_fileId
 the file id More...
 
long m_ids [3]
 the zones id (main, previous, next) More...
 
int m_page
 the page More...
 
MWAWBox2f m_decal
 the local position More...
 
MWAWVec2f m_finalDecal
 the final local position More...
 
MWAWBox2f m_box
 local bdbox More...
 
int m_line
 the line position(v1) More...
 
MsWksGraph::Style m_style
 the style More...
 
int m_order
 the picture order More...
 
std::string m_extra
 extra data More...
 
bool m_doNotSend
 a flag used to know if we need to send the data ( or if this is the part of a sub group) More...
 
bool m_isSent
 true if the zone is send More...
 

Friends

std::ostream & operator<< (std::ostream &o, Zone const &pict)
 operator<< More...
 

Detailed Description

Internal: the generic pict.

Member Enumeration Documentation

◆ Type

Enumerator
Unknown 
Shape 
ChartZone 
Group 
Pict 
Text 
Textv4 
Bitmap 
TableZone 
OLE 

Constructor & Destructor Documentation

◆ Zone() [1/2]

MsWksGraphInternal::Zone::Zone ( )
inline

constructor

◆ Zone() [2/2]

MsWksGraphInternal::Zone::Zone ( Zone const &  )
default

◆ ~Zone()

virtual MsWksGraphInternal::Zone::~Zone ( )
inlinevirtual

destructor

Member Function Documentation

◆ fillFrame()

virtual void MsWksGraphInternal::Zone::fillFrame ( MWAWGraphicStyle ) const
inlinevirtual

add frame parameters to propList (if needed )

Reimplemented in MsWksGraphInternal::TextBoxv4, and MsWksGraphInternal::TextBox.

◆ getBinaryData()

virtual bool MsWksGraphInternal::Zone::getBinaryData ( MWAWInputStreamPtr  ,
MWAWEmbeddedObject picture 
) const
inlinevirtual

return a binary data (if known)

Reimplemented in MsWksGraphInternal::DataPict.

◆ getLocalBox()

MWAWBox2f MsWksGraphInternal::Zone::getLocalBox ( bool  extendWithBord = true) const
inline

return the box

Referenced by getPosition().

◆ getPosition()

MWAWPosition MsWksGraphInternal::Zone::getPosition ( MWAWPosition::AnchorTo  rel) const
inline

◆ needExtraBorderWidth()

virtual float MsWksGraphInternal::Zone::needExtraBorderWidth ( ) const
inlinevirtual

return the extra border space ( if needed)

Reimplemented in MsWksGraphInternal::BasicShape.

Referenced by getLocalBox().

◆ operator=() [1/2]

Zone& MsWksGraphInternal::Zone::operator= ( Zone const &  )
default

◆ operator=() [2/2]

Zone& MsWksGraphInternal::Zone::operator= ( Zone &&  )
default

◆ print()

◆ type()

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
Zone const &  pict 
)
friend

operator<<

Member Data Documentation

◆ m_box

MWAWBox2f MsWksGraphInternal::Zone::m_box

◆ m_dataPos

◆ m_decal

MWAWBox2f MsWksGraphInternal::Zone::m_decal

the local position

Referenced by print(), and MsWksGraph::readPictHeader().

◆ m_doNotSend

bool MsWksGraphInternal::Zone::m_doNotSend

a flag used to know if we need to send the data ( or if this is the part of a sub group)

◆ m_extra

std::string MsWksGraphInternal::Zone::m_extra

extra data

Referenced by print(), and MsWksGraph::readPictHeader().

◆ m_fileId

int MsWksGraphInternal::Zone::m_fileId

the file id

Referenced by print().

◆ m_finalDecal

MWAWVec2f MsWksGraphInternal::Zone::m_finalDecal

the final local position

Referenced by getPosition(), and MsWksGraph::readPictHeader().

◆ m_ids

long MsWksGraphInternal::Zone::m_ids[3]

the zones id (main, previous, next)

Referenced by print(), MsWksGraph::readPictHeader(), and Zone().

◆ m_isSent

bool MsWksGraphInternal::Zone::m_isSent

true if the zone is send

Referenced by MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().

◆ m_line

int MsWksGraphInternal::Zone::m_line

the line position(v1)

Referenced by print().

◆ m_order

int MsWksGraphInternal::Zone::m_order

the picture order

Referenced by getPosition().

◆ m_page

int MsWksGraphInternal::Zone::m_page

◆ m_pos

◆ m_style

◆ m_subType

int MsWksGraphInternal::Zone::m_subType

◆ m_zoneId

int MsWksGraphInternal::Zone::m_zoneId

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

Generated for libmwaw by doxygen 1.8.14