LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxUnoNameItemTable Class Referenceabstract

#include <UnoNameItemTable.hxx>

Inheritance diagram for SvxUnoNameItemTable:
Collaboration diagram for SvxUnoNameItemTable:

Public Member Functions

 SvxUnoNameItemTable (SdrModel *pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId) throw ()
virtual ~SvxUnoNameItemTable () override throw ()
virtual NameOrIndexcreateItem () const =0
virtual bool isValid (const NameOrIndex *pItem) const
void dispose ()
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override throw ()
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
virtual void SAL_CALL insertByName (const OUString &aName, const css::uno::Any &aElement) override
virtual void SAL_CALL removeByName (const OUString &Name) override
virtual void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) override
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
virtual sal_Bool SAL_CALL hasElements () override
- Public Member Functions inherited from SfxListener
 SfxListener ()
 SfxListener (const SfxListener &rCopy)
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
void EndListeningAll ()
bool IsListening (SfxBroadcaster &rBroadcaster) const
sal_uInt16 GetBroadcasterCount () const
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

Private Member Functions

void ImplInsertByName (const OUString &aName, const css::uno::Any &aElement)

Private Attributes

sal_uInt16 mnWhich
sal_uInt8 mnMemberId
ItemPoolVector maItemSetVector

Detailed Description

Definition at line 38 of file UnoNameItemTable.hxx.

Constructor & Destructor Documentation

SvxUnoNameItemTable::SvxUnoNameItemTable ( SdrModel pModel,
sal_uInt16  nWhich,
sal_uInt8  nMemberId 
throw (

Definition at line 60 of file UnoNameItemTable.cxx.

References StartListening.

SvxUnoNameItemTable::~SvxUnoNameItemTable ( )
throw (

Definition at line 69 of file UnoNameItemTable.cxx.

References dispose(), SfxListener::EndListening(), and mpModel.

Member Function Documentation

virtual NameOrIndex* SvxUnoNameItemTable::createItem ( ) const
pure virtual

Referenced by ImplInsertByName(), and replaceByName().

void SvxUnoNameItemTable::dispose ( void  )

Definition at line 81 of file UnoNameItemTable.cxx.

References maItemSetVector.

Referenced by removeByName(), and ~SvxUnoNameItemTable().

uno::Any SAL_CALL SvxUnoNameItemTable::getByName ( const OUString &  aName)
uno::Sequence< OUString > SAL_CALL SvxUnoNameItemTable::getElementNames ( )
sal_Bool SAL_CALL SvxUnoNameItemTable::hasByName ( const OUString &  aName)
sal_Bool SAL_CALL SvxUnoNameItemTable::hasElements ( )
void SvxUnoNameItemTable::ImplInsertByName ( const OUString &  aName,
const css::uno::Any &  aElement 

Definition at line 100 of file UnoNameItemTable.cxx.

References createItem(), maItemSetVector, mnMemberId, mnWhich, and mpModelPool.

Referenced by insertByName(), and replaceByName().

void SAL_CALL SvxUnoNameItemTable::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
bool SvxUnoNameItemTable::isValid ( const NameOrIndex pItem) const
void SvxUnoNameItemTable::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
throw (

Reimplemented from SfxListener.

Definition at line 86 of file UnoNameItemTable.cxx.

References dispose(), SdrHint::GetKind(), and ModelCleared.

void SAL_CALL SvxUnoNameItemTable::removeByName ( const OUString &  Name)
void SAL_CALL SvxUnoNameItemTable::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
sal_Bool SAL_CALL SvxUnoNameItemTable::supportsService ( const OUString &  ServiceName)

Definition at line 95 of file UnoNameItemTable.cxx.

References cppu::supportsService().

Member Data Documentation

ItemPoolVector SvxUnoNameItemTable::maItemSetVector

Definition at line 47 of file UnoNameItemTable.hxx.

Referenced by dispose(), ImplInsertByName(), removeByName(), and replaceByName().

sal_uInt8 SvxUnoNameItemTable::mnMemberId

Definition at line 45 of file UnoNameItemTable.hxx.

Referenced by getByName(), ImplInsertByName(), and replaceByName().

sal_uInt16 SvxUnoNameItemTable::mnWhich
SdrModel* SvxUnoNameItemTable::mpModel

Definition at line 42 of file UnoNameItemTable.hxx.

Referenced by ~SvxUnoNameItemTable().

SfxItemPool* SvxUnoNameItemTable::mpModelPool

The documentation for this class was generated from the following files: