Internal: the generic pict. More...
Public Types | |
enum | Type { Unknown, Shape, ChartZone, Group, Pict, Text, Textv4, Bitmap, TableZone, OLE } |
Public Member Functions | |
Zone () | |
constructor More... | |
virtual | ~Zone () |
destructor More... | |
virtual Type | type () const |
return the type More... | |
virtual bool | getBinaryData (MWAWInputStreamPtr, WPXBinaryData &res, std::string &pictType) const |
return a binary data (if known) More... | |
virtual float | needExtraBorderWidth () const |
return the extra border space ( if needed) More... | |
virtual void | fillFramePropertyList (WPXPropertyList &) const |
add frame parameters to propList (if needed ) More... | |
Box2f | 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... | |
Box2f | m_decal |
the local position More... | |
Vec2f | m_finalDecal |
the final local position More... | |
Box2f | m_box |
local bdbox More... | |
int | m_line |
the line position(v1) More... | |
MSKGraph::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... | |
Internal: the generic pict.
|
inline |
constructor
|
inlinevirtual |
destructor
|
inlinevirtual |
add frame parameters to propList (if needed )
Reimplemented in MSKGraphInternal::TextBoxv4, and MSKGraphInternal::TextBox.
|
inlinevirtual |
return a binary data (if known)
Reimplemented in MSKGraphInternal::DataPict.
|
inline |
return the box
Referenced by getPosition(), and MSKGraph::sendGroupChild().
|
inline |
|
inlinevirtual |
return the extra border space ( if needed)
Reimplemented in MSKGraphInternal::BasicShape.
Referenced by getLocalBox().
|
virtual |
the virtual print function
Reimplemented in MSKGraphInternal::TextBoxv4, MSKGraphInternal::OLEZone, MSKGraphInternal::TextBox, MSKGraphInternal::DataBitmap, MSKGraphInternal::DataPict, MSKGraphInternal::BasicShape, and MSKGraphInternal::GroupZone.
Referenced by MSKGraphInternal::GroupZone::print(), MSKGraphInternal::BasicShape::print(), MSKGraphInternal::DataPict::print(), MSKGraphInternal::DataBitmap::print(), MSKGraphInternal::TextBox::print(), MSKGraphInternal::OLEZone::print(), and MSKGraphInternal::TextBoxv4::print().
|
inlinevirtual |
return the type
Reimplemented in MSKGraphInternal::TextBoxv4, MSKGraphInternal::OLEZone, MSKGraphInternal::TextBox, MSKGraphInternal::Table, MSKGraphInternal::DataBitmap, MSKGraphInternal::DataPict, MSKGraphInternal::Chart, MSKGraphInternal::BasicShape, and MSKGraphInternal::GroupZone.
Referenced by MSKGraph::canCreateGraphic(), MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
|
friend |
operator<<
Box2f MSKGraphInternal::Zone::m_box |
local bdbox
Referenced by MSKGraph::getEntryPicture(), getLocalBox(), print(), MSKGraph::readPictHeader(), MSKGraph::send(), MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
long MSKGraphInternal::Zone::m_dataPos |
the data begin position
Referenced by MSKGraphInternal::DataPict::getBinaryData(), MSKGraph::getEntryPicture(), MSKGraph::readGroup(), MSKGraph::readPictHeader(), MSKGraph::readPictureV4(), and MSKGraph::send().
Box2f MSKGraphInternal::Zone::m_decal |
the local position
Referenced by print(), MSKGraph::readPictHeader(), MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
bool MSKGraphInternal::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)
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().
Vec2f MSKGraphInternal::Zone::m_finalDecal |
the final local position
Referenced by getPosition(), and MSKGraph::readPictHeader().
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
Referenced by MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
int MSKGraphInternal::Zone::m_line |
the line position(v1)
Referenced by print().
int MSKGraphInternal::Zone::m_order |
the picture order
Referenced by getPosition().
int MSKGraphInternal::Zone::m_page |
the page
Referenced by MSKGraph::canCreateGraphic(), getPosition(), print(), MSKGraph::readPictHeader(), and MSKGraph::readPictureV4().
MWAWEntry MSKGraphInternal::Zone::m_pos |
the file position
Referenced by MSKGraphInternal::DataPict::getBinaryData(), MSKGraph::getEntryPicture(), MSKGraph::readGroup(), MSKGraph::readPictureV4(), and MSKGraph::send().
MSKGraph::Style MSKGraphInternal::Zone::m_style |
the style
Referenced by MSKGraphInternal::TextBox::fillFramePropertyList(), MSKGraphInternal::TextBoxv4::fillFramePropertyList(), MSKGraph::getEntryPicture(), MSKGraphInternal::BasicShape::getStyle(), MSKGraphInternal::BasicShape::needExtraBorderWidth(), print(), MSKGraph::readPictHeader(), MSKGraph::send(), MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
int MSKGraphInternal::Zone::m_subType |
the type
Referenced by MSKGraph::getEntryPicture(), MSKGraphInternal::BasicShape::getStyle(), print(), and MSKGraph::readPictHeader().
int MSKGraphInternal::Zone::m_zoneId |
the zone id
Referenced by MSKGraph::getEntryPicture(), print(), MSKGraph::readGroup(), and MSKGraph::readPictureV4().