LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXFieldmarkParameters Class Referencefinal

#include <unobookmark.hxx>

Inheritance diagram for SwXFieldmarkParameters:
[legend]
Collaboration diagram for SwXFieldmarkParameters:
[legend]

Public Member Functions

 SwXFieldmarkParameters (::sw::mark::IFieldmark *const pFieldmark)
 
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 css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void Notify (const SfxHint &rHint) override
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Private Member Functions

::sw::mark::IFieldmark::parameter_map_t * getCoreParameters ()
 

Private Attributes

::sw::mark::IFieldmark * m_pFieldmark
 

Detailed Description

Definition at line 145 of file unobookmark.hxx.

Constructor & Destructor Documentation

◆ SwXFieldmarkParameters()

SwXFieldmarkParameters::SwXFieldmarkParameters ( ::sw::mark::IFieldmark *const  pFieldmark)
inline

Definition at line 154 of file unobookmark.hxx.

References SvtListener::StartListening().

Member Function Documentation

◆ getByName()

uno::Any SwXFieldmarkParameters::getByName ( const OUString &  aName)
overridevirtual

Definition at line 534 of file unobkm.cxx.

References aName, and getCoreParameters().

◆ getCoreParameters()

IFieldmark::parameter_map_t * SwXFieldmarkParameters::getCoreParameters ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 575 of file unobkm.cxx.

References m_pFieldmark.

Referenced by getByName(), getElementNames(), hasByName(), hasElements(), insertByName(), removeByName(), and replaceByName().

◆ getElementNames()

uno::Sequence< OUString > SwXFieldmarkParameters::getElementNames ( )
overridevirtual

Definition at line 544 of file unobkm.cxx.

References getCoreParameters(), and comphelper::mapKeysToSequence().

◆ getElementType()

uno::Type SwXFieldmarkParameters::getElementType ( )
overridevirtual

Definition at line 558 of file unobkm.cxx.

References sw::proofreadingiterator::get().

◆ hasByName()

sal_Bool SwXFieldmarkParameters::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 551 of file unobkm.cxx.

References aName, and getCoreParameters().

◆ hasElements()

sal_Bool SwXFieldmarkParameters::hasElements ( )
overridevirtual

Definition at line 563 of file unobkm.cxx.

References getCoreParameters().

◆ insertByName()

void SwXFieldmarkParameters::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Definition at line 508 of file unobkm.cxx.

References aName, and getCoreParameters().

◆ Notify()

void SwXFieldmarkParameters::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 569 of file unobkm.cxx.

References SfxHint::GetId(), and m_pFieldmark.

◆ removeByName()

void SwXFieldmarkParameters::removeByName ( const OUString &  Name)
overridevirtual

Definition at line 517 of file unobkm.cxx.

References aName, and getCoreParameters().

◆ replaceByName()

void SwXFieldmarkParameters::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Definition at line 524 of file unobkm.cxx.

References aName, and getCoreParameters().

Member Data Documentation

◆ m_pFieldmark

::sw::mark::IFieldmark* SwXFieldmarkParameters::m_pFieldmark
private

Definition at line 150 of file unobookmark.hxx.

Referenced by getCoreParameters(), and Notify().


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