LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
chart::sidebar::ChartLinePanel Class Reference

#include <ChartLinePanel.hxx>

Inheritance diagram for chart::sidebar::ChartLinePanel:
[legend]
Collaboration diagram for chart::sidebar::ChartLinePanel:
[legend]

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< PanelLayoutCreate (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< ChartSidebarSelectionListenermxSelectionListener
 
bool mbUpdate
 
bool mbModelValid
 
ChartColorWrapper maLineColorWrapper
 
ChartLineStyleWrapper maLineStyleWrapper
 

Additional Inherited Members

- Protected Attributes inherited from svx::sidebar::LinePropertyPanelBase
std::unique_ptr< weld::ToolbarmxTBColor
 
std::unique_ptr< ToolbarUnoDispatchermxColorDispatch
 
std::unique_ptr< weld::ToolbarmxLineStyleTB
 
std::unique_ptr< ToolbarUnoDispatchermxLineStyleDispatch
 
sal_Int32 mnWidthCoreValue
 

Detailed Description

Definition at line 34 of file ChartLinePanel.hxx.

Constructor & Destructor Documentation

◆ ChartLinePanel()

chart::sidebar::ChartLinePanel::ChartLinePanel ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
ChartController pController 
)

◆ ~ChartLinePanel()

chart::sidebar::ChartLinePanel::~ChartLinePanel ( )
overridevirtual

Definition at line 141 of file ChartLinePanel.cxx.

References doUpdateModel().

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > chart::sidebar::ChartLinePanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
ChartController pController 
)
static

◆ doUpdateModel()

void chart::sidebar::ChartLinePanel::doUpdateModel ( rtl::Reference<::chart::ChartModel >  xModel)
private

◆ Initialize()

void chart::sidebar::ChartLinePanel::Initialize ( )
private

◆ modelInvalid()

void chart::sidebar::ChartLinePanel::modelInvalid ( )
overridevirtual

Implements chart::sidebar::ChartSidebarModifyListenerParent.

Definition at line 188 of file ChartLinePanel.cxx.

References mbModelValid.

◆ selectionChanged()

void chart::sidebar::ChartLinePanel::selectionChanged ( bool  bCorrectType)
overridevirtual

Implements chart::sidebar::ChartSidebarSelectionListenerParent.

Definition at line 193 of file ChartLinePanel.cxx.

References updateData().

◆ setLineCap()

void chart::sidebar::ChartLinePanel::setLineCap ( const XLineCapItem pItem)
overrideprotectedvirtual

Implements svx::sidebar::LinePropertyPanelBase.

Definition at line 248 of file ChartLinePanel.cxx.

◆ setLineJoint()

void chart::sidebar::ChartLinePanel::setLineJoint ( const XLineJointItem pItem)
overrideprotectedvirtual

Implements svx::sidebar::LinePropertyPanelBase.

Definition at line 235 of file ChartLinePanel.cxx.

References mbUpdate, and mxModel.

◆ setLineTransparency()

void chart::sidebar::ChartLinePanel::setLineTransparency ( const XLineTransparenceItem rItem)
overrideprotectedvirtual

Implements svx::sidebar::LinePropertyPanelBase.

Definition at line 252 of file ChartLinePanel.cxx.

References mbUpdate, and mxModel.

◆ setLineWidth()

void chart::sidebar::ChartLinePanel::setLineWidth ( const XLineWidthItem rItem)
overridevirtual

Implements svx::sidebar::LinePropertyPanelBase.

Definition at line 264 of file ChartLinePanel.cxx.

References mbUpdate, and mxModel.

◆ updateData()

void chart::sidebar::ChartLinePanel::updateData ( )
overridevirtual

◆ updateLineWidth()

void chart::sidebar::ChartLinePanel::updateLineWidth ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
overrideprotectedvirtual

◆ updateModel()

void chart::sidebar::ChartLinePanel::updateModel ( css::uno::Reference< css::frame::XModel >  xModel)
overridevirtual

Definition at line 228 of file ChartLinePanel.cxx.

References doUpdateModel(), and xModel.

Member Data Documentation

◆ maLineColorWrapper

ChartColorWrapper chart::sidebar::ChartLinePanel::maLineColorWrapper
private

Definition at line 81 of file ChartLinePanel.hxx.

Referenced by doUpdateModel(), Initialize(), and updateData().

◆ maLineStyleWrapper

ChartLineStyleWrapper chart::sidebar::ChartLinePanel::maLineStyleWrapper
private

Definition at line 82 of file ChartLinePanel.hxx.

Referenced by doUpdateModel(), Initialize(), and updateData().

◆ mbModelValid

bool chart::sidebar::ChartLinePanel::mbModelValid
private

Definition at line 80 of file ChartLinePanel.hxx.

Referenced by doUpdateModel(), modelInvalid(), and updateData().

◆ mbUpdate

bool chart::sidebar::ChartLinePanel::mbUpdate
private

Definition at line 79 of file ChartLinePanel.hxx.

Referenced by setLineJoint(), setLineTransparency(), setLineWidth(), and updateData().

◆ mxListener

css::uno::Reference<css::util::XModifyListener> chart::sidebar::ChartLinePanel::mxListener
private

Definition at line 73 of file ChartLinePanel.hxx.

Referenced by doUpdateModel(), and Initialize().

◆ mxModel

rtl::Reference<::chart::ChartModel> chart::sidebar::ChartLinePanel::mxModel
private

◆ mxSelectionListener

rtl::Reference<ChartSidebarSelectionListener> chart::sidebar::ChartLinePanel::mxSelectionListener
private

Definition at line 74 of file ChartLinePanel.hxx.

Referenced by ChartLinePanel(), doUpdateModel(), and Initialize().


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