LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::VButton Class Referencefinal

#include <VButton.hxx>

Collaboration diagram for chart::VButton:
[legend]

Public Member Functions

 VButton ()
 
void init (const rtl::Reference< SvxShapeGroupAnyD > &xTargetPage)
 
void createShapes (const css::uno::Reference< css::beans::XPropertySet > &xTextProp)
 
void showArrow (bool bShowArrow)
 
void setArrowColor (Color nArrowColor)
 
void setBGColor (Color nBGColor)
 
void setLabel (OUString const &rLabel)
 
void setCID (OUString const &rCID)
 
void setPosition (css::awt::Point const &rPosition)
 
css::awt::Size const & getSize () const
 
void setSize (css::awt::Size const &rSize)
 

Private Member Functions

rtl::Reference< SvxShapePolyPolygoncreateTriangle (css::awt::Size aSize)
 

Private Attributes

rtl::Reference< SvxShapeGroupAnyDm_xTarget
 
rtl::Reference< SvxShapeGroupm_xShape
 
OUString m_sLabel
 
OUString m_sCID
 
css::awt::Point m_aPosition
 
css::awt::Size m_aSize
 
bool m_bShowArrow
 
Color m_nArrowColor
 
Color m_nBGColor
 

Detailed Description

Definition at line 27 of file VButton.hxx.

Constructor & Destructor Documentation

◆ VButton()

chart::VButton::VButton ( )

Definition at line 26 of file VButton.cxx.

Member Function Documentation

◆ createShapes()

void chart::VButton::createShapes ( const css::uno::Reference< css::beans::XPropertySet > &  xTextProp)

◆ createTriangle()

rtl::Reference< SvxShapePolyPolygon > chart::VButton::createTriangle ( css::awt::Size  aSize)
private

Definition at line 38 of file VButton.cxx.

References m_nArrowColor, m_sCID, chart::PolyToPointSequence(), and UNO_NAME_POLYPOLYGON.

Referenced by createShapes().

◆ getSize()

css::awt::Size const & chart::VButton::getSize ( ) const
inline

Definition at line 74 of file VButton.hxx.

References m_aSize.

◆ init()

void chart::VButton::init ( const rtl::Reference< SvxShapeGroupAnyD > &  xTargetPage)

Definition at line 33 of file VButton.cxx.

References m_xTarget.

◆ setArrowColor()

void chart::VButton::setArrowColor ( Color  nArrowColor)
inline

Definition at line 54 of file VButton.hxx.

References m_nArrowColor.

◆ setBGColor()

void chart::VButton::setBGColor ( Color  nBGColor)
inline

Definition at line 58 of file VButton.hxx.

References m_nBGColor.

◆ setCID()

void chart::VButton::setCID ( OUString const &  rCID)
inline

Definition at line 66 of file VButton.hxx.

References m_sCID.

◆ setLabel()

void chart::VButton::setLabel ( OUString const &  rLabel)
inline

Definition at line 62 of file VButton.hxx.

References m_sLabel.

◆ setPosition()

void chart::VButton::setPosition ( css::awt::Point const &  rPosition)
inline

Definition at line 70 of file VButton.hxx.

References m_aPosition.

◆ setSize()

void chart::VButton::setSize ( css::awt::Size const &  rSize)
inline

Definition at line 78 of file VButton.hxx.

References m_aSize.

◆ showArrow()

void chart::VButton::showArrow ( bool  bShowArrow)
inline

Definition at line 50 of file VButton.hxx.

References m_bShowArrow.

Member Data Documentation

◆ m_aPosition

css::awt::Point chart::VButton::m_aPosition
private

Definition at line 34 of file VButton.hxx.

Referenced by createShapes(), and setPosition().

◆ m_aSize

css::awt::Size chart::VButton::m_aSize
private

Definition at line 35 of file VButton.hxx.

Referenced by createShapes(), getSize(), and setSize().

◆ m_bShowArrow

bool chart::VButton::m_bShowArrow
private

Definition at line 36 of file VButton.hxx.

Referenced by createShapes(), and showArrow().

◆ m_nArrowColor

Color chart::VButton::m_nArrowColor
private

Definition at line 37 of file VButton.hxx.

Referenced by createTriangle(), and setArrowColor().

◆ m_nBGColor

Color chart::VButton::m_nBGColor
private

Definition at line 38 of file VButton.hxx.

Referenced by createShapes(), and setBGColor().

◆ m_sCID

OUString chart::VButton::m_sCID
private

Definition at line 33 of file VButton.hxx.

Referenced by createShapes(), createTriangle(), and setCID().

◆ m_sLabel

OUString chart::VButton::m_sLabel
private

Definition at line 32 of file VButton.hxx.

Referenced by createShapes(), and setLabel().

◆ m_xShape

rtl::Reference<SvxShapeGroup> chart::VButton::m_xShape
private

Definition at line 31 of file VButton.hxx.

Referenced by createShapes().

◆ m_xTarget

rtl::Reference<SvxShapeGroupAnyD> chart::VButton::m_xTarget
private

Definition at line 30 of file VButton.hxx.

Referenced by createShapes(), and init().


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