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, sal_uInt16 nId, ToolBox &rTbx)
 
virtual ~SvxFillToolBoxControl () override
 
virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
void Update ()
 
virtual VclPtr< vcl::WindowCreateItemWindow (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, sal_uInt16 nId, ToolBox &rBox, bool bShowStrings=false)
 
virtual ~SfxToolBoxControl () override
 
ToolBoxGetToolBox () const
 
unsigned short GetId () const
 
unsigned short GetSlotId () const
 
void Dispatch (const OUString &aCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 

Private Member Functions

 DECL_LINK (SelectFillTypeHdl, ListBox &, void)
 
 DECL_LINK (SelectFillAttrHdl, ListBox &, void)
 

Private Attributes

std::unique_ptr< XFillStyleItemmpStyleItem
 
std::unique_ptr< XFillColorItemmpColorItem
 
std::unique_ptr< XFillGradientItemmpFillGradientItem
 
std::unique_ptr< XFillHatchItemmpHatchItem
 
std::unique_ptr< XFillBitmapItemmpBitmapItem
 
VclPtr< FillControlmpFillControl
 
VclPtr< SvxFillTypeBoxmpLbFillType
 
VclPtr< ToolBoxmpToolBoxColor
 
VclPtr< SvxFillAttrBoxmpLbFillAttr
 
css::drawing::FillStyle meLastXFS
 
sal_Int32 mnLastPosGradient
 
sal_Int32 mnLastPosHatch
 
sal_Int32 mnLastPosBitmap
 

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 SfxToolBoxControlCreateControl (sal_uInt16 nSlotId, sal_uInt16 nTbxId, ToolBox *pBox, SfxModule const *pMod)
 
static void RegisterToolBoxControl (SfxModule *, const SfxTbxCtrlFactory &)
 
- Protected Member Functions inherited from SfxToolBoxControl
 DECL_LINK (PopupModeEndHdl, FloatingWindow *, void)
 
 DECL_LINK (ClosePopupWindow, SfxPopupWindow *, void)
 
virtual void Select (sal_uInt16 nSelectModifier)
 
virtual void DoubleClick ()
 
virtual void Click ()
 
virtual VclPtr< SfxPopupWindowCreatePopupWindow ()
 
void SetPopupWindow (SfxPopupWindow *pWindow)
 

Detailed Description

Definition at line 44 of file fillctrl.hxx.

Constructor & Destructor Documentation

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

Definition at line 56 of file fillctrl.cxx.

References FillStyle.

SvxFillToolBoxControl::~SvxFillToolBoxControl ( )
overridevirtual

Definition at line 84 of file fillctrl.cxx.

Member Function Documentation

VclPtr< vcl::Window > SvxFillToolBoxControl::CreateItemWindow ( vcl::Window pParent)
overridevirtual
SvxFillToolBoxControl::DECL_LINK ( SelectFillTypeHdl  ,
ListBox ,
void   
)
private
SvxFillToolBoxControl::DECL_LINK ( SelectFillAttrHdl  ,
ListBox ,
void   
)
private
SvxFillToolBoxControl::SFX_DECL_TOOLBOX_CONTROL ( )
void SvxFillToolBoxControl::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void SvxFillToolBoxControl::Update ( )

Member Data Documentation

css::drawing::FillStyle SvxFillToolBoxControl::meLastXFS
private

Definition at line 58 of file fillctrl.hxx.

Referenced by StateChanged().

sal_Int32 SvxFillToolBoxControl::mnLastPosBitmap
private

Definition at line 61 of file fillctrl.hxx.

sal_Int32 SvxFillToolBoxControl::mnLastPosGradient
private

Definition at line 59 of file fillctrl.hxx.

sal_Int32 SvxFillToolBoxControl::mnLastPosHatch
private

Definition at line 60 of file fillctrl.hxx.

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

Definition at line 51 of file fillctrl.hxx.

Referenced by StateChanged(), and Update().

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

Definition at line 48 of file fillctrl.hxx.

Referenced by StateChanged(), and Update().

VclPtr<FillControl> SvxFillToolBoxControl::mpFillControl
private

Definition at line 53 of file fillctrl.hxx.

Referenced by CreateItemWindow().

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

Definition at line 49 of file fillctrl.hxx.

Referenced by StateChanged(), and Update().

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

Definition at line 50 of file fillctrl.hxx.

Referenced by StateChanged(), and Update().

VclPtr<SvxFillAttrBox> SvxFillToolBoxControl::mpLbFillAttr
private

Definition at line 56 of file fillctrl.hxx.

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

VclPtr<SvxFillTypeBox> SvxFillToolBoxControl::mpLbFillType
private

Definition at line 54 of file fillctrl.hxx.

Referenced by CreateItemWindow(), and StateChanged().

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

Definition at line 47 of file fillctrl.hxx.

Referenced by StateChanged(), and Update().

VclPtr<ToolBox> SvxFillToolBoxControl::mpToolBoxColor
private

Definition at line 55 of file fillctrl.hxx.

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


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