StarObjectSmallGraphicInternal::SdrGraphic Class Reference

Internal: virtual class to store a Sdr graphic. More...

Inheritance diagram for StarObjectSmallGraphicInternal::SdrGraphic:
StarObjectSmallGraphicInternal::Graphic StarObjectSmallGraphicInternal::SdrGraphicAttribute StarObjectSmallGraphicInternal::SdrGraphicGroup StarObjectSmallGraphicInternal::SdrGraphicPage StarObjectSmallGraphicInternal::SdrGraphicText StarObjectSmallGraphicInternal::SdrGraphicEdge StarObjectSmallGraphicInternal::SdrGraphicMeasure StarObjectSmallGraphicInternal::SdrGraphicPath StarObjectSmallGraphicInternal::SdrGraphicRect StarObjectSmallGraphicInternal::SdrGraphicCaption StarObjectSmallGraphicInternal::SdrGraphicCircle StarObjectSmallGraphicInternal::SdrGraphicGraph StarObjectSmallGraphicInternal::SdrGraphicOLE StarObjectSmallGraphicInternal::SdrGraphicUno

Public Member Functions

 SdrGraphic (int id)
 constructor
 ~SdrGraphic ()
 destructor
std::string getName () const
 return the object name
void updateStyle (StarState &state, STOFFListenerPtr) const
 try to update the graphic style
virtual std::string print () const
 basic print function
Public Member Functions inherited from StarObjectSmallGraphicInternal::Graphic
 Graphic (int id)
 constructor
virtual ~Graphic ()
 destructor
virtual bool send (STOFFListenerPtr, STOFFPosition const &, StarObject &, bool)
 try to send the graphic to the listener

Static Public Member Functions

static shared_ptr< StarItemPoolgetPool (StarObject &object)
 return a pool corresponding to an object

Public Attributes

STOFFBox2i m_bdbox
 the bdbox
int m_layerId
 the layer id
STOFFVec2i m_anchorPosition
 the anchor position
std::vector< GluePointm_polygon
 a polygon
bool m_flags [6]
 a list of flag
Public Attributes inherited from StarObjectSmallGraphicInternal::Graphic
int m_identifier
 the type

Friends

std::ostream & operator<< (std::ostream &o, SdrGraphic const &graph)
 print object data

Detailed Description

Internal: virtual class to store a Sdr graphic.

Constructor & Destructor Documentation

◆ SdrGraphic()

◆ ~SdrGraphic()

StarObjectSmallGraphicInternal::SdrGraphic::~SdrGraphic ( )

destructor

Member Function Documentation

◆ getName()

◆ getPool()

◆ print()

◆ updateStyle()

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
SdrGraphic const & graph )
friend

print object data

Member Data Documentation

◆ m_anchorPosition

STOFFVec2i StarObjectSmallGraphicInternal::SdrGraphic::m_anchorPosition

◆ m_bdbox

◆ m_flags

bool StarObjectSmallGraphicInternal::SdrGraphic::m_flags[6]

◆ m_layerId

int StarObjectSmallGraphicInternal::SdrGraphic::m_layerId

◆ m_polygon

std::vector<GluePoint> StarObjectSmallGraphicInternal::SdrGraphic::m_polygon

The documentation for this class was generated from the following file:

Generated on Tue Aug 12 2025 03:01:00 for libstaroffice by doxygen 1.14.0