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

#include <calbck.hxx>

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

Public Member Functions

 SwModify ()
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
bool HasOnlyOneListener () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
bool IsModifyLocked () const
 
- 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
 

Protected Member Functions

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

 SwModify (SwModify const &)=delete
 
SwModifyoperator= (const SwModify &)=delete
 

Private Attributes

sw::WriterListenerm_pWriterListeners
 
bool m_bModifyLocked
 

Friends

class sw::ClientIteratorBase
 
template<typename E , typename S , sw::IteratorMode >
class SwIterator
 
void sw::ClientNotifyAttrChg (SwModify &, const SwAttrSet &, SwAttrSet &, SwAttrSet &)
 

Detailed Description

Definition at line 178 of file calbck.hxx.

Constructor & Destructor Documentation

◆ SwModify() [1/2]

SwModify::SwModify ( SwModify const &  )
privatedelete

◆ SwModify() [2/2]

SwModify::SwModify ( )
inline

Definition at line 191 of file calbck.hxx.

◆ ~SwModify()

SwModify::~SwModify ( )
overridevirtual

Definition at line 142 of file calbck.cxx.

References DBG_TESTSOLARMUTEX, RES_OBJECTDYING(), SAL_WARN, and SwClientNotify().

Member Function Documentation

◆ Add()

void SwModify::Add ( SwClient pDepend)

Definition at line 172 of file calbck.cxx.

References DBG_TESTSOLARMUTEX, sw::WriterListener::m_pLeft, SwClient::m_pRegisteredIn, sw::WriterListener::m_pRight, Remove(), sw::ClientIteratorBase::s_pClientIters, SAL_WARN, and SAL_WARN_IF.

Referenced by SwShareBoxFormats::ChangeFrameFormat(), SwClient::CheckRegistration(), SwContentNode::ChgFormatColl(), SwTableBox::ChgFrameFormat(), SwTableLine::ChgFrameFormat(), SwTableLine::ClaimFrameFormat(), SwTableBox::ClaimFrameFormat(), SwTextField::CopyTextField(), SwTOXBase::CopyTOXBase(), SwColumnFrame::DestroyImpl(), SwTextRuby::GetCharFormat(), SwTextINetFormat::GetCharFormat(), SwLineNumberInfo::GetCharFormat(), SwTextINetFormat::InitINetFormat(), SwTextRuby::InitRuby(), lcl_SetTableBoxWidths(), lcl_SetTableBoxWidths2(), SwFrameFormat::MoveTableBox(), SaveTable::NewFrameFormatForLine(), sw::Meta::NotifyChangeTextNode(), SwContentControl::NotifyChangeTextNode(), sw::ListenerEntry::operator=(), SwRegHistory::RegisterInModify(), SwFormatField::RegisterToFieldType(), SwCollCondition::RegisterToFormat(), SwFormatHeader::RegisterToFormat(), SwFormatFooter::RegisterToFormat(), SwFrameFormat::RegisterToFormat(), SwTable::RegisterToFormat(), SwTableBox::RegisterToFormat(), SwFrame::RegisterToFormat(), SwTextFrame::RegisterToNode(), SwFormatPageDesc::RegisterToPageDesc(), SwTOXBase::RegisterToTOXType(), SwLineNumberInfo::SetCharFormat(), SwNumFormat::SetCharFormat(), SwFormatDrop::SetCharFormat(), SwFormatCharFormat::SetCharFormat(), SwDoc::SetCurFootnote(), SwDoc::SetDefault(), SwFormat::SetDerivedFrom(), SwLayoutFrame::SetFrameFormat(), SwTextFrame::SetMergedPara(), SwFormatChain::SetNext(), SwFormatChain::SetPrev(), SwClient::StartListeningToSameModifyAs(), SwAutoCompleteClient::SwAutoCompleteClient(), SwClient::SwClient(), SwFormat::SwClientNotify(), SwContentNode::SwClientNotify(), SwContentNode::SwContentNode(), SwCursorShell::SwCursorShell(), SwDeleteListener::SwDeleteListener(), SwFormat::SwFormat(), SwFormatField::SwFormatField(), SwNumFormat::SwNumFormat(), SwTableBox::SwTableBox(), TextNodeListener::TextNodeListener(), and SwCallLink::~SwCallLink().

◆ CallSwClientNotify()

void SwModify::CallSwClientNotify ( const SfxHint rHint) const
virtual

◆ GetInfo()

bool SwModify::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

◆ HasOnlyOneListener()

bool SwModify::HasOnlyOneListener ( ) const
inline

◆ HasWriterListeners()

bool SwModify::HasWriterListeners ( ) const
inline

Definition at line 202 of file calbck.hxx.

Referenced by SwViewOptionAdjust_Impl::AdjustViewOptions(), SwTextNode::AppendNode(), SwTableBox::ChgFrameFormat(), SwDoc::ChgPageDesc(), SwFEShell::Copy(), SwContentNode::DelFrames(), SwCellFrame::DestroyImpl(), SwRowFrame::DestroyImpl(), SwChartDataSequence::dispose(), SwEditShell::FieldToText(), SwGetRefFieldType::FindAnchor(), SwTextFormatColl::FormatDropNotify(), SwSectionFormat::GetChildSections(), SwSetExpFieldType::GetSeqFormat(), SwViewShell::ImplApplyViewOptions(), SwDoc::InsertTable(), SwTextNode::InsertText(), sw::DocumentStylePoolManager::IsPoolFormatUsed(), sw::DocumentStylePoolManager::IsPoolPageDescUsed(), sw::DocumentStylePoolManager::IsPoolTextCollUsed(), lcl_DelHFFormat(), lcl_SetTableBoxWidths(), SwTableNode::MakeFramesForAdjacentContentNode(), SwContentNode::MakeFramesForAdjacentContentNode(), SwNumRulesWithName::SwNumFormatGlobal::MakeNumFormat(), SwGetRefFieldType::MergeWithOtherDoc(), SwCursorShell::MoveFieldType(), SwFEShell::Paste(), SwReader::Read(), sw::DocumentFieldsManager::RemoveFieldType(), SwFieldRefPage::Reset(), SwContentNode::SetAttr(), SwDoc::SetDefault(), SwFormat::SetFormatAttr(), SwDocStyleSheet::SetItemSet(), SwSetExpFieldType::SetSeqRefNo(), SwTextNode::SplitContentNode(), SwRefPageGetFieldType::SwClientNotify(), SwSectionFormat::SwClientNotify(), SwDoc::TextToTable(), SwpHints::TryInsertHint(), SwTOXBaseSection::UpdateOutline(), SwSectionFormat::UpdateParent(), SwFormat::~SwFormat(), SwGrfNode::~SwGrfNode(), SwSection::~SwSection(), SwTable::~SwTable(), SwTableBox::~SwTableBox(), and SwTableLine::~SwTableLine().

◆ IsModifyLocked()

bool SwModify::IsModifyLocked ( ) const
inline

◆ LockModify()

void SwModify::LockModify ( )
inline

◆ operator=()

SwModify & SwModify::operator= ( const SwModify )
privatedelete

◆ Remove()

SwClient * SwModify::Remove ( SwClient pDepend)

◆ SwClientNotify()

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

◆ UnlockModify()

void SwModify::UnlockModify ( )
inline

Friends And Related Function Documentation

◆ sw::ClientIteratorBase

friend class sw::ClientIteratorBase
friend

Definition at line 180 of file calbck.hxx.

◆ sw::ClientNotifyAttrChg

void sw::ClientNotifyAttrChg ( SwModify ,
const SwAttrSet ,
SwAttrSet ,
SwAttrSet  
)
friend

◆ SwIterator

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

Definition at line 182 of file calbck.hxx.

Member Data Documentation

◆ m_bModifyLocked

bool SwModify::m_bModifyLocked
private

Definition at line 184 of file calbck.hxx.

◆ m_pWriterListeners

sw::WriterListener* SwModify::m_pWriterListeners
private

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