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

#include <res_LegendPosition.hxx>

Collaboration diagram for chart::LegendPositionResources:
[legend]

Public Member Functions

 LegendPositionResources (weld::Builder &rBuilder)
 
 LegendPositionResources (weld::Builder &rBuilder, css::uno::Reference< css::uno::XComponentContext > xCC)
 
 ~LegendPositionResources ()
 
void writeToResources (const rtl::Reference<::chart::ChartModel > &xChartModel)
 
void writeToModel (const rtl::Reference<::chart::ChartModel > &xChartModel) const
 
void initFromItemSet (const SfxItemSet &rInAttrs)
 
void writeToItemSet (SfxItemSet &rOutAttrs) const
 
void SetChangeHdl (const Link< LinkParamNone *, void > &rLink)
 
 DECL_LINK (PositionEnableHdl, weld::Toggleable &, void)
 
 DECL_LINK (PositionChangeHdl, weld::Toggleable &, void)
 

Private Member Functions

void impl_setRadioButtonToggleHdl ()
 
void PositionEnable ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xCC
 
Link< LinkParamNone *, void > m_aChangeLink
 
std::unique_ptr< weld::CheckButtonm_xCbxShow
 
std::unique_ptr< weld::RadioButtonm_xRbtLeft
 
std::unique_ptr< weld::RadioButtonm_xRbtRight
 
std::unique_ptr< weld::RadioButtonm_xRbtTop
 
std::unique_ptr< weld::RadioButtonm_xRbtBottom
 

Detailed Description

Definition at line 36 of file res_LegendPosition.hxx.

Constructor & Destructor Documentation

◆ LegendPositionResources() [1/2]

chart::LegendPositionResources::LegendPositionResources ( weld::Builder rBuilder)

Definition at line 44 of file res_LegendPosition.cxx.

References impl_setRadioButtonToggleHdl().

◆ LegendPositionResources() [2/2]

chart::LegendPositionResources::LegendPositionResources ( weld::Builder rBuilder,
css::uno::Reference< css::uno::XComponentContext >  xCC 
)

◆ ~LegendPositionResources()

chart::LegendPositionResources::~LegendPositionResources ( )

Definition at line 74 of file res_LegendPosition.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

chart::LegendPositionResources::DECL_LINK ( PositionChangeHdl  ,
weld::Toggleable ,
void   
)

◆ DECL_LINK() [2/2]

chart::LegendPositionResources::DECL_LINK ( PositionEnableHdl  ,
weld::Toggleable ,
void   
)

◆ impl_setRadioButtonToggleHdl()

void chart::LegendPositionResources::impl_setRadioButtonToggleHdl ( )
private

Definition at line 66 of file res_LegendPosition.cxx.

References LINK, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, and m_xRbtTop.

Referenced by LegendPositionResources().

◆ initFromItemSet()

void chart::LegendPositionResources::initFromItemSet ( const SfxItemSet rInAttrs)

◆ PositionEnable()

void chart::LegendPositionResources::PositionEnable ( )
private

◆ SetChangeHdl()

void chart::LegendPositionResources::SetChangeHdl ( const Link< LinkParamNone *, void > &  rLink)

Definition at line 237 of file res_LegendPosition.cxx.

References m_aChangeLink.

◆ writeToItemSet()

void chart::LegendPositionResources::writeToItemSet ( SfxItemSet rOutAttrs) const

◆ writeToModel()

void chart::LegendPositionResources::writeToModel ( const rtl::Reference<::chart::ChartModel > &  xChartModel) const

◆ writeToResources()

void chart::LegendPositionResources::writeToResources ( const rtl::Reference<::chart::ChartModel > &  xChartModel)

Member Data Documentation

◆ m_aChangeLink

Link<LinkParamNone*,void> chart::LegendPositionResources::m_aChangeLink
private

Definition at line 64 of file res_LegendPosition.hxx.

Referenced by PositionEnable(), and SetChangeHdl().

◆ m_xCbxShow

std::unique_ptr<weld::CheckButton> chart::LegendPositionResources::m_xCbxShow
private

◆ m_xCC

css::uno::Reference< css::uno::XComponentContext> chart::LegendPositionResources::m_xCC
private

Definition at line 63 of file res_LegendPosition.hxx.

Referenced by writeToModel().

◆ m_xRbtBottom

std::unique_ptr<weld::RadioButton> chart::LegendPositionResources::m_xRbtBottom
private

◆ m_xRbtLeft

std::unique_ptr<weld::RadioButton> chart::LegendPositionResources::m_xRbtLeft
private

◆ m_xRbtRight

std::unique_ptr<weld::RadioButton> chart::LegendPositionResources::m_xRbtRight
private

◆ m_xRbtTop

std::unique_ptr<weld::RadioButton> chart::LegendPositionResources::m_xRbtTop
private

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