LibreOffice Module vbahelper (master) 1
Public Member Functions | Private Attributes | List of all members
VbaDummyCommandBar Class Reference

Dummy command bar implementation. More...

#include <vbacommandbar.hxx>

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

Public Member Functions

 VbaDummyCommandBar (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString aName)
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &_name) override
 
virtual sal_Bool SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool _visible) override
 
virtual sal_Bool SAL_CALL getEnabled () override
 
virtual void SAL_CALL setEnabled (sal_Bool _enabled) override
 
virtual void SAL_CALL Delete () override
 
virtual css::uno::Any SAL_CALL Controls (const css::uno::Any &aIndex) override
 
virtual sal_Int32 SAL_CALL Type () override
 
virtual css::uno::Any SAL_CALL FindControl (const css::uno::Any &aType, const css::uno::Any &aId, const css::uno::Any &aTag, const css::uno::Any &aVisible, const css::uno::Any &aRecursive) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
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
 

Private Attributes

OUString maName
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Dummy command bar implementation.

Does nothing but provide its name.

Definition at line 61 of file vbacommandbar.hxx.

Constructor & Destructor Documentation

◆ VbaDummyCommandBar()

VbaDummyCommandBar::VbaDummyCommandBar ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString  aName 
)
Exceptions
css::uno::RuntimeException

Definition at line 194 of file vbacommandbar.cxx.

References maName, and sName.

Member Function Documentation

◆ Controls()

uno::Any SAL_CALL VbaDummyCommandBar::Controls ( const css::uno::Any &  aIndex)
overridevirtual

◆ Delete()

void SAL_CALL VbaDummyCommandBar::Delete ( )
overridevirtual

Definition at line 236 of file vbacommandbar.cxx.

◆ FindControl()

uno::Any SAL_CALL VbaDummyCommandBar::FindControl ( const css::uno::Any &  aType,
const css::uno::Any &  aId,
const css::uno::Any &  aTag,
const css::uno::Any &  aVisible,
const css::uno::Any &  aRecursive 
)
overridevirtual

Definition at line 255 of file vbacommandbar.cxx.

◆ getEnabled()

sal_Bool SAL_CALL VbaDummyCommandBar::getEnabled ( )
overridevirtual

Definition at line 224 of file vbacommandbar.cxx.

References getVisible().

◆ getName()

OUString SAL_CALL VbaDummyCommandBar::getName ( )
overridevirtual

Definition at line 203 of file vbacommandbar.cxx.

References maName.

◆ getServiceImplName()

OUString VbaDummyCommandBar::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > VbaDummyCommandBar::getServiceNames ( )
overridevirtual

◆ getVisible()

sal_Bool SAL_CALL VbaDummyCommandBar::getVisible ( )
overridevirtual

Definition at line 213 of file vbacommandbar.cxx.

Referenced by getEnabled().

◆ setEnabled()

void SAL_CALL VbaDummyCommandBar::setEnabled ( sal_Bool  _enabled)
overridevirtual

Definition at line 230 of file vbacommandbar.cxx.

References setVisible().

◆ setName()

void SAL_CALL VbaDummyCommandBar::setName ( const OUString &  _name)
overridevirtual

Definition at line 208 of file vbacommandbar.cxx.

References maName.

◆ setVisible()

void SAL_CALL VbaDummyCommandBar::setVisible ( sal_Bool  _visible)
overridevirtual

Definition at line 219 of file vbacommandbar.cxx.

Referenced by setEnabled().

◆ Type()

sal_Int32 SAL_CALL VbaDummyCommandBar::Type ( )
overridevirtual

Definition at line 250 of file vbacommandbar.cxx.

Member Data Documentation

◆ maName

OUString VbaDummyCommandBar::maName
private

Definition at line 89 of file vbacommandbar.hxx.

Referenced by getName(), and setName().


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