LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
NavElementToolBoxControl Class Reference
Inheritance diagram for NavElementToolBoxControl:
[legend]
Collaboration diagram for NavElementToolBoxControl:
[legend]

Public Member Functions

 NavElementToolBoxControl (const css::uno::Reference< css::uno::XComponentContext > &rServiceManager)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
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 > &Parent) override
 
void dispatchCommand (const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
- Public Member Functions inherited from svt::ToolboxController
 ToolboxController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &aCommandURL)
 
 ToolboxController ()
 
virtual ~ToolboxController () override
 
css::uno::Reference< css::frame::XFrame > getFrameInterface () const
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
css::uno::Reference< css::frame::XLayoutManager > getLayoutManager () const
 
void updateStatus (const OUString &aCommandURL)
 
void updateStatus ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void SAL_CALL update () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
const OUString & getCommandURL () const
 
const OUString & getModuleName () const
 
void dispatchCommand (const OUString &sCommandURL, const css::uno::Sequence< css::beans::PropertyValue > &rArgs, const OUString &rTarget=OUString())
 
void enable (bool bEnable)
 

Private Attributes

VclPtr< NavElementBox_Implm_pBox
 

Additional Inherited Members

- Protected Types inherited from svt::ToolboxController
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > URLToDispatchMap
 
- Protected Member Functions inherited from svt::ToolboxController
bool getToolboxId (sal_uInt16 &rItemId, ToolBox **ppToolBox)
 
 DECL_STATIC_LINK (ToolboxController, ExecuteHdl_Impl, void *, void)
 
void addStatusListener (const OUString &aCommandURL)
 
void removeStatusListener (const OUString &aCommandURL)
 
void bindListener ()
 
void unbindListener ()
 
bool isBound () const
 
const css::uno::Reference< css::util::XURLTransformer > & getURLTransformer () const
 
const css::uno::Reference< css::awt::XWindow > & getParent () const
 
- Protected Attributes inherited from svt::ToolboxController
bool m_bInitialized
 
bool m_bDisposed
 
sal_uInt16 m_nToolBoxId
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_aCommandURL
 
URLToDispatchMap m_aListenerMap
 
::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer
 
css::uno::Reference< css::awt::XWindow > m_xParentWindow
 
css::uno::Reference< css::util::XURLTransformer > m_xUrlTransformer
 
OUString m_sModuleName
 

Detailed Description

Definition at line 663 of file workctrl.cxx.

Constructor & Destructor Documentation

NavElementToolBoxControl::NavElementToolBoxControl ( const css::uno::Reference< css::uno::XComponentContext > &  rServiceManager)
explicit

Definition at line 829 of file workctrl.cxx.

References Reference.

Member Function Documentation

void SAL_CALL NavElementToolBoxControl::acquire ( )
throw (
)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 847 of file workctrl.cxx.

void SAL_CALL NavElementToolBoxControl::click ( )
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 907 of file workctrl.cxx.

uno::Reference< awt::XWindow > SAL_CALL NavElementToolBoxControl::createItemWindow ( const css::uno::Reference< css::awt::XWindow > &  Parent)
overridevirtual
uno::Reference< awt::XWindow > SAL_CALL NavElementToolBoxControl::createPopupWindow ( )
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 915 of file workctrl.cxx.

void NavElementToolBoxControl::dispatchCommand ( const css::uno::Sequence< css::beans::PropertyValue > &  rArgs)
void SAL_CALL NavElementToolBoxControl::dispose ( void  )
overridevirtual
void SAL_CALL NavElementToolBoxControl::doubleClick ( )
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 911 of file workctrl.cxx.

void SAL_CALL NavElementToolBoxControl::execute ( sal_Int16  KeyModifier)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 903 of file workctrl.cxx.

OUString SAL_CALL NavElementToolBoxControl::getImplementationName ( )
overridevirtual

Definition at line 863 of file workctrl.cxx.

uno::Sequence< OUString > SAL_CALL NavElementToolBoxControl::getSupportedServiceNames ( )
overridevirtual

Definition at line 868 of file workctrl.cxx.

css::uno::Any SAL_CALL NavElementToolBoxControl::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 838 of file workctrl.cxx.

References uno::Any::hasValue().

void SAL_CALL NavElementToolBoxControl::release ( )
throw (
)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 852 of file workctrl.cxx.

void SAL_CALL NavElementToolBoxControl::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual
sal_Bool SAL_CALL NavElementToolBoxControl::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 858 of file workctrl.cxx.

References cppu::supportsService().

Member Data Documentation

VclPtr<NavElementBox_Impl> NavElementToolBoxControl::m_pBox
private

Definition at line 697 of file workctrl.cxx.

Referenced by createItemWindow(), dispose(), and statusChanged().


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