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

#include <AreaPropertyPanel.hxx>

Inheritance diagram for svx::sidebar::AreaPropertyPanel:
[legend]
Collaboration diagram for svx::sidebar::AreaPropertyPanel:
[legend]

Public Member Functions

SfxBindingsGetBindings ()
 
 AreaPropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~AreaPropertyPanel () override
 
virtual void setFillTransparence (const XFillTransparenceItem &rItem) override
 
virtual void setFillUseBackground (const XFillStyleItem *pStyleItem, const XFillUseSlideBackgroundItem &rItem) override
 
virtual void setFillFloatTransparence (const XFillFloatTransparenceItem &rItem) override
 
virtual void setFillStyle (const XFillStyleItem &rItem) override
 
virtual void setFillStyleAndColor (const XFillStyleItem *pStyleItem, const XFillColorItem &aColorItem) override
 
virtual void setFillStyleAndGradient (const XFillStyleItem *pStyleItem, const XFillGradientItem &aGradientItem) override
 
virtual void setFillStyleAndHatch (const XFillStyleItem *pStyleItem, const XFillHatchItem &aHatchItem) override
 
virtual void setFillStyleAndBitmap (const XFillStyleItem *pStyleItem, const XFillBitmapItem &aHatchItem) 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 PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 

Private Attributes

::sfx2::sidebar::ControllerItem maStyleControl
 
::sfx2::sidebar::ControllerItem maColorControl
 
::sfx2::sidebar::ControllerItem maGradientControl
 
::sfx2::sidebar::ControllerItem maHatchControl
 
::sfx2::sidebar::ControllerItem maBitmapControl
 
::sfx2::sidebar::ControllerItem maGradientListControl
 
::sfx2::sidebar::ControllerItem maHatchListControl
 
::sfx2::sidebar::ControllerItem maBitmapListControl
 
::sfx2::sidebar::ControllerItem maPatternListControl
 
::sfx2::sidebar::ControllerItem maFillTransparenceController
 
::sfx2::sidebar::ControllerItem maFillFloatTransparenceController
 
::sfx2::sidebar::ControllerItem maFillUseSlideBackgroundController
 
SfxBindingsmpBindings
 

Additional Inherited Members

- Static Public Attributes inherited from svx::sidebar::AreaPropertyPanelBase
static const sal_Int32 DEFAULT_CENTERX = 50
 
static const sal_Int32 DEFAULT_CENTERY = 50
 
static const sal_Int32 DEFAULT_ANGLE = 0
 
static const sal_Int32 DEFAULT_STARTVALUE = 0
 
static const sal_Int32 DEFAULT_ENDVALUE = 16777215
 
static const sal_Int32 DEFAULT_BORDER = 0
 
- 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 Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- 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
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 44 of file AreaPropertyPanel.hxx.

Constructor & Destructor Documentation

◆ AreaPropertyPanel()

svx::sidebar::AreaPropertyPanel::AreaPropertyPanel ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)

Definition at line 33 of file AreaPropertyPanel.cxx.

◆ ~AreaPropertyPanel()

svx::sidebar::AreaPropertyPanel::~AreaPropertyPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::AreaPropertyPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 69 of file AreaPropertyPanel.cxx.

◆ GetBindings()

SfxBindings * svx::sidebar::AreaPropertyPanel::GetBindings ( )
inline

◆ setFillFloatTransparence()

void svx::sidebar::AreaPropertyPanel::setFillFloatTransparence ( const XFillFloatTransparenceItem rItem)
overridevirtual

◆ setFillStyle()

void svx::sidebar::AreaPropertyPanel::setFillStyle ( const XFillStyleItem rItem)
overridevirtual

◆ setFillStyleAndBitmap()

void svx::sidebar::AreaPropertyPanel::setFillStyleAndBitmap ( const XFillStyleItem pStyleItem,
const XFillBitmapItem aHatchItem 
)
overridevirtual

◆ setFillStyleAndColor()

void svx::sidebar::AreaPropertyPanel::setFillStyleAndColor ( const XFillStyleItem pStyleItem,
const XFillColorItem aColorItem 
)
overridevirtual

◆ setFillStyleAndGradient()

void svx::sidebar::AreaPropertyPanel::setFillStyleAndGradient ( const XFillStyleItem pStyleItem,
const XFillGradientItem aGradientItem 
)
overridevirtual

◆ setFillStyleAndHatch()

void svx::sidebar::AreaPropertyPanel::setFillStyleAndHatch ( const XFillStyleItem pStyleItem,
const XFillHatchItem aHatchItem 
)
overridevirtual

◆ setFillTransparence()

void svx::sidebar::AreaPropertyPanel::setFillTransparence ( const XFillTransparenceItem rItem)
overridevirtual

◆ setFillUseBackground()

void svx::sidebar::AreaPropertyPanel::setFillUseBackground ( const XFillStyleItem pStyleItem,
const XFillUseSlideBackgroundItem rItem 
)
overridevirtual

Member Data Documentation

◆ maBitmapControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maBitmapControl
private

Definition at line 76 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maBitmapListControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maBitmapListControl
private

Definition at line 79 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maColorControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maColorControl
private

Definition at line 73 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maFillFloatTransparenceController

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maFillFloatTransparenceController
private

Definition at line 82 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maFillTransparenceController

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maFillTransparenceController
private

Definition at line 81 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maFillUseSlideBackgroundController

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maFillUseSlideBackgroundController
private

Definition at line 83 of file AreaPropertyPanel.hxx.

◆ maGradientControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maGradientControl
private

Definition at line 74 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maGradientListControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maGradientListControl
private

Definition at line 77 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maHatchControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maHatchControl
private

Definition at line 75 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maHatchListControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maHatchListControl
private

Definition at line 78 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maPatternListControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maPatternListControl
private

Definition at line 80 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ maStyleControl

::sfx2::sidebar::ControllerItem svx::sidebar::AreaPropertyPanel::maStyleControl
private

Definition at line 72 of file AreaPropertyPanel.hxx.

Referenced by ~AreaPropertyPanel().

◆ mpBindings

SfxBindings* svx::sidebar::AreaPropertyPanel::mpBindings
private

Definition at line 85 of file AreaPropertyPanel.hxx.

Referenced by GetBindings().


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