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
 
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *)
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
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
 

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
 

Private Attributes

SwModifym_pRegisteredIn
 event source More...
 

Friends

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

Detailed Description

Definition at line 123 of file calbck.hxx.

Constructor & Destructor Documentation

SwClient::SwClient ( SwModify pToRegisterIn)
inlineexplicitprotected

Definition at line 398 of file calbck.hxx.

References SwModify::Add().

SwClient::SwClient ( )
inline

Definition at line 143 of file calbck.hxx.

SwClient::SwClient ( SwClient &&  o)
noexcept

Definition at line 62 of file calbck.cxx.

SwClient::~SwClient ( )
overridevirtual

Definition at line 72 of file calbck.cxx.

References DBG_TESTSOLARMUTEX.

Member Function Documentation

std::unique_ptr< sw::ModifyChangedHint > SwClient::CheckRegistration ( const SfxPoolItem pOldValue)
void SwClient::EndListeningAll ( )
virtual bool SwClient::GetInfo ( SfxPoolItem ) const
inlinevirtual
const SwModify* SwClient::GetRegisteredIn ( ) const
inline

Definition at line 163 of file calbck.hxx.

Referenced by SwSectionFrame::CalcEndAtEndFlag(), SwSectionFrame::CalcFootnoteAtEndFlag(), checkApplyParagraphMarkFormatToNumbering(), CheckRegistration(), SwContentNode::ChkCondColl(), SwDrawContact::ConnectToLayout(), SwDoc::CopyFormat(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwFormat::DerivedFrom(), SwContentNode::GetAnyFormatColl(), SwLineNumberInfo::GetCharFormat(), SwFormatCharFormat::GetCharFormat(), SwNumFormat::GetCharFormat(), SwFormatDrop::GetCharFormat(), SwNumFormat::GetCharFormatName(), SwFrame::GetDep(), SwSectionFrame::GetEndSectFormat_(), SwFormatFooter::GetFooterFormat(), SwContact::GetFormat(), SwSection::GetFormat(), SwContentNode::GetFormatColl(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwNoTextNode::GetGrfColl(), SwFormatHeader::GetHeaderFormat(), SwFormatChain::GetNext(), SwContentNode::GetNoCondAttr(), SwFormatPageDesc::GetPageDesc(), SwSectionFormat::GetParent(), SwFormatChain::GetPrev(), SwTextNode::GetTextColl(), SwCollCondition::GetTextFormatColl(), SwTOXBase::GetTOXType(), SwLineNumberInfo::HasCharFormat(), SwRegHistory::InsertItems(), SwSectionFrame::IsDescendantFrom(), SwFrame::KnowsFormat(), SwFormatPageDesc::KnowsPageDesc(), lcl_TableInfo(), SwRegHistory::MakeSetWhichIds(), SwFormat::Modify(), SwCallMouseEvent::Modify(), sw::ListenerEntry::Modify(), SwContact::MoveObjToLayer(), sw::Meta::NotifyChangeTextNode(), SwFormat::operator=(), sw::ListenerEntry::operator=(), SwFormatHeader::operator==(), SwNumFormat::operator==(), SwFormatFooter::operator==(), SwDrawContact::RemoveMasterFromDrawPage(), SwContentNode::SetCondFormatColl(), SwLineNumberInfo::SwClientNotify(), SwTextNode::SwClientNotify(), SwSectionFormat::SwClientNotify(), SwContentNode::SwClientNotify(), SwTOXType::SwTOXType(), SwTextNode::TriggerNodeUpdate(), SwTOXBaseSection::UpdateMarks(), and SwSectionFormat::UpdateParent().

SwModify* SwClient::GetRegisteredIn ( )
inline

Definition at line 164 of file calbck.hxx.

SwModify* SwClient::GetRegisteredInNonConst ( ) const
inlineprotected

Definition at line 137 of file calbck.hxx.

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

void SwClient::Modify ( const SfxPoolItem ,
const SfxPoolItem  
)
virtual
void SwClient::StartListeningToSameModifyAs ( const SwClient other)
void SwClient::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprotectedvirtual
void SwClient::SwClientNotifyCall ( const SwModify rModify,
const SfxHint rHint 
)
inline

Friends And Related Function Documentation

friend class sw::ClientIteratorBase
friend

Definition at line 127 of file calbck.hxx.

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

Definition at line 128 of file calbck.hxx.

friend class SwModify
friend

Definition at line 126 of file calbck.hxx.

Member Data Documentation

SwModify* SwClient::m_pRegisteredIn
private

event source

Definition at line 130 of file calbck.hxx.

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


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