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

#include <vbaname.hxx>

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

Public Member Functions

 ScVbaName (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::sheet::XNamedRange > &xName, const css::uno::Reference< css::sheet::XNamedRanges > &xNames, const css::uno::Reference< css::frame::XModel > &xModel)
 
virtual ~ScVbaName () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &rName) override
 
virtual OUString SAL_CALL getNameLocal () override
 
virtual void SAL_CALL setNameLocal (const OUString &rName) override
 
virtual sal_Bool SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool bVisible) override
 
virtual OUString SAL_CALL getValue () override
 
virtual void SAL_CALL setValue (const OUString &rValue) override
 
virtual OUString SAL_CALL getRefersTo () override
 
virtual void SAL_CALL setRefersTo (const OUString &rRefersTo) override
 
virtual OUString SAL_CALL getRefersToLocal () override
 
virtual void SAL_CALL setRefersToLocal (const OUString &rRefersTo) override
 
virtual OUString SAL_CALL getRefersToR1C1 () override
 
virtual void SAL_CALL setRefersToR1C1 (const OUString &rRefersTo) override
 
virtual OUString SAL_CALL getRefersToR1C1Local () override
 
virtual void SAL_CALL setRefersToR1C1Local (const OUString &rRefersTo) override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getRefersToRange () override
 
virtual void SAL_CALL Delete () 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 Member Functions

OUString getContent (const formula::FormulaGrammar::Grammar eGrammar)
 
void setContent (const OUString &sContent, const formula::FormulaGrammar::Grammar eGrammar)
 

Private Attributes

css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::sheet::XNamedRange > mxNamedRange
 
css::uno::Reference< css::sheet::XNamedRanges > mxNames
 

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 32 of file vbaname.hxx.

Constructor & Destructor Documentation

ScVbaName::ScVbaName ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::sheet::XNamedRange > &  xName,
const css::uno::Reference< css::sheet::XNamedRanges > &  xNames,
const css::uno::Reference< css::frame::XModel > &  xModel 
)

Definition at line 34 of file vbaname.cxx.

References mxModel.

ScVbaName::~ScVbaName ( )
overridevirtual

Definition at line 46 of file vbaname.cxx.

Member Function Documentation

void ScVbaName::Delete ( )
overridevirtual

Definition at line 195 of file vbaname.cxx.

References mxNamedRange, and mxNames.

OUString ScVbaName::getContent ( const formula::FormulaGrammar::Grammar  eGrammar)
private
OUString ScVbaName::getName ( )
overridevirtual

Definition at line 51 of file vbaname.cxx.

References mxNamedRange.

Referenced by getNameLocal().

OUString ScVbaName::getNameLocal ( )
overridevirtual

Definition at line 63 of file vbaname.cxx.

References getName().

OUString ScVbaName::getRefersTo ( )
overridevirtual

Definition at line 138 of file vbaname.cxx.

References getValue().

Referenced by getRefersToLocal().

OUString ScVbaName::getRefersToLocal ( )
overridevirtual

Definition at line 150 of file vbaname.cxx.

References getRefersTo().

OUString ScVbaName::getRefersToR1C1 ( )
overridevirtual

Definition at line 162 of file vbaname.cxx.

References getContent(), and formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1.

Referenced by getRefersToR1C1Local().

OUString ScVbaName::getRefersToR1C1Local ( )
overridevirtual

Definition at line 175 of file vbaname.cxx.

References getRefersToR1C1().

css::uno::Reference< ov::excel::XRange > ScVbaName::getRefersToRange ( )
overridevirtual
OUString ScVbaName::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaName::getServiceNames ( )
overridevirtual
OUString ScVbaName::getValue ( )
overridevirtual

Definition at line 124 of file vbaname.cxx.

References getContent(), and formula::FormulaGrammar::GRAM_NATIVE_XL_A1.

Referenced by getRefersTo().

sal_Bool ScVbaName::getVisible ( )
overridevirtual

Definition at line 75 of file vbaname.cxx.

void ScVbaName::setContent ( const OUString &  sContent,
const formula::FormulaGrammar::Grammar  eGrammar 
)
private
void ScVbaName::setName ( const OUString &  rName)
overridevirtual

Definition at line 57 of file vbaname.cxx.

References mxNamedRange.

Referenced by setNameLocal().

void ScVbaName::setNameLocal ( const OUString &  rName)
overridevirtual

Definition at line 69 of file vbaname.cxx.

References setName().

void ScVbaName::setRefersTo ( const OUString &  rRefersTo)
overridevirtual

Definition at line 144 of file vbaname.cxx.

References setValue().

Referenced by setRefersToLocal(), and setRefersToR1C1Local().

void ScVbaName::setRefersToLocal ( const OUString &  rRefersTo)
overridevirtual

Definition at line 156 of file vbaname.cxx.

References setRefersTo().

void ScVbaName::setRefersToR1C1 ( const OUString &  rRefersTo)
overridevirtual

Definition at line 169 of file vbaname.cxx.

References formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1, and setContent().

void ScVbaName::setRefersToR1C1Local ( const OUString &  rRefersTo)
overridevirtual

Definition at line 181 of file vbaname.cxx.

References setRefersTo().

void ScVbaName::setValue ( const OUString &  rValue)
overridevirtual

Definition at line 132 of file vbaname.cxx.

References formula::FormulaGrammar::GRAM_NATIVE_XL_A1, and setContent().

Referenced by setRefersTo().

void ScVbaName::setVisible ( sal_Bool  bVisible)
overridevirtual

Definition at line 81 of file vbaname.cxx.

Member Data Documentation

css::uno::Reference< css::frame::XModel > ScVbaName::mxModel
private

Definition at line 34 of file vbaname.hxx.

Referenced by getRefersToRange().

css::uno::Reference< css::sheet::XNamedRange > ScVbaName::mxNamedRange
private

Definition at line 35 of file vbaname.hxx.

Referenced by Delete(), getContent(), getName(), getRefersToRange(), setContent(), and setName().

css::uno::Reference< css::sheet::XNamedRanges > ScVbaName::mxNames
private

Definition at line 36 of file vbaname.hxx.

Referenced by Delete().


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