LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxFillToolBoxControl Class Referencefinal

#include <fillctrl.hxx>

Inheritance diagram for SvxFillToolBoxControl:
[legend]
Collaboration diagram for SvxFillToolBoxControl:
[legend]

Public Member Functions

 SFX_DECL_TOOLBOX_CONTROL ()
 
 SvxFillToolBoxControl (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
 
virtual ~SvxFillToolBoxControl () override
 
virtual void StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
void Update ()
 
virtual VclPtr< InterimItemWindowCreateItemWindow (vcl::Window *pParent) override
 
- Public Member Functions inherited from SfxToolBoxControl
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL execute (sal_Int16 KeyModifier) override
 
virtual void SAL_CALL click () override
 
virtual void SAL_CALL doubleClick () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow (const css::uno::Reference< css::awt::XWindow > &rParent) override
 
 SFX_DECL_TOOLBOX_CONTROL ()
 
 SfxToolBoxControl (sal_uInt16 nSlotID, ToolBoxItemId nId, ToolBox &rBox, bool bShowStrings=false)
 
virtual ~SfxToolBoxControl () override
 
ToolBoxGetToolBox () const
 
ToolBoxItemId GetId () const
 
unsigned short GetSlotId () const
 
void Dispatch (const OUString &aCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (SelectFillTypeHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (SelectFillAttrHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< XFillStyleItemmpStyleItem
 
std::unique_ptr< XFillColorItemmpColorItem
 
std::unique_ptr< XFillGradientItemmpFillGradientItem
 
std::unique_ptr< XFillHatchItemmpHatchItem
 
std::unique_ptr< XFillBitmapItemmpBitmapItem
 
VclPtr< FillControlmxFillControl
 
weld::ComboBoxmpLbFillType
 
weld::ToolbarmpToolBoxColor
 
weld::ComboBoxmpLbFillAttr
 
sal_Int32 mnLastXFS
 
sal_Int32 mnLastPosGradient
 
sal_Int32 mnLastPosHatch
 
sal_Int32 mnLastPosBitmap
 
sal_Int32 mnLastPosPattern
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxToolBoxControl
static void Dispatch (const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, const OUString &rCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 
static SfxItemState GetItemState (const SfxPoolItem *pState)
 
static rtl::Reference< SfxToolBoxControlCreateControl (sal_uInt16 nSlotId, ToolBoxItemId nTbxId, ToolBox *pBox, SfxModule const *pMod)
 
static void RegisterToolBoxControl (SfxModule *, const SfxTbxCtrlFactory &)
 
- Protected Member Functions inherited from SfxToolBoxControl
virtual void StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState)
 
virtual void Select (sal_uInt16 nSelectModifier)
 
virtual void DoubleClick ()
 
virtual void Click ()
 
virtual void CreatePopupWindow ()
 
virtual VclPtr< InterimItemWindowCreateItemWindow (vcl::Window *pParent)
 

Detailed Description

Definition at line 42 of file fillctrl.hxx.

Constructor & Destructor Documentation

◆ SvxFillToolBoxControl()

SvxFillToolBoxControl::SvxFillToolBoxControl ( sal_uInt16  nSlotId,
ToolBoxItemId  nId,
ToolBox rTbx 
)

Definition at line 77 of file fillctrl.cxx.

References nId.

◆ ~SvxFillToolBoxControl()

SvxFillToolBoxControl::~SvxFillToolBoxControl ( )
overridevirtual

Definition at line 102 of file fillctrl.cxx.

Member Function Documentation

◆ CreateItemWindow()

VclPtr< InterimItemWindow > SvxFillToolBoxControl::CreateItemWindow ( vcl::Window pParent)
overridevirtual

◆ DECL_DLLPRIVATE_LINK() [1/2]

SvxFillToolBoxControl::DECL_DLLPRIVATE_LINK ( SelectFillAttrHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/2]

SvxFillToolBoxControl::DECL_DLLPRIVATE_LINK ( SelectFillTypeHdl  ,
weld::ComboBox ,
void   
)
private

◆ SFX_DECL_TOOLBOX_CONTROL()

SvxFillToolBoxControl::SFX_DECL_TOOLBOX_CONTROL ( )

References Update.

◆ StateChangedAtToolBoxControl()

void SvxFillToolBoxControl::StateChangedAtToolBoxControl ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ Update()

void SvxFillToolBoxControl::Update ( )

Member Data Documentation

◆ mnLastPosBitmap

sal_Int32 SvxFillToolBoxControl::mnLastPosBitmap
private

Definition at line 59 of file fillctrl.hxx.

◆ mnLastPosGradient

sal_Int32 SvxFillToolBoxControl::mnLastPosGradient
private

Definition at line 57 of file fillctrl.hxx.

◆ mnLastPosHatch

sal_Int32 SvxFillToolBoxControl::mnLastPosHatch
private

Definition at line 58 of file fillctrl.hxx.

◆ mnLastPosPattern

sal_Int32 SvxFillToolBoxControl::mnLastPosPattern
private

Definition at line 60 of file fillctrl.hxx.

◆ mnLastXFS

sal_Int32 SvxFillToolBoxControl::mnLastXFS
private

Definition at line 56 of file fillctrl.hxx.

Referenced by StateChangedAtToolBoxControl(), and Update().

◆ mpBitmapItem

std::unique_ptr< XFillBitmapItem > SvxFillToolBoxControl::mpBitmapItem
private

Definition at line 49 of file fillctrl.hxx.

Referenced by StateChangedAtToolBoxControl(), and Update().

◆ mpColorItem

std::unique_ptr< XFillColorItem > SvxFillToolBoxControl::mpColorItem
private

Definition at line 46 of file fillctrl.hxx.

Referenced by StateChangedAtToolBoxControl(), and Update().

◆ mpFillGradientItem

std::unique_ptr< XFillGradientItem > SvxFillToolBoxControl::mpFillGradientItem
private

Definition at line 47 of file fillctrl.hxx.

Referenced by StateChangedAtToolBoxControl(), and Update().

◆ mpHatchItem

std::unique_ptr< XFillHatchItem > SvxFillToolBoxControl::mpHatchItem
private

Definition at line 48 of file fillctrl.hxx.

Referenced by StateChangedAtToolBoxControl(), and Update().

◆ mpLbFillAttr

weld::ComboBox* SvxFillToolBoxControl::mpLbFillAttr
private

Definition at line 54 of file fillctrl.hxx.

Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().

◆ mpLbFillType

weld::ComboBox* SvxFillToolBoxControl::mpLbFillType
private

Definition at line 52 of file fillctrl.hxx.

Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().

◆ mpStyleItem

std::unique_ptr< XFillStyleItem > SvxFillToolBoxControl::mpStyleItem
private

Definition at line 45 of file fillctrl.hxx.

Referenced by StateChangedAtToolBoxControl(), and Update().

◆ mpToolBoxColor

weld::Toolbar* SvxFillToolBoxControl::mpToolBoxColor
private

Definition at line 53 of file fillctrl.hxx.

Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().

◆ mxFillControl

VclPtr<FillControl> SvxFillToolBoxControl::mxFillControl
private

Definition at line 51 of file fillctrl.hxx.

Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().


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