MSKGraphInternal::Zone Struct Reference

Internal: the generic pict. More...

Inheritance diagram for MSKGraphInternal::Zone:
MSKGraphInternal::BasicForm MSKGraphInternal::DataBitmap MSKGraphInternal::DataPict MSKGraphInternal::GroupZone MSKGraphInternal::OLEZone MSKGraphInternal::Table MSKGraphInternal::TextBox MSKGraphInternal::TextBoxv4

Public Types

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

Public Member Functions

 Zone ()
 constructor
virtual ~Zone ()
 destructor
virtual Type type () const
 return the type
virtual bool getBinaryData (MWAWInputStreamPtr, WPXBinaryData &res, std::string &pictType) const
 return a binary data (if known)
virtual float needExtraBorderWidth () const
 return the extra border space ( if needed)
virtual void fillFramePropertyList (WPXPropertyList &) const
 add frame parameters to propList (if needed )
Box2f getLocalBox () const
 return the box
MWAWPosition getPosition (MWAWPosition::AnchorTo rel) const
virtual void print (std::ostream &o) const
 the virtual print function

Public Attributes

int m_subType
 the type
int m_zoneId
 the zone id
MWAWEntry m_pos
 the file position
long m_dataPos
 the data begin position
int m_fileId
 the file id
long m_ids [3]
 the zones id (main, previous, next)
int m_page
 the page
Vec2f m_decal
 the local position
Box2f m_box
 local bdbox
int m_line
 the line position(v1)
int m_lineType
 the line type (v2) : 0= dotted, 1=half, 2=1, 3=2pt?, 4:4pt
int m_lineWidth
 the line width (v3, ...)
MWAWColor m_lineColor
 the line color
Pattern m_linePattern
 the line pattern
int m_lineFlags
 the line flag
MWAWColor m_surfaceColor
 the 2D surface color
Pattern m_surfacePattern
 the line pattern
int m_order
 the picture order
std::string m_extra
 extra data
bool m_isSent
 true if the zone is send

Friends

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

Detailed Description

Internal: the generic pict.

Member Enumeration Documentation

Enumerator:
Unknown 
Basic 
Group 
Pict 
Text 
Textv4 
Bitmap 
TableZone 
OLE 

Constructor & Destructor Documentation

MSKGraphInternal::Zone::Zone ( )
inline

constructor

virtual MSKGraphInternal::Zone::~Zone ( )
inlinevirtual

destructor

Member Function Documentation

virtual void MSKGraphInternal::Zone::fillFramePropertyList ( WPXPropertyList &  ) const
inlinevirtual

add frame parameters to propList (if needed )

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

virtual bool MSKGraphInternal::Zone::getBinaryData ( MWAWInputStreamPtr  ,
WPXBinaryData &  res,
std::string &  pictType 
) const
inlinevirtual

return a binary data (if known)

Reimplemented in MSKGraphInternal::DataPict, and MSKGraphInternal::BasicForm.

Box2f MSKGraphInternal::Zone::getLocalBox ( ) const
inline

return the box

Referenced by getPosition().

MWAWPosition MSKGraphInternal::Zone::getPosition ( MWAWPosition::AnchorTo  rel) const
inline
virtual float MSKGraphInternal::Zone::needExtraBorderWidth ( ) const
inlinevirtual

return the extra border space ( if needed)

Reimplemented in MSKGraphInternal::BasicForm.

Referenced by getLocalBox().

Friends And Related Function Documentation

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

operator<<

Member Data Documentation

Vec2f MSKGraphInternal::Zone::m_decal

the local position

Referenced by getPosition(), print(), and MSKGraph::readPictHeader().

std::string MSKGraphInternal::Zone::m_extra

extra data

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

int MSKGraphInternal::Zone::m_fileId

the file id

Referenced by print(), and MSKGraph::readChart().

long MSKGraphInternal::Zone::m_ids[3]

the zones id (main, previous, next)

Referenced by MSKGraph::getEntryPicture(), print(), MSKGraph::readPictHeader(), and Zone().

bool MSKGraphInternal::Zone::m_isSent

true if the zone is send

int MSKGraphInternal::Zone::m_line

the line position(v1)

Referenced by print().

MWAWColor MSKGraphInternal::Zone::m_lineColor
int MSKGraphInternal::Zone::m_lineFlags
Pattern MSKGraphInternal::Zone::m_linePattern
int MSKGraphInternal::Zone::m_lineType

the line type (v2) : 0= dotted, 1=half, 2=1, 3=2pt?, 4:4pt

Referenced by MSKGraphInternal::BasicForm::getBinaryData(), MSKGraphInternal::BasicForm::needExtraBorderWidth(), print(), and MSKGraph::readPictHeader().

int MSKGraphInternal::Zone::m_lineWidth
int MSKGraphInternal::Zone::m_order

the picture order

Referenced by getPosition(), and MSKGraph::readChart().

int MSKGraphInternal::Zone::m_page
Pattern MSKGraphInternal::Zone::m_surfacePattern
int MSKGraphInternal::Zone::m_zoneId

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

Generated on Wed May 22 2013 18:12:48 for libmwaw by doxygen 1.8.1.2