LibreOffice Module svx (master) 1
|
#include <UnoNameItemTable.hxx>
Public Member Functions | |
SvxUnoNameItemTable (SdrModel *pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId) noexcept | |
virtual | ~SvxUnoNameItemTable () noexcept override |
virtual NameOrIndex * | createItem () const =0 |
virtual bool | isValid (const NameOrIndex *pItem) const |
void | dispose () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) noexcept override |
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 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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
void | ImplInsertByName (const OUString &aName, const css::uno::Any &aElement) |
Private Attributes | |
SdrModel * | mpModel |
SfxItemPool * | mpModelPool |
sal_uInt16 | mnWhich |
sal_uInt8 | mnMemberId |
ItemPoolVector | maItemSetVector |
vector contains all items that were created by this service and will keep them alive even if nothing in the document references them More... | |
Definition at line 39 of file UnoNameItemTable.hxx.
|
noexcept |
Definition at line 60 of file UnoNameItemTable.cxx.
References StartListening.
|
overridevirtualnoexcept |
Definition at line 69 of file UnoNameItemTable.cxx.
References dispose(), SfxListener::EndListening(), and mpModel.
|
overridevirtual |
Definition at line 127 of file UnoNameItemTable.cxx.
References dispose().
|
pure virtual |
Referenced by ImplInsertByName(), and replaceByName().
void SvxUnoNameItemTable::dispose | ( | void | ) |
Definition at line 83 of file UnoNameItemTable.cxx.
References maItemSetVector.
Referenced by cancel(), and ~SvxUnoNameItemTable().
|
overridevirtual |
Definition at line 203 of file UnoNameItemTable.cxx.
References aName, SfxItemPool::FindItemSurrogate(), isValid(), mnMemberId, mnWhich, mpModelPool, and SvxUnogetInternalNameForItem().
|
overridevirtual |
Definition at line 225 of file UnoNameItemTable.cxx.
References comphelper::containerToSequence(), SfxItemPool::GetItemSurrogates(), NameOrIndex::GetName(), isValid(), mnWhich, mpModelPool, and SvxUnogetApiNameForItem().
|
overridevirtual |
Definition at line 247 of file UnoNameItemTable.cxx.
References aName, SfxItemPool::FindItemSurrogate(), isValid(), mnWhich, mpModelPool, and SvxUnogetInternalNameForItem().
Referenced by insertByName(), removeByName(), and replaceByName().
|
overridevirtual |
Definition at line 266 of file UnoNameItemTable.cxx.
References SfxItemPool::GetItemSurrogates(), isValid(), mnWhich, and mpModelPool.
|
private |
Definition at line 102 of file UnoNameItemTable.cxx.
References aName, createItem(), maItemSetVector, mnMemberId, mnWhich, and mpModelPool.
Referenced by insertByName(), and replaceByName().
|
overridevirtual |
Definition at line 114 of file UnoNameItemTable.cxx.
References aName, hasByName(), ImplInsertByName(), mnWhich, and SvxUnogetInternalNameForItem().
|
virtual |
Definition at line 78 of file UnoNameItemTable.cxx.
References NameOrIndex::GetName().
Referenced by getByName(), getElementNames(), hasByName(), hasElements(), and replaceByName().
|
overridevirtualnoexcept |
Reimplemented from SfxListener.
Definition at line 88 of file UnoNameItemTable.cxx.
References dispose(), SdrHint::GetKind(), and ModelCleared.
|
overridevirtual |
Definition at line 135 of file UnoNameItemTable.cxx.
References hasByName(), maItemSetVector, mnWhich, sName, and SvxUnogetInternalNameForItem().
|
overridevirtual |
Definition at line 158 of file UnoNameItemTable.cxx.
References aName, createItem(), SfxItemPool::FindItemSurrogate(), hasByName(), ImplInsertByName(), isValid(), maItemSetVector, mnMemberId, mnWhich, mpModelPool, and SvxUnogetInternalNameForItem().
|
overridevirtual |
Definition at line 97 of file UnoNameItemTable.cxx.
References ServiceName, and cppu::supportsService().
|
private |
vector contains all items that were created by this service and will keep them alive even if nothing in the document references them
Definition at line 54 of file UnoNameItemTable.hxx.
Referenced by dispose(), ImplInsertByName(), removeByName(), and replaceByName().
|
private |
Definition at line 50 of file UnoNameItemTable.hxx.
Referenced by getByName(), ImplInsertByName(), and replaceByName().
|
private |
Definition at line 49 of file UnoNameItemTable.hxx.
Referenced by getByName(), getElementNames(), hasByName(), hasElements(), ImplInsertByName(), insertByName(), removeByName(), and replaceByName().
|
private |
Definition at line 47 of file UnoNameItemTable.hxx.
Referenced by ~SvxUnoNameItemTable().
|
private |
Definition at line 48 of file UnoNameItemTable.hxx.
Referenced by getByName(), getElementNames(), hasByName(), hasElements(), ImplInsertByName(), and replaceByName().