LibreOffice Module chart2 (master) 1
|
#include <ChartAreaPanel.hxx>
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::BGradient & | GetGradient (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< PanelLayout > | Create (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< ChartSidebarSelectionListener > | mxSelectionListener |
bool | mbUpdate |
bool | mbModelValid |
ChartColorWrapper | maFillColorWrapper |
Definition at line 34 of file ChartAreaPanel.hxx.
chart::sidebar::ChartAreaPanel::ChartAreaPanel | ( | weld::Widget * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame, | ||
ChartController * | pController | ||
) |
Definition at line 272 of file ChartAreaPanel.cxx.
References Initialize(), mxListener, mxModel, mxSelectionListener, 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 290 of file ChartAreaPanel.cxx.
References doUpdateModel().
|
static |
Definition at line 259 of file ChartAreaPanel.cxx.
Referenced by chart::sidebar::ChartPanelFactory::createUIElement().
|
private |
Definition at line 515 of file ChartAreaPanel.cxx.
References mbModelValid, mxListener, mxModel, mxSelectionListener, and xModel.
Referenced by updateModel(), and ~ChartAreaPanel().
|
private |
Definition at line 295 of file ChartAreaPanel.cxx.
References maFillColorWrapper, svx::sidebar::AreaPropertyPanelBase::mxColorDispatch, mxListener, mxModel, mxSelectionListener, SvxColorToolBoxControl::setColorSelectFunction(), and updateData().
Referenced by ChartAreaPanel().
|
overridevirtual |
Implements chart::sidebar::ChartSidebarModifyListenerParent.
Definition at line 504 of file ChartAreaPanel.cxx.
References mbModelValid.
|
overridevirtual |
Implements chart::sidebar::ChartSidebarSelectionListenerParent.
Definition at line 509 of file ChartAreaPanel.cxx.
References updateData().
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 319 of file ChartAreaPanel.cxx.
References chart::PropertyHelper::addTransparencyGradientUniqueNameToTable(), aName, NameOrIndex::GetName(), XFillFloatTransparenceItem::IsEnabled(), mbUpdate, MID_FILLGRADIENT, mxModel, and XFillFloatTransparenceItem::QueryValue().
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 340 of file ChartAreaPanel.cxx.
References mbUpdate, and mxModel.
Referenced by setFillUseBackground().
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 393 of file ChartAreaPanel.cxx.
References chart::PropertyHelper::addBitmapUniqueNameToTable(), NameOrIndex::GetName(), mbUpdate, MID_BITMAP, mxModel, and XFillBitmapItem::QueryValue().
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 350 of file ChartAreaPanel.cxx.
References mxModel.
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 362 of file ChartAreaPanel.cxx.
References chart::PropertyHelper::addGradientUniqueNameToTable(), aName, NameOrIndex::GetName(), mbUpdate, MID_FILLGRADIENT, mxModel, and XFillGradientItem::QueryValue().
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 380 of file ChartAreaPanel.cxx.
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 309 of file ChartAreaPanel.cxx.
|
overridevirtual |
Implements svx::sidebar::AreaPropertyPanelBase.
Definition at line 411 of file ChartAreaPanel.cxx.
References setFillStyle().
|
overridevirtual |
Implements chart::sidebar::ChartSidebarModifyListenerParent.
Definition at line 417 of file ChartAreaPanel.cxx.
References XFillBitmapItem::checkForUniqueItem(), ColorTransparency, chart::DrawModelWrapper::getSdrModel(), maFillColorWrapper, mbModelValid, mbUpdate, mxModel, chart::sidebar::ChartColorWrapper::updateData(), svx::sidebar::AreaPropertyPanelBase::updateFillBitmap(), svx::sidebar::AreaPropertyPanelBase::updateFillColor(), svx::sidebar::AreaPropertyPanelBase::updateFillFloatTransparence(), svx::sidebar::AreaPropertyPanelBase::updateFillGradient(), svx::sidebar::AreaPropertyPanelBase::updateFillHatch(), svx::sidebar::AreaPropertyPanelBase::updateFillStyle(), and svx::sidebar::AreaPropertyPanelBase::updateFillTransparence().
Referenced by Initialize(), and selectionChanged().
|
overridevirtual |
Definition at line 541 of file ChartAreaPanel.cxx.
References doUpdateModel(), and xModel.
|
private |
Definition at line 81 of file ChartAreaPanel.hxx.
Referenced by Initialize(), and updateData().
|
private |
Definition at line 79 of file ChartAreaPanel.hxx.
Referenced by doUpdateModel(), modelInvalid(), and updateData().
|
private |
Definition at line 78 of file ChartAreaPanel.hxx.
Referenced by setFillFloatTransparence(), setFillStyle(), setFillStyleAndBitmap(), setFillStyleAndGradient(), setFillStyleAndHatch(), setFillTransparence(), and updateData().
|
private |
Definition at line 72 of file ChartAreaPanel.hxx.
Referenced by doUpdateModel(), and Initialize().
|
private |
Definition at line 71 of file ChartAreaPanel.hxx.
Referenced by doUpdateModel(), Initialize(), setFillFloatTransparence(), setFillStyle(), setFillStyleAndBitmap(), setFillStyleAndColor(), setFillStyleAndGradient(), setFillStyleAndHatch(), setFillTransparence(), and updateData().
|
private |
Definition at line 73 of file ChartAreaPanel.hxx.
Referenced by ChartAreaPanel(), doUpdateModel(), and Initialize().