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

#include <ww8par.hxx>

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

Public Member Functions

 TextNodeListener (SwTextNode *pTextNode)
 
bool operator< (const TextNodeListener &rOther) const
 
void StopListening (SwModify *pTextNode)
 
SwTextNodeGetTextNode () const
 
virtual void removed (SwModify *pTextNode)
 
virtual ~TextNodeListener () 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
 

Protected Member Functions

virtual void SwClientNotify (const SwModify &, const SfxHint &) 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 Attributes

SwTextNodem_pTextNode
 

Detailed Description

Definition at line 899 of file ww8par.hxx.

Constructor & Destructor Documentation

◆ TextNodeListener()

TextNodeListener::TextNodeListener ( SwTextNode pTextNode)

Definition at line 4730 of file ww8par.cxx.

References m_pTextNode.

◆ ~TextNodeListener()

TextNodeListener::~TextNodeListener ( )
overridevirtual

Definition at line 4736 of file ww8par.cxx.

References m_pTextNode, and StopListening().

Member Function Documentation

◆ GetTextNode()

SwTextNode * TextNodeListener::GetTextNode ( ) const
inline

Definition at line 913 of file ww8par.hxx.

References m_pTextNode.

Referenced by wwExtraneousParas::delete_all_from_doc().

◆ operator<()

bool TextNodeListener::operator< ( const TextNodeListener rOther) const
inline

Definition at line 908 of file ww8par.hxx.

References SwNode::GetIndex(), and m_pTextNode.

◆ removed()

void TextNodeListener::removed ( SwModify pTextNode)
virtual

Reimplemented in wwExtraneousParas::ExtraTextNodeListener.

Definition at line 4761 of file ww8par.cxx.

References StopListening().

Referenced by SwClientNotify().

◆ StopListening()

void TextNodeListener::StopListening ( SwModify pTextNode)

Definition at line 4755 of file ww8par.cxx.

References m_pTextNode, and SwModify::Remove().

Referenced by wwExtraneousParas::delete_all_from_doc(), removed(), and ~TextNodeListener().

◆ SwClientNotify()

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

Reimplemented from SwClient.

Definition at line 4743 of file ww8par.cxx.

References SfxHint::GetId(), removed(), and RES_OBJECTDYING().

Member Data Documentation

◆ m_pTextNode

SwTextNode* TextNodeListener::m_pTextNode
private

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