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 *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
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
 
- 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 120 of file calbck.hxx.

Constructor & Destructor Documentation

SwClient::SwClient ( SwModify pToRegisterIn)
inlineexplicitprotected

Definition at line 441 of file calbck.hxx.

References SwModify::Add().

SwClient::SwClient ( )
inline

Definition at line 137 of file calbck.hxx.

SwClient::SwClient ( SwClient &&  o)
noexcept

Definition at line 59 of file calbck.cxx.

SwClient::~SwClient ( )
overridevirtual

Definition at line 69 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 157 of file calbck.hxx.

Referenced by SwSectionFrame::CalcEndAtEndFlag(), SwSectionFrame::CalcFootnoteAtEndFlag(), CheckRegistration(), SwDrawContact::ConnectToLayout(), SwDoc::CopyFormat(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwFormat::DerivedFrom(), SwGrammarContact::finishGrammarCheck(), 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(), SwGrammarContact::getGrammarCheck(), SwNoTextNode::GetGrfColl(), SwFormatHeader::GetHeaderFormat(), SwGrammarContact::getMyTextNode(), SwFormatChain::GetNext(), SwContentNode::GetNoCondAttr(), SwFormatPageDesc::GetPageDesc(), SwSectionFormat::GetParent(), SwFormatChain::GetPrev(), SwTextNode::GetTextColl(), SwCollCondition::GetTextFormatColl(), SwTOXMark::GetTOXType(), SwTOXBase::GetTOXType(), SwLineNumberInfo::HasCharFormat(), SwRegHistory::InsertItems(), SwSectionFrame::IsDescendantFrom(), SwFrame::KnowsFormat(), SwFormatPageDesc::KnowsPageDesc(), lcl_ExportFrames(), lcl_ExtractFramePositions(), lcl_TableInfo(), SwRegHistory::MakeSetWhichIds(), SwLineNumberInfo::Modify(), SwAutoCompleteClient::Modify(), SwGrammarContact::Modify(), SwFormat::Modify(), SwCallMouseEvent::Modify(), sw::ListenerEntry::Modify(), SwSectionFormat::Modify(), SwContact::MoveObjToLayer(), sw::Meta::NotifyChangeTextNode(), SwFormat::operator=(), sw::ListenerEntry::operator=(), SwFormatHeader::operator==(), SwNumFormat::operator==(), SwFormatFooter::operator==(), SwTOXMark::operator==(), SwDrawContact::RemoveMasterFromDrawPage(), SwContentNode::SetCondFormatColl(), SwTextNode::SwClientNotify(), SwContentNode::SwClientNotify(), SwTOXMark::SwTOXMark(), SwTOXType::SwTOXType(), SwTOXBaseSection::Update(), SwGrammarContact::updateCursorPosition(), SwTOXBaseSection::UpdateMarks(), and SwSectionFormat::UpdateParent().

SwModify* SwClient::GetRegisteredIn ( )
inline

Definition at line 158 of file calbck.hxx.

SwModify* SwClient::GetRegisteredInNonConst ( ) const
inlineprotected
void SwClient::Modify ( const SfxPoolItem pOldValue,
const SfxPoolItem pNewValue 
)
virtual
virtual void SwClient::ModifyNotification ( const SfxPoolItem pOldValue,
const SfxPoolItem pNewValue 
)
inlinevirtual
void SwClient::StartListeningToSameModifyAs ( const SwClient other)
void SwClient::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overridevirtual
void SwClient::SwClientNotifyCall ( const SwModify rModify,
const SfxHint rHint 
)
inline

Definition at line 155 of file calbck.hxx.

References sw::WriterListener::SwClientNotify().

Referenced by sw::ListenerEntry::SwClientNotify().

Friends And Related Function Documentation

friend class sw::ClientIteratorBase
friend

Definition at line 124 of file calbck.hxx.

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

Definition at line 125 of file calbck.hxx.

friend class SwModify
friend

Definition at line 123 of file calbck.hxx.

Member Data Documentation

SwModify* SwClient::m_pRegisteredIn
private

event source

Definition at line 127 of file calbck.hxx.

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


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