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, 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 (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 | |
| Box2f | m_decal |
| the local position | |
| Vec2f | m_finalDecal |
| the final local position | |
| Box2f | m_box |
| local bdbox | |
| int | m_line |
| the line position(v1) | |
| MSKGraph::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.
| MSKGraphInternal::Zone::Zone | ( | ) | [inline] |
constructor
| virtual MSKGraphInternal::Zone::~Zone | ( | ) | [inline, virtual] |
destructor
| virtual void MSKGraphInternal::Zone::fillFramePropertyList | ( | WPXPropertyList & | ) | const [inline, virtual] |
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 [inline, virtual] |
return a binary data (if known)
Reimplemented in MSKGraphInternal::DataPict.
| Box2f MSKGraphInternal::Zone::getLocalBox | ( | bool | extendWithBord = true | ) | const [inline] |
return the box
Referenced by getPosition(), and MSKGraph::sendGroupChild().
| MWAWPosition MSKGraphInternal::Zone::getPosition | ( | MWAWPosition::AnchorTo | rel | ) | const [inline] |
| virtual float MSKGraphInternal::Zone::needExtraBorderWidth | ( | ) | const [inline, virtual] |
return the extra border space ( if needed)
Reimplemented in MSKGraphInternal::BasicShape.
Referenced by getLocalBox().
| void MSKGraphInternal::Zone::print | ( | std::ostream & | o | ) | const [virtual] |
the virtual print function
Reimplemented in MSKGraphInternal::TextBoxv4, MSKGraphInternal::OLEZone, MSKGraphInternal::TextBox, MSKGraphInternal::DataBitmap, MSKGraphInternal::DataPict, MSKGraphInternal::BasicShape, and MSKGraphInternal::GroupZone.
| virtual Type MSKGraphInternal::Zone::type | ( | ) | const [inline, virtual] |
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().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Zone const & | pict | ||
| ) | [friend] |
operator<<
local bdbox
Referenced by MSKGraph::getEntryPicture(), getLocalBox(), print(), MSKGraph::readPictHeader(), MSKGraph::send(), MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
the data begin position
Referenced by MSKGraphInternal::DataPict::getBinaryData(), MSKGraph::getEntryPicture(), MSKGraph::readGroup(), MSKGraph::readPictHeader(), MSKGraph::readPictureV4(), and MSKGraph::send().
the local position
Referenced by print(), MSKGraph::readPictHeader(), MSKGraph::sendGroup(), and MSKGraph::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 MSKGraphInternal::Zone::m_extra |
extra data
Referenced by print(), and MSKGraph::readPictHeader().
the file id
Referenced by print().
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().
true if the zone is send
Referenced by MSKGraph::sendGroup(), and MSKGraph::sendGroupChild().
the line position(v1)
Referenced by print().
the picture order
Referenced by getPosition().
the page
Referenced by MSKGraph::canCreateGraphic(), getPosition(), print(), MSKGraph::readPictHeader(), and MSKGraph::readPictureV4().
the file position
Referenced by MSKGraphInternal::DataPict::getBinaryData(), MSKGraph::getEntryPicture(), MSKGraph::readGroup(), MSKGraph::readPictureV4(), and MSKGraph::send().
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().
the type
Referenced by MSKGraph::getEntryPicture(), MSKGraphInternal::BasicShape::getStyle(), print(), and MSKGraph::readPictHeader().
the zone id
Referenced by MSKGraph::getEntryPicture(), print(), MSKGraph::readGroup(), and MSKGraph::readPictureV4().