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

#include <vbavariable.hxx>

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

Public Member Functions

 SwVbaVariable (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::beans::XPropertyAccess > xUserDefined, OUString aName)
 
virtual ~SwVbaVariable () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &) override
 
virtual css::uno::Any SAL_CALL getValue () override
 
virtual void SAL_CALL setValue (const css::uno::Any &rValue) override
 
virtual sal_Int32 SAL_CALL getIndex () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... 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

css::uno::Reference< css::beans::XPropertyAccess > mxUserDefined
 
OUString maVariableName
 

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

Definition at line 28 of file vbavariable.hxx.

Constructor & Destructor Documentation

◆ SwVbaVariable()

SwVbaVariable::SwVbaVariable ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::uno::Reference< css::beans::XPropertyAccess >  xUserDefined,
OUString  aName 
)
Exceptions
css::uno::RuntimeException

Definition at line 27 of file vbavariable.cxx.

◆ ~SwVbaVariable()

SwVbaVariable::~SwVbaVariable ( )
overridevirtual

Definition at line 33 of file vbavariable.cxx.

Member Function Documentation

◆ getIndex()

sal_Int32 SAL_CALL SwVbaVariable::getIndex ( )
overridevirtual

Definition at line 65 of file vbavariable.cxx.

References mxUserDefined, and props.

◆ getName()

OUString SAL_CALL SwVbaVariable::getName ( )
overridevirtual

Definition at line 38 of file vbavariable.cxx.

References maVariableName.

◆ getServiceImplName()

OUString SwVbaVariable::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getValue()

uno::Any SAL_CALL SwVbaVariable::getValue ( )
overridevirtual

Definition at line 50 of file vbavariable.cxx.

References maVariableName, and mxUserDefined.

◆ setName()

void SAL_CALL SwVbaVariable::setName ( const OUString &  )
overridevirtual

Definition at line 44 of file vbavariable.cxx.

◆ setValue()

void SAL_CALL SwVbaVariable::setValue ( const css::uno::Any &  rValue)
overridevirtual

Definition at line 57 of file vbavariable.cxx.

References maVariableName, and mxUserDefined.

Member Data Documentation

◆ maVariableName

OUString SwVbaVariable::maVariableName
private

Definition at line 32 of file vbavariable.hxx.

Referenced by getName(), getValue(), and setValue().

◆ mxUserDefined

css::uno::Reference< css::beans::XPropertyAccess > SwVbaVariable::mxUserDefined
private

Definition at line 31 of file vbavariable.hxx.

Referenced by getIndex(), getValue(), and setValue().


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