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

#include <calbck.hxx>

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

Public Member Functions

 SwModify ()
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
bool HasOnlyOneListener () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
bool IsModifyLocked () const
 
- Public Member Functions inherited from SwClient
 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

virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from SwClient
 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 Member Functions

 SwModify (SwModify const &)=delete
 
SwModifyoperator= (const SwModify &)=delete
 

Private Attributes

sw::WriterListenerm_pWriterListeners
 
bool m_bModifyLocked
 

Friends

class sw::ClientIteratorBase
 
template<typename E , typename S , sw::IteratorMode >
class SwIterator
 
void sw::ClientNotifyAttrChg (SwModify &, const SwAttrSet &, SwAttrSet &, SwAttrSet &)
 

Detailed Description

Definition at line 180 of file calbck.hxx.

Constructor & Destructor Documentation

◆ SwModify() [1/2]

SwModify::SwModify ( SwModify const &  )
privatedelete

◆ SwModify() [2/2]

SwModify::SwModify ( )
inline

Definition at line 193 of file calbck.hxx.

◆ ~SwModify()

SwModify::~SwModify ( )
overridevirtual

Definition at line 142 of file calbck.cxx.

References DBG_TESTSOLARMUTEX, RES_OBJECTDYING(), SAL_WARN, and SwClientNotify().

Member Function Documentation

◆ Add()

void SwModify::Add ( SwClient pDepend)

◆ CallSwClientNotify()

void SwModify::CallSwClientNotify ( const SfxHint rHint) const
virtual

◆ GetInfo()

bool SwModify::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

◆ HasOnlyOneListener()

bool SwModify::HasOnlyOneListener ( ) const
inline

Definition at line 205 of file calbck.hxx.

References sw::WriterListener::IsLast().

◆ HasWriterListeners()

bool SwModify::HasWriterListeners ( ) const
inline

Definition at line 204 of file calbck.hxx.

◆ IsModifyLocked()

bool SwModify::IsModifyLocked ( ) const
inline

Definition at line 212 of file calbck.hxx.

◆ LockModify()

void SwModify::LockModify ( )
inline

Definition at line 210 of file calbck.hxx.

◆ operator=()

SwModify & SwModify::operator= ( const SwModify )
privatedelete

◆ Remove()

SwClient * SwModify::Remove ( SwClient pDepend)

◆ SwClientNotify()

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

Reimplemented from SwClient.

Definition at line 303 of file calbck.cxx.

References DBG_TESTSOLARMUTEX, and SfxHint::GetId().

Referenced by sw::ClientNotifyAttrChg(), SwFormat::SwClientNotify(), and ~SwModify().

◆ UnlockModify()

void SwModify::UnlockModify ( )
inline

Definition at line 211 of file calbck.hxx.

Friends And Related Function Documentation

◆ sw::ClientIteratorBase

friend class sw::ClientIteratorBase
friend

Definition at line 182 of file calbck.hxx.

◆ sw::ClientNotifyAttrChg

void sw::ClientNotifyAttrChg ( SwModify ,
const SwAttrSet ,
SwAttrSet ,
SwAttrSet  
)
friend

◆ SwIterator

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

Definition at line 184 of file calbck.hxx.

Member Data Documentation

◆ m_bModifyLocked

bool SwModify::m_bModifyLocked
private

Definition at line 186 of file calbck.hxx.

◆ m_pWriterListeners

sw::WriterListener* SwModify::m_pWriterListeners
private

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