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

#include <ChartAreaPanel.hxx>

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

Public Member Functions

 ChartAreaPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, ChartController *pController)
 
virtual ~ChartAreaPanel () override
 
virtual void setFillTransparence (const XFillTransparenceItem &rItem) override
 
virtual void setFillFloatTransparence (const XFillFloatTransparenceItem &rItem) override
 
virtual void setFillStyle (const XFillStyleItem &rItem) override
 
virtual void setFillStyleAndColor (const XFillStyleItem *pStyleItem, const XFillColorItem &rColorItem) override
 
virtual void setFillStyleAndGradient (const XFillStyleItem *pStyleItem, const XFillGradientItem &rGradientItem) override
 
virtual void setFillStyleAndHatch (const XFillStyleItem *pStyleItem, const XFillHatchItem &rHatchItem) override
 
virtual void setFillStyleAndBitmap (const XFillStyleItem *pStyleItem, const XFillBitmapItem &rBitmapItem) override
 
virtual void setFillUseBackground (const XFillStyleItem *pStyleItem, const XFillUseSlideBackgroundItem &rItem) 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
 
- Public Member Functions inherited from svx::sidebar::AreaPropertyPanelBase
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) override
 
const basegfx::BGradientGetGradient (const css::awt::GradientStyle eStyle) const
 
void SetGradient (const basegfx::BGradient &rGradient)
 
sal_Int32 GetSelectedTransparencyTypeIndex () const
 
 AreaPropertyPanelBase (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
 
virtual ~AreaPropertyPanelBase () override
 
virtual void setFillTransparence (const XFillTransparenceItem &rItem)=0
 
virtual void setFillFloatTransparence (const XFillFloatTransparenceItem &rItem)=0
 
virtual void setFillStyle (const XFillStyleItem &rItem)=0
 
virtual void setFillStyleAndColor (const XFillStyleItem *pStyleItem, const XFillColorItem &aColorItem)=0
 
virtual void setFillStyleAndGradient (const XFillStyleItem *pStyleItem, const XFillGradientItem &aGradientItem)=0
 
virtual void setFillStyleAndHatch (const XFillStyleItem *pStyleItem, const XFillHatchItem &aHatchItem)=0
 
virtual void setFillStyleAndBitmap (const XFillStyleItem *pStyleItem, const XFillBitmapItem &aHatchItem)=0
 
virtual void setFillUseBackground (const XFillStyleItem *pStyleItem, const XFillUseSlideBackgroundItem &rItem)=0
 
void updateFillTransparence (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillFloatTransparence (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillStyle (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillGradient (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillHatch (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillColor (bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillBitmap (bool BDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillUseBackground (bool BDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
- 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)
 

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 maFillColorWrapper
 

Additional Inherited Members

- Static Public Attributes inherited from svx::sidebar::AreaPropertyPanelBase
static const sal_Int32 DEFAULT_CENTERX
 
static const sal_Int32 DEFAULT_CENTERY
 
static const sal_Int32 DEFAULT_ANGLE
 
static const sal_Int32 DEFAULT_STARTVALUE
 
static const sal_Int32 DEFAULT_ENDVALUE
 
static const sal_Int32 DEFAULT_BORDER
 
- Protected Member Functions inherited from svx::sidebar::AreaPropertyPanelBase
 DECL_DLLPRIVATE_LINK (SelectFillTypeHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (SelectFillAttrHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (SelectFillColorHdl, ColorListBox &, void)
 
 DECL_DLLPRIVATE_LINK (ChangeGradientAngle, weld::MetricSpinButton &, void)
 
 DECL_DLLPRIVATE_LINK (ChangeTrgrTypeHdl_Impl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (ModifyTransparentHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_DLLPRIVATE_LINK (ModifyTransSliderHdl, weld::Scale &, void)
 
 DECL_DLLPRIVATE_LINK (ClickImportBitmapHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (ToolbarHdl_Impl, const OUString &, void)
 
void ImpUpdateTransparencies ()
 
void SetTransparency (sal_uInt16 nVal)
 
void SelectFillAttrHdl_Impl ()
 
void FillStyleChanged (bool bUpdateModel)
 
basegfx::BColorStops createColorStops ()
 
- Protected Attributes inherited from svx::sidebar::AreaPropertyPanelBase
const css::uno::Reference< css::frame::XFrame > & mxFrame
 
sal_uInt16 meLastXFS
 
sal_Int32 mnLastPosHatch
 
sal_Int32 mnLastPosBitmap
 
sal_Int32 mnLastPosPattern
 
sal_uInt16 mnLastTransSolid
 
basegfx::BGradient maGradientLinear
 
basegfx::BGradient maGradientAxial
 
basegfx::BGradient maGradientRadial
 
basegfx::BGradient maGradientElliptical
 
basegfx::BGradient maGradientSquare
 
basegfx::BGradient maGradientRect
 
std::unique_ptr< weld::LabelmxColorTextFT
 
std::unique_ptr< weld::ComboBoxmxLbFillType
 
std::unique_ptr< weld::ComboBoxmxLbFillAttr
 
std::unique_ptr< ColorListBoxmxLbFillGradFrom
 
std::unique_ptr< ColorListBoxmxLbFillGradTo
 
std::unique_ptr< weld::ToolbarmxToolBoxColor
 
std::unique_ptr< ToolbarUnoDispatchermxColorDispatch
 
std::unique_ptr< weld::LabelmxTrspTextFT
 
std::unique_ptr< weld::ComboBoxmxLBTransType
 
std::unique_ptr< weld::MetricSpinButtonmxMTRTransparent
 
std::unique_ptr< weld::ScalemxSldTransparent
 
std::unique_ptr< weld::ToolbarmxBTNGradient
 
std::unique_ptr< weld::MetricSpinButtonmxMTRAngle
 
std::unique_ptr< weld::ComboBoxmxGradientStyle
 
std::unique_ptr< weld::ButtonmxBmpImport
 
std::unique_ptr< AreaTransparencyGradientPopupmxTrGrPopup
 
std::unique_ptr< XFillStyleItemmpStyleItem
 
std::unique_ptr< XFillColorItemmpColorItem
 
std::unique_ptr< XFillGradientItemmpFillGradientItem
 
std::unique_ptr< XFillHatchItemmpHatchItem
 
std::unique_ptr< XFillBitmapItemmpBitmapItem
 
OUString maImgAxial
 
OUString maImgElli
 
OUString maImgQuad
 
OUString maImgRadial
 
OUString maImgSquare
 
OUString maImgLinear
 
std::unique_ptr< XFillFloatTransparenceItemmpFloatTransparenceItem
 
std::unique_ptr< SfxUInt16ItemmpTransparenceItem
 
basegfx::BColorStops maColorStops
 

Detailed Description

Definition at line 34 of file ChartAreaPanel.hxx.

Constructor & Destructor Documentation

◆ ChartAreaPanel()

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

◆ ~ChartAreaPanel()

chart::sidebar::ChartAreaPanel::~ChartAreaPanel ( )
overridevirtual

Definition at line 290 of file ChartAreaPanel.cxx.

References doUpdateModel().

Member Function Documentation

◆ Create()

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

◆ doUpdateModel()

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

Definition at line 515 of file ChartAreaPanel.cxx.

References mbModelValid, mxListener, mxModel, mxSelectionListener, and xModel.

Referenced by updateModel(), and ~ChartAreaPanel().

◆ Initialize()

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

◆ modelInvalid()

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

Implements chart::sidebar::ChartSidebarModifyListenerParent.

Definition at line 504 of file ChartAreaPanel.cxx.

References mbModelValid.

◆ selectionChanged()

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

Implements chart::sidebar::ChartSidebarSelectionListenerParent.

Definition at line 509 of file ChartAreaPanel.cxx.

References updateData().

◆ setFillFloatTransparence()

void chart::sidebar::ChartAreaPanel::setFillFloatTransparence ( const XFillFloatTransparenceItem rItem)
overridevirtual

◆ setFillStyle()

void chart::sidebar::ChartAreaPanel::setFillStyle ( const XFillStyleItem rItem)
overridevirtual

Implements svx::sidebar::AreaPropertyPanelBase.

Definition at line 340 of file ChartAreaPanel.cxx.

References mbUpdate, and mxModel.

Referenced by setFillUseBackground().

◆ setFillStyleAndBitmap()

void chart::sidebar::ChartAreaPanel::setFillStyleAndBitmap ( const XFillStyleItem pStyleItem,
const XFillBitmapItem rBitmapItem 
)
overridevirtual

◆ setFillStyleAndColor()

void chart::sidebar::ChartAreaPanel::setFillStyleAndColor ( const XFillStyleItem pStyleItem,
const XFillColorItem rColorItem 
)
overridevirtual

Implements svx::sidebar::AreaPropertyPanelBase.

Definition at line 350 of file ChartAreaPanel.cxx.

References mxModel.

◆ setFillStyleAndGradient()

void chart::sidebar::ChartAreaPanel::setFillStyleAndGradient ( const XFillStyleItem pStyleItem,
const XFillGradientItem rGradientItem 
)
overridevirtual

◆ setFillStyleAndHatch()

void chart::sidebar::ChartAreaPanel::setFillStyleAndHatch ( const XFillStyleItem pStyleItem,
const XFillHatchItem rHatchItem 
)
overridevirtual

Implements svx::sidebar::AreaPropertyPanelBase.

Definition at line 380 of file ChartAreaPanel.cxx.

References mbUpdate, and mxModel.

◆ setFillTransparence()

void chart::sidebar::ChartAreaPanel::setFillTransparence ( const XFillTransparenceItem rItem)
overridevirtual

Implements svx::sidebar::AreaPropertyPanelBase.

Definition at line 309 of file ChartAreaPanel.cxx.

References mbUpdate, and mxModel.

◆ setFillUseBackground()

void chart::sidebar::ChartAreaPanel::setFillUseBackground ( const XFillStyleItem pStyleItem,
const XFillUseSlideBackgroundItem rItem 
)
overridevirtual

Implements svx::sidebar::AreaPropertyPanelBase.

Definition at line 411 of file ChartAreaPanel.cxx.

References setFillStyle().

◆ updateData()

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

◆ updateModel()

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

Definition at line 541 of file ChartAreaPanel.cxx.

References doUpdateModel(), and xModel.

Member Data Documentation

◆ maFillColorWrapper

ChartColorWrapper chart::sidebar::ChartAreaPanel::maFillColorWrapper
private

Definition at line 81 of file ChartAreaPanel.hxx.

Referenced by Initialize(), and updateData().

◆ mbModelValid

bool chart::sidebar::ChartAreaPanel::mbModelValid
private

Definition at line 79 of file ChartAreaPanel.hxx.

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

◆ mbUpdate

bool chart::sidebar::ChartAreaPanel::mbUpdate
private

◆ mxListener

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

Definition at line 72 of file ChartAreaPanel.hxx.

Referenced by doUpdateModel(), and Initialize().

◆ mxModel

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

◆ mxSelectionListener

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

Definition at line 73 of file ChartAreaPanel.hxx.

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


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