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...
 
std::string getName () const
 return the object name More...
 
void updateStyle (STOFFGraphicStyle &style, StarObject &, STOFFListenerPtr) const
 try to update the 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, StarObject &)
 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< 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

Member Function Documentation

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

return the object name

Implements StarObjectSmallGraphicInternal::Graphic.

void StarObjectSmallGraphicInternal::SdrGraphic::updateStyle ( STOFFGraphicStyle style,
StarObject ,
STOFFListenerPtr   
) const
inline

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().

STOFFBox2i StarObjectSmallGraphicInternal::SdrGraphic::m_bdbox
bool StarObjectSmallGraphicInternal::SdrGraphic::m_flags[6]

a list of flag

Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().

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 Thu Mar 10 2016 10:00:16 for libstaroffice by doxygen 1.8.11