LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SwClient Class Reference

#include <calbck.hxx>

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

Public Member Functions

 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 

Protected Member Functions

 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 

Private Attributes

SwModifym_pRegisteredIn
 event source More...
 

Friends

class SwModify
 
class sw::ClientIteratorBase
 
class sw::ListenerEntry
 
template<typename E , typename S , sw::IteratorMode >
class SwIterator
 

Detailed Description

Definition at line 133 of file calbck.hxx.

Constructor & Destructor Documentation

◆ SwClient() [1/3]

SwClient::SwClient ( SwModify pToRegisterIn)
inlineexplicitprotected

Definition at line 424 of file calbck.hxx.

References SwModify::Add().

◆ SwClient() [2/3]

SwClient::SwClient ( )
inline

Definition at line 154 of file calbck.hxx.

◆ SwClient() [3/3]

SwClient::SwClient ( SwClient &&  o)
noexcept

Definition at line 58 of file calbck.cxx.

◆ ~SwClient()

SwClient::~SwClient ( )
overridevirtual

Definition at line 68 of file calbck.cxx.

References DBG_TESTSOLARMUTEX.

Member Function Documentation

◆ CheckRegistration()

std::optional< sw::ModifyChangedHint > SwClient::CheckRegistration ( const SfxPoolItem pOldValue)

◆ CheckRegistrationFormat()

void SwClient::CheckRegistrationFormat ( SwFormat rOld)

Definition at line 107 of file calbck.cxx.

References SwFormat::DerivedFrom(), and SAL_INFO.

◆ EndListeningAll()

void SwClient::EndListeningAll ( )

◆ GetInfo()

virtual bool SwClient::GetInfo ( SfxPoolItem ) const
inlinevirtual

◆ GetRegisteredIn() [1/2]

SwModify * SwClient::GetRegisteredIn ( )
inline

Definition at line 167 of file calbck.hxx.

◆ GetRegisteredIn() [2/2]

const SwModify * SwClient::GetRegisteredIn ( ) const
inline

◆ GetRegisteredInNonConst()

SwModify * SwClient::GetRegisteredInNonConst ( ) const
inlineprotected

Definition at line 148 of file calbck.hxx.

Referenced by SwDrawContact::Changed_(), SwFrame::GetDep(), and SwContact::MoveObjToLayer().

◆ StartListeningToSameModifyAs()

void SwClient::StartListeningToSameModifyAs ( const SwClient other)

◆ SwClientNotify()

void SwClient::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprotectedvirtual

Friends And Related Function Documentation

◆ sw::ClientIteratorBase

friend class sw::ClientIteratorBase
friend

Definition at line 137 of file calbck.hxx.

◆ sw::ListenerEntry

friend class sw::ListenerEntry
friend

Definition at line 138 of file calbck.hxx.

◆ SwIterator

template<typename E , typename S , sw::IteratorMode >
friend class SwIterator
friend

Definition at line 139 of file calbck.hxx.

◆ SwModify

friend class SwModify
friend

Definition at line 136 of file calbck.hxx.

Member Data Documentation

◆ m_pRegisteredIn

SwModify* SwClient::m_pRegisteredIn
private

event source

Definition at line 141 of file calbck.hxx.

Referenced by SwModify::Add(), SwModify::Remove(), and StartListeningToSameModifyAs().


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