20#ifndef INCLUDED_SVX_SOURCE_UNODRAW_UNONAMEITEMTABLE_HXX
21#define INCLUDED_SVX_SOURCE_UNODRAW_UNONAMEITEMTABLE_HXX
23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/container/XNameContainer.hpp>
25#include <com/sun/star/util/XCancellable.hpp>
40 :
public cppu::WeakImplHelper<
41 css::util::XCancellable,
42 css::container::XNameContainer,
43 css::lang::XServiceInfo >
56 void ImplInsertByName(
const OUString& aName,
const css::uno::Any& aElement );
74 virtual
void SAL_CALL
cancel() override;
77 virtual
void SAL_CALL
insertByName( const OUString& aName, const css::
uno::Any& aElement ) override;
78 virtual
void SAL_CALL
removeByName( const OUString& Name ) override;
81 virtual
void SAL_CALL
replaceByName( const OUString& aName, const css::
uno::Any& aElement ) override;
84 virtual css::
uno::Any SAL_CALL
getByName( const OUString& aName ) override;
std::vector< std::unique_ptr< SfxItemSet > > ItemPoolVector
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual bool isValid(const NameOrIndex *pItem) const
virtual NameOrIndex * createItem() const =0
virtual void SAL_CALL removeByName(const OUString &Name) override
ItemPoolVector maItemSetVector
vector contains all items that were created by this service and will keep them alive even if nothing ...
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL cancel() override
virtual void SAL_CALL insertByName(const OUString &aName, const css::uno::Any &aElement) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
void ImplInsertByName(const OUString &aName, const css::uno::Any &aElement)
virtual ~SvxUnoNameItemTable() noexcept override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) noexcept override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
SvxUnoNameItemTable(SdrModel *pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId) noexcept
virtual void SAL_CALL replaceByName(const OUString &aName, const css::uno::Any &aElement) override
SfxItemPool * mpModelPool
std::vector< std::unique_ptr< SfxItemSet > > ItemPoolVector