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, 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... | |
Internal: the generic pict.
|
inline |
constructor
|
inlinevirtual |
destructor
|
inlinevirtual |
add frame parameters to propList (if needed )
Reimplemented in MsWksGraphInternal::TextBoxv4, and MsWksGraphInternal::TextBox.
|
inlinevirtual |
return a binary data (if known)
Reimplemented in MsWksGraphInternal::DataPict.
|
inline |
return the box
Referenced by getPosition(), and MsWksGraph::sendGroupChild().
|
inline |
|
inlinevirtual |
return the extra border space ( if needed)
Reimplemented in MsWksGraphInternal::BasicShape.
Referenced by getLocalBox().
|
virtual |
the virtual print function
Reimplemented in MsWksGraphInternal::TextBoxv4, MsWksGraphInternal::OLEZone, MsWksGraphInternal::TextBox, MsWksGraphInternal::DataBitmap, MsWksGraphInternal::DataPict, MsWksGraphInternal::BasicShape, and MsWksGraphInternal::GroupZone.
Referenced by MsWksGraphInternal::GroupZone::print(), MsWksGraphInternal::BasicShape::print(), MsWksGraphInternal::DataPict::print(), MsWksGraphInternal::DataBitmap::print(), MsWksGraphInternal::TextBox::print(), MsWksGraphInternal::OLEZone::print(), and MsWksGraphInternal::TextBoxv4::print().
|
inlinevirtual |
return the type
Reimplemented in MsWksGraphInternal::TextBoxv4, MsWksGraphInternal::OLEZone, MsWksGraphInternal::TextBox, MsWksGraphInternal::Table, MsWksGraphInternal::DataBitmap, MsWksGraphInternal::DataPict, MsWksGraphInternal::Chart, MsWksGraphInternal::BasicShape, and MsWksGraphInternal::GroupZone.
Referenced by MsWksGraph::canCreateGraphic(), MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
|
friend |
operator<<
| MWAWBox2f MsWksGraphInternal::Zone::m_box |
local bdbox
Referenced by MsWksGraph::getEntryPicture(), getLocalBox(), print(), MsWksGraph::readPictHeader(), MsWksGraph::send(), MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
| long MsWksGraphInternal::Zone::m_dataPos |
the data begin position
Referenced by MsWksGraphInternal::DataPict::getBinaryData(), MsWksGraph::getEntryPicture(), MsWksGraphInternal::DataBitmap::getPictureData(), MsWksGraph::readGroup(), MsWksGraph::readPictHeader(), MsWksGraph::readPictureV4(), and MsWksGraph::send().
| MWAWBox2f MsWksGraphInternal::Zone::m_decal |
the local position
Referenced by print(), MsWksGraph::readPictHeader(), MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
| 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)
| std::string MsWksGraphInternal::Zone::m_extra |
extra data
Referenced by print(), and MsWksGraph::readPictHeader().
| int MsWksGraphInternal::Zone::m_fileId |
the file id
Referenced by print().
| MWAWVec2f MsWksGraphInternal::Zone::m_finalDecal |
the final local position
Referenced by getPosition(), and MsWksGraph::readPictHeader().
| long MsWksGraphInternal::Zone::m_ids[3] |
the zones id (main, previous, next)
Referenced by MsWksGraph::getEntryPicture(), print(), MsWksGraph::readPictHeader(), and Zone().
| bool MsWksGraphInternal::Zone::m_isSent |
true if the zone is send
Referenced by MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
| int MsWksGraphInternal::Zone::m_line |
the line position(v1)
Referenced by print().
| int MsWksGraphInternal::Zone::m_order |
the picture order
Referenced by getPosition().
| int MsWksGraphInternal::Zone::m_page |
the page
Referenced by MsWksGraph::canCreateGraphic(), getPosition(), print(), MsWksGraph::readPictHeader(), and MsWksGraph::readPictureV4().
| MWAWEntry MsWksGraphInternal::Zone::m_pos |
the file position
Referenced by MsWksGraphInternal::DataPict::getBinaryData(), MsWksGraph::getEntryPicture(), MsWksGraph::readGroup(), MsWksGraph::readPictureV4(), and MsWksGraph::send().
| MsWksGraph::Style MsWksGraphInternal::Zone::m_style |
the style
Referenced by MsWksGraphInternal::TextBox::fillFrame(), MsWksGraphInternal::TextBoxv4::fillFrame(), MsWksGraph::getEntryPicture(), MsWksGraphInternal::BasicShape::getStyle(), MsWksGraphInternal::BasicShape::needExtraBorderWidth(), print(), MsWksGraph::readPictHeader(), MsWksGraph::send(), MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
| int MsWksGraphInternal::Zone::m_subType |
the type
Referenced by MsWksGraph::getEntryPicture(), MsWksGraphInternal::BasicShape::getStyle(), print(), and MsWksGraph::readPictHeader().
| int MsWksGraphInternal::Zone::m_zoneId |
the zone id
Referenced by MsWksGraph::getEntryPicture(), print(), MsWksGraph::readGroup(), and MsWksGraph::readPictureV4().