StarObjectSmallGraphicInternal::SdrGraphicMeasure Class Referencefinal

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

Inheritance diagram for StarObjectSmallGraphicInternal::SdrGraphicMeasure:
StarObjectSmallGraphicInternal::SdrGraphicText StarObjectSmallGraphicInternal::SdrGraphicAttribute StarObjectSmallGraphicInternal::SdrGraphic StarObjectSmallGraphicInternal::Graphic

Public Member Functions

 SdrGraphicMeasure ()
 constructor
 
 ~SdrGraphicMeasure () final
 destructor
 
std::string print () const final
 basic print function
 
bool send (STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
 try to send the graphic to the listener
 
void updateStyle (StarState &state, STOFFListenerPtr listener) const
 try to update the style
 
- Public Member Functions inherited from StarObjectSmallGraphicInternal::SdrGraphicText
 SdrGraphicText (int id)
 constructor
 
 ~SdrGraphicText () override
 destructor
 
void updateTransformProperties (librevenge::RVNGPropertyList &list, double relUnit) const
 try to update the transformation
 
std::string print () const override
 basic print function
 
bool sendTextZone (STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object)
 try to send the text zone to the listener
 
- Public Member Functions inherited from StarObjectSmallGraphicInternal::SdrGraphicAttribute
 SdrGraphicAttribute (int id)
 constructor
 
 ~SdrGraphicAttribute () override
 destructor
 
std::string print () const override
 basic print function
 
void updateStyle (StarState &state, STOFFListenerPtr listener) const
 try to update the style
 
- Public Member Functions inherited from StarObjectSmallGraphicInternal::SdrGraphic
 SdrGraphic (int id)
 constructor
 
 ~SdrGraphic () override
 destructor
 
std::string getName () const override
 return the object name
 
StarState getState (StarObject &object, STOFFListenerPtr listener, STOFFFrameStyle const &) const
 return a pool corresponding to an object
 
void updateStyle (StarState &state, STOFFListenerPtr) const
 try to update the graphic style
 
std::string print () const override
 basic print function
 
- Public Member Functions inherited from StarObjectSmallGraphicInternal::Graphic
 Graphic (int id)
 constructor
 
virtual ~Graphic ()
 destructor
 
virtual std::string print () const
 basic print function
 
virtual std::string getName () const =0
 return the object name
 
virtual bool send (STOFFListenerPtr &, STOFFFrameStyle const &, StarObject &, bool)
 try to send the graphic to the listener
 

Public Attributes

STOFFVec2i m_measurePoints [2]
 the points
 
bool m_overwritten
 overwritten flag
 
std::shared_ptr< StarItemm_measureItem
 the measure attributes
 
- Public Attributes inherited from StarObjectSmallGraphicInternal::SdrGraphicText
int m_textKind
 the text kind
 
STOFFBox2i m_textRectangle
 the text rectangle
 
int m_textDrehWink
 the dreh wink: rotation?
 
int m_textShearWink
 the shear wink
 
std::shared_ptr< OutlinerParaObjectm_outlinerParaObject
 the outliner object
 
STOFFBox2i m_textBound
 the text bound
 
- Public Attributes inherited from StarObjectSmallGraphicInternal::SdrGraphicAttribute
std::vector< std::shared_ptr< StarItem > > m_itemList
 the list of star item
 
librevenge::RVNGString m_sheetStyle
 the sheet style name
 
- Public Attributes inherited from StarObjectSmallGraphicInternal::SdrGraphic
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
 
std::vector< std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > > m_userDataList
 the user data list
 
- Public Attributes inherited from StarObjectSmallGraphicInternal::Graphic
int m_identifier
 the type
 

Friends

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

Detailed Description

Internal: virtual class to store a Sdr graphic edge.

Constructor & Destructor Documentation

◆ SdrGraphicMeasure()

StarObjectSmallGraphicInternal::SdrGraphicMeasure::SdrGraphicMeasure ( )
inline

constructor

◆ ~SdrGraphicMeasure()

StarObjectSmallGraphicInternal::SdrGraphicMeasure::~SdrGraphicMeasure ( )
final

destructor

Member Function Documentation

◆ print()

std::string StarObjectSmallGraphicInternal::SdrGraphicMeasure::print ( ) const
inlinefinalvirtual

basic print function

Reimplemented from StarObjectSmallGraphicInternal::SdrGraphicText.

◆ send()

bool StarObjectSmallGraphicInternal::SdrGraphicMeasure::send ( STOFFListenerPtr listener,
STOFFFrameStyle const &  pos,
StarObject object,
bool   
)
inlinefinalvirtual

try to send the graphic to the listener

Reimplemented from StarObjectSmallGraphicInternal::Graphic.

◆ updateStyle()

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

try to update the style

Referenced by send().

Friends And Related Function Documentation

◆ operator<<

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

print object data

Member Data Documentation

◆ m_measureItem

std::shared_ptr<StarItem> StarObjectSmallGraphicInternal::SdrGraphicMeasure::m_measureItem

the measure attributes

Referenced by StarObjectSmallGraphic::readSVDRObjectMeasure(), and updateStyle().

◆ m_measurePoints

STOFFVec2i StarObjectSmallGraphicInternal::SdrGraphicMeasure::m_measurePoints[2]

◆ m_overwritten

bool StarObjectSmallGraphicInternal::SdrGraphicMeasure::m_overwritten

overwritten flag

Referenced by StarObjectSmallGraphic::readSVDRObjectMeasure().


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

Generated on Fri Apr 14 2023 04:41:10 for libstaroffice by doxygen 1.9.6