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

#include <deletelistener.hxx>

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

Public Member Functions

 SwDeleteListener (SwModify &rModify)
 
bool WasDeleted () const
 
virtual ~SwDeleteListener () override
 
- 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
 

Private Member Functions

virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 

Private Attributes

SwModifym_pModify
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 16 of file deletelistener.hxx.

Constructor & Destructor Documentation

◆ SwDeleteListener()

SwDeleteListener::SwDeleteListener ( SwModify rModify)
inline

Definition at line 34 of file deletelistener.hxx.

References SwModify::Add(), and m_pModify.

◆ ~SwDeleteListener()

virtual SwDeleteListener::~SwDeleteListener ( )
inlineoverridevirtual

Definition at line 42 of file deletelistener.hxx.

References m_pModify, and SwModify::Remove().

Member Function Documentation

◆ SwClientNotify()

virtual void SwDeleteListener::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
inlineoverrideprivatevirtual

Reimplemented from SwClient.

Definition at line 21 of file deletelistener.hxx.

References SfxHint::GetId(), m_pModify, SwModify::Remove(), and RES_OBJECTDYING().

◆ WasDeleted()

bool SwDeleteListener::WasDeleted ( ) const
inline

Definition at line 40 of file deletelistener.hxx.

References m_pModify.

Referenced by WW8TabDesc::FinishSwTable().

Member Data Documentation

◆ m_pModify

SwModify* SwDeleteListener::m_pModify
private

Definition at line 19 of file deletelistener.hxx.

Referenced by SwClientNotify(), SwDeleteListener(), WasDeleted(), and ~SwDeleteListener().


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