LibreOffice Module chart2 (master) 1
|
#include <ChartColorWrapper.hxx>
Public Member Functions | |
ChartColorWrapper (rtl::Reference<::chart::ChartModel > xModel, SvxColorToolBoxControl *pControl, OUString rPropertyName) | |
void | operator() (const OUString &rCommand, const NamedColor &rColor) |
void | updateModel (const rtl::Reference<::chart::ChartModel > &xModel) |
void | updateData () |
Private Attributes | |
rtl::Reference<::chart::ChartModel > | mxModel |
SvxColorToolBoxControl * | mpControl |
OUString | maPropertyName |
Definition at line 24 of file ChartColorWrapper.hxx.
chart::sidebar::ChartColorWrapper::ChartColorWrapper | ( | rtl::Reference<::chart::ChartModel > | xModel, |
SvxColorToolBoxControl * | pControl, | ||
OUString | rPropertyName | ||
) |
Definition at line 83 of file ChartColorWrapper.cxx.
void chart::sidebar::ChartColorWrapper::operator() | ( | const OUString & | rCommand, |
const NamedColor & | rColor | ||
) |
Definition at line 93 of file ChartColorWrapper.cxx.
References NamedColor::m_aColor, maPropertyName, mxModel, and SAL_WARN.
void chart::sidebar::ChartColorWrapper::updateData | ( | ) |
Definition at line 111 of file ChartColorWrapper.cxx.
References aEvent, SfxViewShell::Current(), comphelper::LibreOfficeKit::isActive(), SfxViewShell::libreOfficeKitViewCallback(), maPropertyName, mpControl, mxModel, OUStringToOString(), SvxColorToolBoxControl::statusChanged(), and u.
Referenced by chart::sidebar::ChartAreaPanel::updateData(), and chart::sidebar::ChartLinePanel::updateData().
void chart::sidebar::ChartColorWrapper::updateModel | ( | const rtl::Reference<::chart::ChartModel > & | xModel | ) |
Definition at line 106 of file ChartColorWrapper.cxx.
References mxModel, and xModel.
Referenced by chart::sidebar::ChartLinePanel::doUpdateModel().
|
private |
Definition at line 44 of file ChartColorWrapper.hxx.
Referenced by operator()(), and updateData().
|
private |
Definition at line 42 of file ChartColorWrapper.hxx.
Referenced by updateData().
|
private |
Definition at line 40 of file ChartColorWrapper.hxx.
Referenced by operator()(), updateData(), and updateModel().