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, const css::uno::Reference< css::beans::XPropertyAccess > &rUserDefined, const OUString &rName)
 
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< 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, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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 const 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 ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
const css::uno::Reference< css::beans::XPropertyAccess > &  rUserDefined,
const OUString &  rName 
)
Exceptions
css::uno::RuntimeException

Definition at line 28 of file vbavariable.cxx.

SwVbaVariable::~SwVbaVariable ( )
overridevirtual

Definition at line 34 of file vbavariable.cxx.

Member Function Documentation

sal_Int32 SAL_CALL SwVbaVariable::getIndex ( )
overridevirtual

Definition at line 66 of file vbavariable.cxx.

References maVariableName, and mxUserDefined.

OUString SAL_CALL SwVbaVariable::getName ( )
overridevirtual

Definition at line 39 of file vbavariable.cxx.

References maVariableName.

OUString SwVbaVariable::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > SwVbaVariable::getServiceNames ( )
overridevirtual
uno::Any SAL_CALL SwVbaVariable::getValue ( )
overridevirtual

Definition at line 51 of file vbavariable.cxx.

References maVariableName, and mxUserDefined.

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

Definition at line 45 of file vbavariable.cxx.

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

Definition at line 58 of file vbavariable.cxx.

References maVariableName, and mxUserDefined.

Member Data Documentation

OUString const SwVbaVariable::maVariableName
private

Definition at line 32 of file vbavariable.hxx.

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

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: