LibreOffice Module sc (master) 1
|
#include <vbanames.hxx>
Public Member Functions | |
ScVbaNames (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::sheet::XNamedRanges > &xNames, css::uno::Reference< css::frame::XModel > xModel) | |
ScDocument & | getScDocument () |
virtual | ~ScVbaNames () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any SAL_CALL | Add (const css::uno::Any &aName, const css::uno::Any &aRefersTo, const css::uno::Any &aVisible, const css::uno::Any &aMacroType, const css::uno::Any &aShoutcutKey, const css::uno::Any &aCategory, const css::uno::Any &aNameLocal, const css::uno::Any &aRefersToLocal, const css::uno::Any &aCategoryLocal, const css::uno::Any &aRefersToR1C1, const css::uno::Any &aRefersToR1C1Local) override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from CollTestImplHelper< typename... Ifc > | |
CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false) | |
Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false) | |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &) override |
OUString SAL_CALL | getDefaultMethodName () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override=0 |
virtual css::uno::Type SAL_CALL | getElementType () override=0 |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource)=0 |
Public Member Functions inherited from InheritedHelperInterfaceImpl< 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 | |
const css::uno::Reference< css::frame::XModel > & | getModel () const |
Private Attributes | |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::sheet::XNamedRanges > | mxNames |
Additional Inherited Members | |
Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
virtual css::uno::Any | getItemByStringIndex (const OUString &sIndex) |
virtual css::uno::Any | getItemByIntIndex (const sal_Int32 nIndex) |
void | UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess) |
Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::Reference< css::container::XIndexAccess > | m_xIndexAccess |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
bool | mbIgnoreCase |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 30 of file vbanames.hxx.
ScVbaNames::ScVbaNames | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::sheet::XNamedRanges > & | xNames, | ||
css::uno::Reference< css::frame::XModel > | xModel | ||
) |
Definition at line 61 of file vbanames.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xNameAccess, mxModel, Reference, and xModel.
|
overridevirtual |
Definition at line 72 of file vbanames.cxx.
|
overridevirtual |
Definition at line 88 of file vbanames.cxx.
References ScCompiler::CompileString(), formula::FormulaGrammar::CONV_XL_A1, formula::FormulaGrammar::CONV_XL_R1C1, ScRangeList::front(), ScVbaRange::getCellRangesForAddress(), ooo::vba::excel::getDocShell(), getModel(), getScDocument(), formula::FormulaGrammar::GRAM_NATIVE_XL_A1, formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1, ScRangeData::IsNameValid(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::Item(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxNames, InheritedHelperInterfaceImpl< Ifc... >::mxParent, Name, ScRangeData::NAME_VALID, nIndex, sFormula, ScRangeList::size(), sName, and ZERO.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 239 of file vbanames.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::getParent(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxModel, and mxNames.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 232 of file vbanames.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::getParent(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxModel, and mxNames.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 226 of file vbanames.cxx.
References cppu::UnoType< typename T >::get().
|
inlineprivate |
Definition at line 35 of file vbanames.hxx.
References mxModel.
Referenced by Add(), and getScDocument().
ScDocument & ScVbaNames::getScDocument | ( | ) |
Definition at line 77 of file vbanames.cxx.
References ooo::vba::excel::getBestViewShell(), ScViewData::GetDocument(), getModel(), ScTabView::GetViewData(), and xModel.
Referenced by Add().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 246 of file vbanames.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 252 of file vbanames.cxx.
References aServiceNames.
|
private |
Definition at line 32 of file vbanames.hxx.
Referenced by createCollectionObject(), createEnumeration(), and getModel().
|
private |
Definition at line 33 of file vbanames.hxx.
Referenced by Add(), createCollectionObject(), and createEnumeration().