LibreOffice Module chart2 (master) 1
|
#include <res_LegendPosition.hxx>
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::CheckButton > | m_xCbxShow |
std::unique_ptr< weld::RadioButton > | m_xRbtLeft |
std::unique_ptr< weld::RadioButton > | m_xRbtRight |
std::unique_ptr< weld::RadioButton > | m_xRbtTop |
std::unique_ptr< weld::RadioButton > | m_xRbtBottom |
Definition at line 36 of file res_LegendPosition.hxx.
chart::LegendPositionResources::LegendPositionResources | ( | weld::Builder & | rBuilder | ) |
Definition at line 44 of file res_LegendPosition.cxx.
References impl_setRadioButtonToggleHdl().
chart::LegendPositionResources::LegendPositionResources | ( | weld::Builder & | rBuilder, |
css::uno::Reference< css::uno::XComponentContext > | xCC | ||
) |
chart::LegendPositionResources::~LegendPositionResources | ( | ) |
Definition at line 74 of file res_LegendPosition.cxx.
chart::LegendPositionResources::DECL_LINK | ( | PositionChangeHdl | , |
weld::Toggleable & | , | ||
void | |||
) |
chart::LegendPositionResources::DECL_LINK | ( | PositionEnableHdl | , |
weld::Toggleable & | , | ||
void | |||
) |
|
private |
Definition at line 66 of file res_LegendPosition.cxx.
References LINK, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, and m_xRbtTop.
Referenced by LegendPositionResources().
void chart::LegendPositionResources::initFromItemSet | ( | const SfxItemSet & | rInAttrs | ) |
Definition at line 181 of file res_LegendPosition.cxx.
References SfxItemSet::GetItemIfSet(), SfxBoolItem::GetValue(), m_xCbxShow, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, m_xRbtTop, SCHATTR_LEGEND_POS(), and SCHATTR_LEGEND_SHOW().
Referenced by chart::SchLegendPosTabPage::Reset().
|
private |
Definition at line 169 of file res_LegendPosition.cxx.
References Link< typename Arg, typename Ret >::Call(), m_aChangeLink, m_xCbxShow, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, and m_xRbtTop.
Referenced by writeToResources().
void chart::LegendPositionResources::SetChangeHdl | ( | const Link< LinkParamNone *, void > & | rLink | ) |
Definition at line 237 of file res_LegendPosition.cxx.
References m_aChangeLink.
void chart::LegendPositionResources::writeToItemSet | ( | SfxItemSet & | rOutAttrs | ) | const |
Definition at line 212 of file res_LegendPosition.cxx.
References m_xCbxShow, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, m_xRbtTop, SfxItemSet::Put(), SCHATTR_LEGEND_POS(), and SCHATTR_LEGEND_SHOW().
Referenced by chart::SchLegendPosTabPage::FillItemSet().
void chart::LegendPositionResources::writeToModel | ( | const rtl::Reference<::chart::ChartModel > & | xChartModel | ) | const |
Definition at line 120 of file res_LegendPosition.cxx.
References DBG_UNHANDLED_EXCEPTION, chart::LegendHelper::getLegend(), m_xCbxShow, m_xCC, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, and m_xRbtTop.
void chart::LegendPositionResources::writeToResources | ( | const rtl::Reference<::chart::ChartModel > & | xChartModel | ) |
Definition at line 78 of file res_LegendPosition.cxx.
References DBG_UNHANDLED_EXCEPTION, ePos, m_xCbxShow, m_xRbtBottom, m_xRbtLeft, m_xRbtRight, m_xRbtTop, and PositionEnable().
|
private |
Definition at line 64 of file res_LegendPosition.hxx.
Referenced by PositionEnable(), and SetChangeHdl().
|
private |
Definition at line 66 of file res_LegendPosition.hxx.
Referenced by initFromItemSet(), PositionEnable(), writeToItemSet(), writeToModel(), and writeToResources().
|
private |
Definition at line 63 of file res_LegendPosition.hxx.
Referenced by writeToModel().
|
private |
Definition at line 70 of file res_LegendPosition.hxx.
Referenced by impl_setRadioButtonToggleHdl(), initFromItemSet(), PositionEnable(), writeToItemSet(), writeToModel(), and writeToResources().
|
private |
Definition at line 67 of file res_LegendPosition.hxx.
Referenced by impl_setRadioButtonToggleHdl(), initFromItemSet(), PositionEnable(), writeToItemSet(), writeToModel(), and writeToResources().
|
private |
Definition at line 68 of file res_LegendPosition.hxx.
Referenced by impl_setRadioButtonToggleHdl(), initFromItemSet(), PositionEnable(), writeToItemSet(), writeToModel(), and writeToResources().
|
private |
Definition at line 69 of file res_LegendPosition.hxx.
Referenced by impl_setRadioButtonToggleHdl(), initFromItemSet(), PositionEnable(), writeToItemSet(), writeToModel(), and writeToResources().