22#include <com/sun/star/container/XNameAccess.hpp>
34 OUString& rCodeName );
42 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
44 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames( )
override;
50 static void set(
const css::uno::Reference< css::container::XNameAccess>& xNameAccess,
ScDocument *pDoc );
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
static bool _getCodeName(const css::uno::Any &aAny, OUString &rCodeName)
XMLCodeNameProvider(ScDocument *pDoc)
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual css::uno::Type SAL_CALL getElementType() override
static void set(const css::uno::Reference< css::container::XNameAccess > &xNameAccess, ScDocument *pDoc)
virtual ~XMLCodeNameProvider() override