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

Static Public Member Functions

static shared_ptr< StarItemPoolgetPool (StarObject &object)
 return a pool corresponding to an object 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< GluePointm_polygon
 a polygon More...
 
bool m_flags [6]
 a list of flag More...
 
- Public Attributes inherited from StarObjectSmallGraphicInternal::Graphic
int m_identifier
 the type More...
 

Friends

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

Detailed Description

Internal: virtual class to store a Sdr graphic.

Constructor & Destructor Documentation

StarObjectSmallGraphicInternal::SdrGraphic::SdrGraphic ( int  id)
inlineexplicit

constructor

StarObjectSmallGraphicInternal::SdrGraphic::~SdrGraphic ( )

destructor

Member Function Documentation

std::string StarObjectSmallGraphicInternal::SdrGraphic::getName ( ) const
inlinevirtual

return the object name

Implements StarObjectSmallGraphicInternal::Graphic.

void StarObjectSmallGraphicInternal::SdrGraphic::updateStyle ( StarState state,
STOFFListenerPtr   
) const
inline

try to update the graphic style

Referenced by StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle().

Friends And Related Function Documentation

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

print object data

Member Data Documentation

STOFFVec2i StarObjectSmallGraphicInternal::SdrGraphic::m_anchorPosition

the anchor position

Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().

bool StarObjectSmallGraphicInternal::SdrGraphic::m_flags[6]
int StarObjectSmallGraphicInternal::SdrGraphic::m_layerId
std::vector<GluePoint> StarObjectSmallGraphicInternal::SdrGraphic::m_polygon

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

Generated on Fri Oct 25 2019 01:21:00 for libstaroffice by doxygen 1.8.5