LibreOffice Module vbahelper (master) 1
|
#include <vbacommandbarcontrol.hxx>
Public Member Functions | |
ScVbaCommandBarControl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xSettings, VbaCommandBarHelperRef pHelper, css::uno::Reference< css::container::XIndexAccess > xBarSettings, OUString sResourceUrl) | |
virtual OUString SAL_CALL | getCaption () override |
virtual void SAL_CALL | setCaption (const OUString &_caption) override |
virtual OUString SAL_CALL | getOnAction () override |
virtual void SAL_CALL | setOnAction (const OUString &_onaction) 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 sal_Bool SAL_CALL | getBeginGroup () override |
virtual void SAL_CALL | setBeginGroup (sal_Bool _begin) override |
virtual sal_Int32 SAL_CALL | getType () override |
virtual void SAL_CALL | Delete () override |
virtual css::uno::Any SAL_CALL | Controls (const css::uno::Any &aIndex) 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 |
Protected Attributes | |
VbaCommandBarHelperRef | pCBarHelper |
OUString | m_sResourceUrl |
css::uno::Reference< css::container::XIndexAccess > | m_xCurrentSettings |
css::uno::Reference< css::container::XIndexAccess > | m_xBarSettings |
css::uno::Sequence< css::beans::PropertyValue > | m_aPropertyValues |
sal_Int32 | m_nPosition |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Private Member Functions | |
void | ApplyChange () |
Definition at line 33 of file vbacommandbarcontrol.hxx.
ScVbaCommandBarControl::ScVbaCommandBarControl | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
css::uno::Reference< css::container::XIndexAccess > | xSettings, | ||
VbaCommandBarHelperRef | pHelper, | ||
css::uno::Reference< css::container::XIndexAccess > | xBarSettings, | ||
OUString | sResourceUrl | ||
) |
css::uno::RuntimeException |
Definition at line 29 of file vbacommandbarcontrol.cxx.
References m_nPosition.
|
private |
css::uno::RuntimeException |
Definition at line 33 of file vbacommandbarcontrol.cxx.
References m_aPropertyValues, m_nPosition, m_sResourceUrl, m_xBarSettings, m_xCurrentSettings, and pCBarHelper.
Referenced by setCaption(), setEnabled(), setOnAction(), and setVisible().
|
overridevirtual |
Definition at line 164 of file vbacommandbarcontrol.cxx.
References aIndex, ooo::vba::getPropertyValue(), ITEM_DESCRIPTOR_CONTAINER, m_aPropertyValues, m_sResourceUrl, m_xBarSettings, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and pCBarHelper.
|
overridevirtual |
Definition at line 152 of file vbacommandbarcontrol.cxx.
References m_nPosition, m_sResourceUrl, m_xBarSettings, m_xCurrentSettings, and pCBarHelper.
|
overridevirtual |
Definition at line 135 of file vbacommandbarcontrol.cxx.
Referenced by setBeginGroup().
|
overridevirtual |
Definition at line 41 of file vbacommandbarcontrol.cxx.
References ooo::vba::getPropertyValue(), and m_aPropertyValues.
|
overridevirtual |
Definition at line 101 of file vbacommandbarcontrol.cxx.
References ooo::vba::getPropertyValue(), getVisible(), uno::Any::hasValue(), ITEM_DESCRIPTOR_ENABLED, and m_aPropertyValues.
|
overridevirtual |
Definition at line 58 of file vbacommandbarcontrol.cxx.
References ooo::vba::getPropertyValue(), and m_aPropertyValues.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 181 of file vbacommandbarcontrol.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 187 of file vbacommandbarcontrol.cxx.
References aServiceNames.
|
inlineoverridevirtual |
Definition at line 63 of file vbacommandbarcontrol.hxx.
|
overridevirtual |
Definition at line 81 of file vbacommandbarcontrol.cxx.
References bVisible, ooo::vba::getPropertyValue(), uno::Any::hasValue(), ITEM_DESCRIPTOR_ISVISIBLE, and m_aPropertyValues.
Referenced by getEnabled().
|
overridevirtual |
Definition at line 143 of file vbacommandbarcontrol.cxx.
References getBeginGroup().
|
overridevirtual |
Definition at line 50 of file vbacommandbarcontrol.cxx.
References ApplyChange(), m_aPropertyValues, and setPropertyValue().
|
overridevirtual |
Definition at line 119 of file vbacommandbarcontrol.cxx.
References ApplyChange(), ooo::vba::getPropertyValue(), uno::Any::hasValue(), ITEM_DESCRIPTOR_ENABLED, m_aPropertyValues, setPropertyValue(), and setVisible().
|
overridevirtual |
Definition at line 66 of file vbacommandbarcontrol.cxx.
References ApplyChange(), ooo::vba::getSfxObjShell(), m_aPropertyValues, ooo::vba::makeMacroURL(), ooo::vba::MacroResolvedInfo::mbFound, ooo::vba::MacroResolvedInfo::msResolvedMacro, pCBarHelper, ooo::vba::resolveVBAMacro(), SAL_INFO, setPropertyValue(), and xModel.
|
overridevirtual |
Definition at line 90 of file vbacommandbarcontrol.cxx.
References ApplyChange(), ooo::vba::getPropertyValue(), uno::Any::hasValue(), ITEM_DESCRIPTOR_ISVISIBLE, m_aPropertyValues, and setPropertyValue().
Referenced by setEnabled().
|
protected |
Definition at line 40 of file vbacommandbarcontrol.hxx.
Referenced by ApplyChange(), Controls(), getCaption(), getEnabled(), getOnAction(), getVisible(), setCaption(), setEnabled(), setOnAction(), and setVisible().
|
protected |
Definition at line 42 of file vbacommandbarcontrol.hxx.
Referenced by ApplyChange(), and Delete().
|
protected |
Definition at line 37 of file vbacommandbarcontrol.hxx.
Referenced by ApplyChange(), Controls(), and Delete().
|
protected |
Definition at line 39 of file vbacommandbarcontrol.hxx.
Referenced by ApplyChange(), Controls(), and Delete().
|
protected |
Definition at line 38 of file vbacommandbarcontrol.hxx.
Referenced by ApplyChange(), and Delete().
|
protected |
Definition at line 36 of file vbacommandbarcontrol.hxx.
Referenced by ApplyChange(), Controls(), Delete(), and setOnAction().