19 #ifndef INCLUDED_SC_SOURCE_UI_VBA_VBANAMES_HXX
20 #define INCLUDED_SC_SOURCE_UI_VBA_VBANAMES_HXX
22 #include <ooo/vba/excel/XNames.hpp>
33 css::uno::Reference< css::frame::XModel >
mxModel;
34 css::uno::Reference< css::sheet::XNamedRanges >
mxNames;
36 const css::uno::Reference< css::frame::XModel >&
getModel()
const {
return mxModel; }
39 ScVbaNames(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::sheet::XNamedRanges >& xNames ,
const css::uno::Reference< css::frame::XModel >& xModel );
47 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
50 virtual css::uno::Any SAL_CALL
Add(
const css::uno::Any& aName ,
51 const css::uno::Any& aRefersTo,
52 const css::uno::Any& aVisible,
53 const css::uno::Any& aMacroType,
54 const css::uno::Any& aShoutcutKey,
55 const css::uno::Any& aCategory,
56 const css::uno::Any& aNameLocal,
57 const css::uno::Any& aRefersToLocal,
58 const css::uno::Any& aCategoryLocal,
59 const css::uno::Any& aRefersToR1C1,
60 const css::uno::Any& aRefersToR1C1Local )
override;
69 #endif // INCLUDED_SC_SOURCE_UI_VBA_VBANAMES_HXX
css::uno::Reference< css::frame::XModel > mxModel
virtual css::uno::Sequence< OUString > getServiceNames() override
const css::uno::Reference< css::frame::XModel > & getModel() const
ScVbaNames(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::sheet::XNamedRanges > &xNames, const css::uno::Reference< css::frame::XModel > &xModel)
virtual OUString getServiceImplName() override
CollTestImplHelper< ov::excel::XNames > ScVbaNames_BASE
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
ScDocument & getScDocument()
virtual css::uno::Any createCollectionObject(const css::uno::Any &aSource) override
virtual css::uno::Type SAL_CALL getElementType() override
css::uno::Reference< css::sheet::XNamedRanges > mxNames
virtual ~ScVbaNames() 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