LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SwAutoCompleteClient Class Reference
Inheritance diagram for SwAutoCompleteClient:
[legend]
Collaboration diagram for SwAutoCompleteClient:
[legend]

Public Member Functions

 SwAutoCompleteClient (SwAutoCompleteWord &rToTell, SwDoc &rSwDoc)
 
 SwAutoCompleteClient (const SwAutoCompleteClient &rClient)
 
virtual ~SwAutoCompleteClient () override
 
SwAutoCompleteClientoperator= (const SwAutoCompleteClient &rClient)
 
const SwDocGetDoc () const
 
- 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
 

Static Public Member Functions

static sal_uLong GetElementCount ()
 

Protected Member Functions

virtual void Notify (const SfxHint &) override
 

Private Member Functions

void DocumentDying ()
 

Private Attributes

SwAutoCompleteWordm_pAutoCompleteWord
 
SwDocm_pDoc
 

Static Private Attributes

static sal_uLong s_nSwAutoCompleteClientCount = 0
 

Detailed Description

Definition at line 38 of file acmplwrd.cxx.

Constructor & Destructor Documentation

◆ SwAutoCompleteClient() [1/2]

SwAutoCompleteClient::SwAutoCompleteClient ( SwAutoCompleteWord rToTell,
SwDoc rSwDoc 
)

◆ SwAutoCompleteClient() [2/2]

SwAutoCompleteClient::SwAutoCompleteClient ( const SwAutoCompleteClient rClient)

◆ ~SwAutoCompleteClient()

SwAutoCompleteClient::~SwAutoCompleteClient ( )
overridevirtual

Definition at line 118 of file acmplwrd.cxx.

References s_nSwAutoCompleteClientCount.

Member Function Documentation

◆ DocumentDying()

void SwAutoCompleteClient::DocumentDying ( )
private

◆ GetDoc()

const SwDoc & SwAutoCompleteClient::GetDoc ( ) const
inline

Definition at line 52 of file acmplwrd.cxx.

References m_pDoc.

◆ GetElementCount()

static sal_uLong SwAutoCompleteClient::GetElementCount ( )
inlinestatic

Definition at line 54 of file acmplwrd.cxx.

References s_nSwAutoCompleteClientCount.

Referenced by SwAutoCompleteWord::~SwAutoCompleteWord().

◆ Notify()

void SwAutoCompleteClient::Notify ( const SfxHint rHint)
overrideprotectedvirtual

Reimplemented from SvtListener.

Definition at line 141 of file acmplwrd.cxx.

References DocumentDying(), SfxHint::GetId(), RES_OBJECTDYING(), and RES_REMOVE_UNO_OBJECT().

◆ operator=()

SwAutoCompleteClient & SwAutoCompleteClient::operator= ( const SwAutoCompleteClient rClient)

Definition at line 127 of file acmplwrd.cxx.

References SvtListener::CopyAllBroadcasters(), m_pAutoCompleteWord, and m_pDoc.

Member Data Documentation

◆ m_pAutoCompleteWord

SwAutoCompleteWord* SwAutoCompleteClient::m_pAutoCompleteWord
private

Definition at line 40 of file acmplwrd.cxx.

Referenced by DocumentDying(), and operator=().

◆ m_pDoc

SwDoc* SwAutoCompleteClient::m_pDoc
private

Definition at line 41 of file acmplwrd.cxx.

Referenced by DocumentDying(), GetDoc(), operator=(), and SwAutoCompleteClient().

◆ s_nSwAutoCompleteClientCount

sal_uLong SwAutoCompleteClient::s_nSwAutoCompleteClientCount = 0
staticprivate

Definition at line 43 of file acmplwrd.cxx.

Referenced by GetElementCount(), SwAutoCompleteClient(), and ~SwAutoCompleteClient().


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