LibreOffice Module chart2 (master) 1
|
#include <ChartLinePanel.hxx>
Public Member Functions | |
ChartLinePanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, ChartController *pController) | |
virtual | ~ChartLinePanel () override |
virtual void | updateData () override |
virtual void | modelInvalid () override |
virtual void | selectionChanged (bool bCorrectType) override |
virtual void | updateModel (css::uno::Reference< css::frame::XModel > xModel) override |
virtual void | setLineWidth (const XLineWidthItem &rItem) override |
Public Member Functions inherited from svx::sidebar::LinePropertyPanelBase | |
virtual | ~LinePropertyPanelBase () override |
void | SetWidth (tools::Long nWidth) |
void | SetWidthIcon (int n) |
void | SetWidthIcon () |
void | EndLineWidthPopup () |
LinePropertyPanelBase (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame) | |
virtual void | setLineWidth (const XLineWidthItem &rItem)=0 |
void | SetNoneLineStyle (bool bNoneLineStyle) |
Public Member Functions inherited from chart::sidebar::ChartSidebarModifyListenerParent | |
virtual | ~ChartSidebarModifyListenerParent () |
virtual void | updateData ()=0 |
virtual void | modelInvalid ()=0 |
Public Member Functions inherited from chart::sidebar::ChartSidebarSelectionListenerParent | |
virtual | ~ChartSidebarSelectionListenerParent () |
virtual void | selectionChanged (bool bSelected)=0 |
Static Public Member Functions | |
static std::unique_ptr< PanelLayout > | Create (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, ChartController *pController) |
Protected Member Functions | |
virtual void | setLineTransparency (const XLineTransparenceItem &rItem) override |
virtual void | setLineJoint (const XLineJointItem *pItem) override |
virtual void | setLineCap (const XLineCapItem *pItem) override |
virtual void | updateLineWidth (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) override |
Protected Member Functions inherited from svx::sidebar::LinePropertyPanelBase | |
void | ActivateControls () |
virtual void | setLineTransparency (const XLineTransparenceItem &rItem)=0 |
virtual void | setLineJoint (const XLineJointItem *pItem)=0 |
virtual void | setLineCap (const XLineCapItem *pItem)=0 |
void | updateLineTransparence (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
virtual void | updateLineWidth (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
void | updateLineJoint (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
void | updateLineCap (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
void | setMapUnit (MapUnit eMapUnit) |
void | enableArrowHead () |
void | disableArrowHead () |
Private Member Functions | |
void | Initialize () |
void | doUpdateModel (rtl::Reference<::chart::ChartModel > xModel) |
Private Attributes | |
rtl::Reference<::chart::ChartModel > | mxModel |
css::uno::Reference< css::util::XModifyListener > | mxListener |
rtl::Reference< ChartSidebarSelectionListener > | mxSelectionListener |
bool | mbUpdate |
bool | mbModelValid |
ChartColorWrapper | maLineColorWrapper |
ChartLineStyleWrapper | maLineStyleWrapper |
Additional Inherited Members | |
Protected Attributes inherited from svx::sidebar::LinePropertyPanelBase | |
std::unique_ptr< weld::Toolbar > | mxTBColor |
std::unique_ptr< ToolbarUnoDispatcher > | mxColorDispatch |
std::unique_ptr< weld::Toolbar > | mxLineStyleTB |
std::unique_ptr< ToolbarUnoDispatcher > | mxLineStyleDispatch |
sal_Int32 | mnWidthCoreValue |
Definition at line 34 of file ChartLinePanel.hxx.
chart::sidebar::ChartLinePanel::ChartLinePanel | ( | weld::Widget * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame, | ||
ChartController * | pController | ||
) |
Definition at line 120 of file ChartLinePanel.cxx.
References svx::sidebar::LinePropertyPanelBase::disableArrowHead(), Initialize(), mxListener, mxModel, mxSelectionListener, chart::OBJECTTYPE_AXIS, chart::OBJECTTYPE_DATA_AVERAGE_LINE, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DATA_SERIES, chart::OBJECTTYPE_DIAGRAM, chart::OBJECTTYPE_LEGEND, chart::OBJECTTYPE_PAGE, and chart::OBJECTTYPE_TITLE.
|
overridevirtual |
Definition at line 141 of file ChartLinePanel.cxx.
References doUpdateModel().
|
static |
Definition at line 107 of file ChartLinePanel.cxx.
Referenced by chart::sidebar::ChartPanelFactory::createUIElement().
|
private |
Definition at line 199 of file ChartLinePanel.cxx.
References maLineColorWrapper, maLineStyleWrapper, mbModelValid, mxListener, mxModel, mxSelectionListener, chart::sidebar::ChartColorWrapper::updateModel(), chart::sidebar::ChartLineStyleWrapper::updateModel(), and xModel.
Referenced by updateModel(), and ~ChartLinePanel().
|
private |
Definition at line 146 of file ChartLinePanel.cxx.
References maLineColorWrapper, maLineStyleWrapper, svx::sidebar::LinePropertyPanelBase::mxColorDispatch, svx::sidebar::LinePropertyPanelBase::mxLineStyleDispatch, mxListener, mxModel, mxSelectionListener, SvxColorToolBoxControl::setColorSelectFunction(), SvxLineStyleToolBoxControl::setLineStyleSelectFunction(), svx::sidebar::LinePropertyPanelBase::setMapUnit(), and updateData().
Referenced by ChartLinePanel().
|
overridevirtual |
Implements chart::sidebar::ChartSidebarModifyListenerParent.
Definition at line 188 of file ChartLinePanel.cxx.
References mbModelValid.
|
overridevirtual |
Implements chart::sidebar::ChartSidebarSelectionListenerParent.
Definition at line 193 of file ChartLinePanel.cxx.
References updateData().
|
overrideprotectedvirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 248 of file ChartLinePanel.cxx.
|
overrideprotectedvirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 235 of file ChartLinePanel.cxx.
|
overrideprotectedvirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 252 of file ChartLinePanel.cxx.
|
overridevirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 264 of file ChartLinePanel.cxx.
|
overridevirtual |
Implements chart::sidebar::ChartSidebarModifyListenerParent.
Definition at line 164 of file ChartLinePanel.cxx.
References maLineColorWrapper, maLineStyleWrapper, mbModelValid, mbUpdate, mxModel, chart::sidebar::ChartColorWrapper::updateData(), chart::sidebar::ChartLineStyleWrapper::updateData(), svx::sidebar::LinePropertyPanelBase::updateLineTransparence(), and updateLineWidth().
Referenced by Initialize(), and selectionChanged().
|
overrideprotectedvirtual |
Reimplemented from svx::sidebar::LinePropertyPanelBase.
Definition at line 276 of file ChartLinePanel.cxx.
References SfxViewShell::Current(), comphelper::LibreOfficeKit::isActive(), SfxViewShell::libreOfficeKitViewCallback(), and svx::sidebar::LinePropertyPanelBase::mnWidthCoreValue.
Referenced by updateData().
|
overridevirtual |
Definition at line 228 of file ChartLinePanel.cxx.
References doUpdateModel(), and xModel.
|
private |
Definition at line 81 of file ChartLinePanel.hxx.
Referenced by doUpdateModel(), Initialize(), and updateData().
|
private |
Definition at line 82 of file ChartLinePanel.hxx.
Referenced by doUpdateModel(), Initialize(), and updateData().
|
private |
Definition at line 80 of file ChartLinePanel.hxx.
Referenced by doUpdateModel(), modelInvalid(), and updateData().
|
private |
Definition at line 79 of file ChartLinePanel.hxx.
Referenced by setLineJoint(), setLineTransparency(), setLineWidth(), and updateData().
|
private |
Definition at line 73 of file ChartLinePanel.hxx.
Referenced by doUpdateModel(), and Initialize().
|
private |
Definition at line 72 of file ChartLinePanel.hxx.
Referenced by doUpdateModel(), Initialize(), setLineJoint(), setLineTransparency(), setLineWidth(), and updateData().
|
private |
Definition at line 74 of file ChartLinePanel.hxx.
Referenced by ChartLinePanel(), doUpdateModel(), and Initialize().