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, css::uno::Reference< css::sheet::XNamedRange > xName, css::uno::Reference< css::sheet::XNamedRanges > xNames, 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< 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 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 31 of file vbaname.hxx.

Constructor & Destructor Documentation

◆ ScVbaName()

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

Definition at line 37 of file vbaname.cxx.

References mxModel, and xModel.

◆ ~ScVbaName()

ScVbaName::~ScVbaName ( )
overridevirtual

Definition at line 49 of file vbaname.cxx.

Member Function Documentation

◆ Delete()

void ScVbaName::Delete ( )
overridevirtual

Definition at line 198 of file vbaname.cxx.

References mxNamedRange, and mxNames.

◆ getContent()

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

Definition at line 88 of file vbaname.cxx.

References ScNamedRangeObj::GetRangeData_Impl(), mxNamedRange, and pData.

Referenced by getRefersToR1C1(), and getValue().

◆ getName()

OUString ScVbaName::getName ( )
overridevirtual

Definition at line 54 of file vbaname.cxx.

References mxNamedRange.

Referenced by getNameLocal().

◆ getNameLocal()

OUString ScVbaName::getNameLocal ( )
overridevirtual

Definition at line 66 of file vbaname.cxx.

References getName().

◆ getRefersTo()

OUString ScVbaName::getRefersTo ( )
overridevirtual

Definition at line 141 of file vbaname.cxx.

References getValue().

Referenced by getRefersToLocal().

◆ getRefersToLocal()

OUString ScVbaName::getRefersToLocal ( )
overridevirtual

Definition at line 153 of file vbaname.cxx.

References getRefersTo().

◆ getRefersToR1C1()

OUString ScVbaName::getRefersToR1C1 ( )
overridevirtual

Definition at line 165 of file vbaname.cxx.

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

Referenced by getRefersToR1C1Local().

◆ getRefersToR1C1Local()

OUString ScVbaName::getRefersToR1C1Local ( )
overridevirtual

Definition at line 178 of file vbaname.cxx.

References getRefersToR1C1().

◆ getRefersToRange()

css::uno::Reference< ov::excel::XRange > ScVbaName::getRefersToRange ( )
overridevirtual

◆ getServiceImplName()

OUString ScVbaName::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getValue()

OUString ScVbaName::getValue ( )
overridevirtual

Definition at line 127 of file vbaname.cxx.

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

Referenced by getRefersTo().

◆ getVisible()

sal_Bool ScVbaName::getVisible ( )
overridevirtual

Definition at line 78 of file vbaname.cxx.

◆ setContent()

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

◆ setName()

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

Definition at line 60 of file vbaname.cxx.

References mxNamedRange.

Referenced by setNameLocal().

◆ setNameLocal()

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

Definition at line 72 of file vbaname.cxx.

References setName().

◆ setRefersTo()

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

Definition at line 147 of file vbaname.cxx.

References setValue().

Referenced by setRefersToLocal(), and setRefersToR1C1Local().

◆ setRefersToLocal()

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

Definition at line 159 of file vbaname.cxx.

References setRefersTo().

◆ setRefersToR1C1()

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

Definition at line 172 of file vbaname.cxx.

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

◆ setRefersToR1C1Local()

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

Definition at line 184 of file vbaname.cxx.

References setRefersTo().

◆ setValue()

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

Definition at line 135 of file vbaname.cxx.

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

Referenced by setRefersTo().

◆ setVisible()

void ScVbaName::setVisible ( sal_Bool  bVisible)
overridevirtual

Definition at line 84 of file vbaname.cxx.

Member Data Documentation

◆ mxModel

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

Definition at line 33 of file vbaname.hxx.

Referenced by getRefersToRange().

◆ mxNamedRange

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

Definition at line 34 of file vbaname.hxx.

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

◆ mxNames

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

Definition at line 35 of file vbaname.hxx.

Referenced by Delete().


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