Internal: the generic pict. More...
Public Types | |
| enum | Type { Unknown, Shape, ChartZone, 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, librevenge::RVNGBinaryData &res, std::string &pictType) const |
| return a binary data (if known) | |
| virtual float | needExtraBorderWidth () const |
| return the extra border space ( if needed) | |
| virtual void | fillFrame (MWAWGraphicStyle &) const |
| add frame parameters to propList (if needed ) | |
| MWAWBox2f | getLocalBox (bool extendWithBord=true) 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 | |
| MWAWBox2f | m_decal |
| the local position | |
| MWAWVec2f | m_finalDecal |
| the final local position | |
| MWAWBox2f | m_box |
| local bdbox | |
| int | m_line |
| the line position(v1) | |
| MsWksGraph::Style | m_style |
| the style | |
| int | m_order |
| the picture order | |
| std::string | m_extra |
| extra data | |
| 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) | |
| bool | m_isSent |
| true if the zone is send | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, Zone const &pict) |
| operator<< | |
Internal: the generic pict.
| MsWksGraphInternal::Zone::Zone | ( | ) | [inline] |
constructor
| virtual MsWksGraphInternal::Zone::~Zone | ( | ) | [inline, virtual] |
destructor
| virtual void MsWksGraphInternal::Zone::fillFrame | ( | MWAWGraphicStyle & | ) | const [inline, virtual] |
add frame parameters to propList (if needed )
Reimplemented in MsWksGraphInternal::TextBoxv4, and MsWksGraphInternal::TextBox.
| virtual bool MsWksGraphInternal::Zone::getBinaryData | ( | MWAWInputStreamPtr | , |
| librevenge::RVNGBinaryData & | res, | ||
| std::string & | pictType | ||
| ) | const [inline, virtual] |
return a binary data (if known)
Reimplemented in MsWksGraphInternal::DataPict.
| MWAWBox2f MsWksGraphInternal::Zone::getLocalBox | ( | bool | extendWithBord = true | ) | const [inline] |
return the box
Referenced by getPosition(), and MsWksGraph::sendGroupChild().
| MWAWPosition MsWksGraphInternal::Zone::getPosition | ( | MWAWPosition::AnchorTo | rel | ) | const [inline] |
| virtual float MsWksGraphInternal::Zone::needExtraBorderWidth | ( | ) | const [inline, virtual] |
return the extra border space ( if needed)
Reimplemented in MsWksGraphInternal::BasicShape.
Referenced by getLocalBox().
| void MsWksGraphInternal::Zone::print | ( | std::ostream & | o | ) | const [virtual] |
the virtual print function
Reimplemented in MsWksGraphInternal::TextBoxv4, MsWksGraphInternal::OLEZone, MsWksGraphInternal::TextBox, MsWksGraphInternal::DataBitmap, MsWksGraphInternal::DataPict, MsWksGraphInternal::BasicShape, and MsWksGraphInternal::GroupZone.
| virtual Type MsWksGraphInternal::Zone::type | ( | ) | const [inline, virtual] |
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().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Zone const & | pict | ||
| ) | [friend] |
operator<<
local bdbox
Referenced by MsWksGraph::getEntryPicture(), getLocalBox(), print(), MsWksGraph::readPictHeader(), MsWksGraph::send(), MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
the data begin position
Referenced by MsWksGraphInternal::DataPict::getBinaryData(), MsWksGraph::getEntryPicture(), MsWksGraph::readGroup(), MsWksGraph::readPictHeader(), MsWksGraph::readPictureV4(), and MsWksGraph::send().
the local position
Referenced by print(), MsWksGraph::readPictHeader(), MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
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().
the file id
Referenced by print().
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().
true if the zone is send
Referenced by MsWksGraph::sendGroup(), and MsWksGraph::sendGroupChild().
the line position(v1)
Referenced by print().
the picture order
Referenced by getPosition().
the page
Referenced by MsWksGraph::canCreateGraphic(), getPosition(), print(), MsWksGraph::readPictHeader(), and MsWksGraph::readPictureV4().
the file position
Referenced by MsWksGraphInternal::DataPict::getBinaryData(), MsWksGraph::getEntryPicture(), MsWksGraph::readGroup(), MsWksGraph::readPictureV4(), and MsWksGraph::send().
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().
the type
Referenced by MsWksGraph::getEntryPicture(), MsWksGraphInternal::BasicShape::getStyle(), print(), and MsWksGraph::readPictHeader().
the zone id
Referenced by MsWksGraph::getEntryPicture(), print(), MsWksGraph::readGroup(), and MsWksGraph::readPictureV4().