Internal: virtual class to store a Sdr graphic. More...
Public Member Functions | |
SdrGraphic (int id) | |
constructor More... | |
~SdrGraphic () override | |
destructor More... | |
std::string | getName () const override |
return the object name More... | |
StarState | getState (StarObject &object, STOFFListenerPtr listener, STOFFFrameStyle const &) const |
return a pool corresponding to an object More... | |
void | updateStyle (StarState &state, STOFFListenerPtr) const |
try to update the graphic style More... | |
std::string | print () const override |
basic print function More... | |
![]() | |
Graphic (int id) | |
constructor More... | |
virtual | ~Graphic () |
destructor More... | |
virtual bool | send (STOFFListenerPtr &, STOFFFrameStyle const &, StarObject &, bool) |
try to send the graphic to the listener More... | |
Public Attributes | |
STOFFBox2i | m_bdbox |
the bdbox More... | |
int | m_layerId |
the layer id More... | |
STOFFVec2i | m_anchorPosition |
the anchor position More... | |
std::vector< GluePoint > | m_polygon |
a polygon More... | |
bool | m_flags [6] |
a list of flag More... | |
std::vector< std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > > | m_userDataList |
the user data list More... | |
![]() | |
int | m_identifier |
the type More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, SdrGraphic const &graph) |
print object data More... | |
Internal: virtual class to store a Sdr graphic.
|
inlineexplicit |
constructor
|
override |
destructor
|
inlineoverridevirtual |
return the object name
Implements StarObjectSmallGraphicInternal::Graphic.
|
inline |
return a pool corresponding to an object
Referenced by StarObjectSmallGraphicInternal::SdrGraphicGroup::send(), StarObjectSmallGraphicInternal::SdrGraphicGraph::send(), StarObjectSmallGraphicInternal::SdrGraphicOLE::send(), StarObjectSmallGraphicInternal::SdrGraphicRect::send(), StarObjectSmallGraphicInternal::SdrGraphicCaption::send(), StarObjectSmallGraphicInternal::SdrGraphicCircle::send(), StarObjectSmallGraphicInternal::SdrGraphicEdge::send(), StarObjectSmallGraphicInternal::SdrGraphicMeasure::send(), StarObjectSmallGraphicInternal::SdrGraphicPath::send(), and StarObjectSmallGraphicInternal::SdrGraphicText::sendTextZone().
|
inlineoverridevirtual |
basic print function
Reimplemented from StarObjectSmallGraphicInternal::Graphic.
Reimplemented in StarObjectSmallGraphicInternal::SdrGraphicRect, StarObjectSmallGraphicInternal::SdrGraphicText, StarObjectSmallGraphicInternal::SdrGraphicAttribute, StarObjectSmallGraphicInternal::SdrGraphicUno, StarObjectSmallGraphicInternal::SdrGraphicPath, StarObjectSmallGraphicInternal::SdrGraphicPage, StarObjectSmallGraphicInternal::SdrGraphicOLE, StarObjectSmallGraphicInternal::SdrGraphicMeasure, StarObjectSmallGraphicInternal::SdrGraphicGraph, StarObjectSmallGraphicInternal::SdrGraphicEdge, StarObjectSmallGraphicInternal::SdrGraphicCircle, StarObjectSmallGraphicInternal::SdrGraphicCaption, and StarObjectSmallGraphicInternal::SdrGraphicGroup.
Referenced by StarObjectSmallGraphicInternal::SdrGraphicGroup::print(), StarObjectSmallGraphicInternal::SdrGraphicPage::print(), StarObjectSmallGraphicInternal::SdrGraphicAttribute::print(), and StarObjectSmallGraphic::readSVDRObjectHeader().
|
inline |
try to update the graphic style
Referenced by StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle().
|
friend |
print object data
STOFFVec2i StarObjectSmallGraphicInternal::SdrGraphic::m_anchorPosition |
the anchor position
Referenced by getState(), and StarObjectSmallGraphic::readSVDRObjectHeader().
STOFFBox2i StarObjectSmallGraphicInternal::SdrGraphic::m_bdbox |
bool StarObjectSmallGraphicInternal::SdrGraphic::m_flags[6] |
a list of flag
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader(), SdrGraphic(), and updateStyle().
int StarObjectSmallGraphicInternal::SdrGraphic::m_layerId |
the layer id
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().
std::vector<GluePoint> StarObjectSmallGraphicInternal::SdrGraphic::m_polygon |
a polygon
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().
std::vector<std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData> > StarObjectSmallGraphicInternal::SdrGraphic::m_userDataList |
the user data list
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().