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

#include <tbcontrl.hxx>

Inheritance diagram for SvxStyleToolBoxControl:
Collaboration diagram for SvxStyleToolBoxControl:


struct  Impl

Public Member Functions

 SvxStyleToolBoxControl (sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rToolBox)
virtual ~SvxStyleToolBoxControl () override
virtual VclPtr< vcl::WindowCreateItemWindow (vcl::Window *pParent) override
virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 DECL_LINK (VisibilityNotification, SvxStyleBox_Impl &, void)
- Public Member Functions inherited from SfxToolBoxControl
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
 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

virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual void SAL_CALL update () override
virtual void SAL_CALL dispose () override
SVX_DLLPRIVATE void Update ()
SVX_DLLPRIVATE void FillStyleBox ()
SVX_DLLPRIVATE void SelectStyle (const OUString &rStyleName)
SVX_DLLPRIVATE void SetFamilyState (sal_uInt16 nIdx, const SfxTemplateItem *pItem)
SVX_DLLPRIVATE SfxStyleFamily GetActFamily () const

Private Attributes

std::unique_ptr< ImplpImpl
SfxStyleControllerItem_ImplpBoundItems [MAX_FAMILIES]
css::uno::Reference< css::lang::XComponent > m_xBoundItems [MAX_FAMILIES]
std::unique_ptr< SfxTemplateItempFamilyState [MAX_FAMILIES]
sal_uInt16 nActFamily


class SfxStyleControllerItem_Impl

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
virtual void Select (sal_uInt16 nSelectModifier)
virtual void DoubleClick ()
virtual void Click ()
virtual void CreatePopupWindow ()

Detailed Description

Definition at line 156 of file tbcontrl.hxx.

Constructor & Destructor Documentation

SvxStyleToolBoxControl::SvxStyleToolBoxControl ( sal_uInt16  nSlotId,
sal_uInt16  nId,
ToolBox rToolBox 

Definition at line 2819 of file tbcontrl.cxx.

References m_xBoundItems, MAX_FAMILIES, pBoundItems, and pFamilyState.

SvxStyleToolBoxControl::~SvxStyleToolBoxControl ( )

Definition at line 2834 of file tbcontrl.cxx.

Member Function Documentation

VclPtr< vcl::Window > SvxStyleToolBoxControl::CreateItemWindow ( vcl::Window pParent)
SvxStyleToolBoxControl::DECL_LINK ( VisibilityNotification  ,
SvxStyleBox_Impl ,
void SAL_CALL SvxStyleToolBoxControl::dispose ( void  )
void SvxStyleToolBoxControl::FillStyleBox ( )
SfxStyleFamily SvxStyleToolBoxControl::GetActFamily ( ) const

Definition at line 2900 of file tbcontrl.cxx.

References nActFamily.

Referenced by FillStyleBox().

void SAL_CALL SvxStyleToolBoxControl::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
void SvxStyleToolBoxControl::SelectStyle ( const OUString &  rStyleName)
void SvxStyleToolBoxControl::SetFamilyState ( sal_uInt16  nIdx,
const SfxTemplateItem pItem 

Definition at line 3089 of file tbcontrl.cxx.

References pFamilyState, and Update().

Referenced by SfxStyleControllerItem_Impl::StateChanged().

SvxStyleToolBoxControl::SFX_DECL_TOOLBOX_CONTROL ( )
void SvxStyleToolBoxControl::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
void SAL_CALL SvxStyleToolBoxControl::update ( )
void SvxStyleToolBoxControl::Update ( )

Friends And Related Function Documentation

friend class SfxStyleControllerItem_Impl

Definition at line 196 of file tbcontrl.hxx.

Referenced by initialize().

Member Data Documentation

css::uno::Reference<css::lang::XComponent> SvxStyleToolBoxControl::m_xBoundItems[MAX_FAMILIES]

Definition at line 188 of file tbcontrl.hxx.

Referenced by dispose(), initialize(), and SvxStyleToolBoxControl().

sal_uInt16 SvxStyleToolBoxControl::nActFamily

Definition at line 190 of file tbcontrl.hxx.

Referenced by FillStyleBox(), GetActFamily(), and Update().

SfxStyleControllerItem_Impl* SvxStyleToolBoxControl::pBoundItems[MAX_FAMILIES]

Definition at line 187 of file tbcontrl.hxx.

Referenced by dispose(), initialize(), SvxStyleToolBoxControl(), and update().

std::unique_ptr<SfxTemplateItem> SvxStyleToolBoxControl::pFamilyState[MAX_FAMILIES]

Definition at line 189 of file tbcontrl.hxx.

Referenced by dispose(), initialize(), SetFamilyState(), SvxStyleToolBoxControl(), and Update().

std::unique_ptr<Impl> SvxStyleToolBoxControl::pImpl

Definition at line 158 of file tbcontrl.hxx.

Referenced by CreateItemWindow(), dispose(), FillStyleBox(), and initialize().

SfxStyleSheetBasePool* SvxStyleToolBoxControl::pStyleSheetPool

Definition at line 186 of file tbcontrl.hxx.

Referenced by dispose(), FillStyleBox(), and Update().

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