LibreOffice Module sc (master) 1
|
#include <vbaname.hxx>
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 |
Definition at line 31 of file vbaname.hxx.
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.
|
overridevirtual |
Definition at line 49 of file vbaname.cxx.
|
overridevirtual |
Definition at line 198 of file vbaname.cxx.
References mxNamedRange, and mxNames.
|
private |
Definition at line 88 of file vbaname.cxx.
References ScNamedRangeObj::GetRangeData_Impl(), mxNamedRange, and pData.
Referenced by getRefersToR1C1(), and getValue().
|
overridevirtual |
|
overridevirtual |
Definition at line 66 of file vbaname.cxx.
References getName().
|
overridevirtual |
Definition at line 141 of file vbaname.cxx.
References getValue().
Referenced by getRefersToLocal().
|
overridevirtual |
Definition at line 153 of file vbaname.cxx.
References getRefersTo().
|
overridevirtual |
Definition at line 165 of file vbaname.cxx.
References getContent(), and formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1.
Referenced by getRefersToR1C1Local().
|
overridevirtual |
Definition at line 178 of file vbaname.cxx.
References getRefersToR1C1().
|
overridevirtual |
Definition at line 190 of file vbaname.cxx.
References formula::FormulaGrammar::CONV_XL_R1C1, ooo::vba::excel::getDocShell(), ScVbaRange::getRangeObjectForName(), InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, mxModel, and mxNamedRange.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 204 of file vbaname.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 210 of file vbaname.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 127 of file vbaname.cxx.
References getContent(), and formula::FormulaGrammar::GRAM_NATIVE_XL_A1.
Referenced by getRefersTo().
|
overridevirtual |
Definition at line 78 of file vbaname.cxx.
|
private |
Definition at line 103 of file vbaname.cxx.
References ScCompiler::CompileString(), ScDocShell::GetDocument(), ScRangeData::GetPos(), ScNamedRangeObj::GetRangeData_Impl(), mxNamedRange, ScNamedRangeObj::pDocShell, and ScRangeData::SetCode().
Referenced by setRefersToR1C1(), and setValue().
|
overridevirtual |
|
overridevirtual |
Definition at line 72 of file vbaname.cxx.
References setName().
|
overridevirtual |
Definition at line 147 of file vbaname.cxx.
References setValue().
Referenced by setRefersToLocal(), and setRefersToR1C1Local().
|
overridevirtual |
Definition at line 159 of file vbaname.cxx.
References setRefersTo().
|
overridevirtual |
Definition at line 172 of file vbaname.cxx.
References formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1, and setContent().
|
overridevirtual |
Definition at line 184 of file vbaname.cxx.
References setRefersTo().
|
overridevirtual |
Definition at line 135 of file vbaname.cxx.
References formula::FormulaGrammar::GRAM_NATIVE_XL_A1, and setContent().
Referenced by setRefersTo().
|
overridevirtual |
Definition at line 84 of file vbaname.cxx.
|
private |
Definition at line 33 of file vbaname.hxx.
Referenced by getRefersToRange().
|
private |
Definition at line 34 of file vbaname.hxx.
Referenced by Delete(), getContent(), getName(), getRefersToRange(), setContent(), and setName().
|
private |
Definition at line 35 of file vbaname.hxx.
Referenced by Delete().