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 &)
 
- 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
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

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 179 of file calbck.hxx.

Constructor & Destructor Documentation

SwModify::SwModify ( SwModify const &  )
privatedelete
SwModify::SwModify ( )
inline

Definition at line 192 of file calbck.hxx.

SwModify::~SwModify ( )
overridevirtual

Definition at line 143 of file calbck.cxx.

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

Member Function Documentation

void SwModify::Add ( SwClient pDepend)

Definition at line 173 of file calbck.cxx.

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

Referenced by SwShareBoxFormats::ChangeFrameFormat(), SwClient::CheckRegistration(), SwContentNode::ChgFormatColl(), SwTableLine::ChgFrameFormat(), SwTableBox::ChgFrameFormat(), SwTableLine::ClaimFrameFormat(), SwTableBox::ClaimFrameFormat(), SwTextField::CopyTextField(), SwTOXBase::CopyTOXBase(), SwColumnFrame::DestroyImpl(), SwTextINetFormat::GetCharFormat(), SwLineNumberInfo::GetCharFormat(), SwTextRuby::GetCharFormat(), SwTextINetFormat::InitINetFormat(), SwTextRuby::InitRuby(), lcl_SetTableBoxWidths(), lcl_SetTableBoxWidths2(), SwFrameFormat::MoveTableBox(), SaveTable::NewFrameFormatForLine(), sw::Meta::NotifyChangeTextNode(), sw::ListenerEntry::operator=(), SwRegHistory::RegisterInModify(), SwFormatField::RegisterToFieldType(), SwFormatHeader::RegisterToFormat(), SwFormatFooter::RegisterToFormat(), SwFrameFormat::RegisterToFormat(), SwCollCondition::RegisterToFormat(), SwTable::RegisterToFormat(), SwTableBox::RegisterToFormat(), SwFrame::RegisterToFormat(), SwTextFrame::RegisterToNode(), SwFormatPageDesc::RegisterToPageDesc(), SwTOXBase::RegisterToTOXType(), SwUndoTableMerge::SaveCollection(), SwLineNumberInfo::SetCharFormat(), SwFormatCharFormat::SetCharFormat(), SwNumFormat::SetCharFormat(), SwFormatDrop::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(), SwFormat::SwFormat(), SwFormatField::SwFormatField(), SwNumFormat::SwNumFormat(), SwTableBox::SwTableBox(), and SwCallLink::~SwCallLink().

void SwModify::CallSwClientNotify ( const SfxHint rHint) const
virtual
bool SwModify::GetInfo ( SfxPoolItem rInfo) const
overridevirtual
bool SwModify::HasOnlyOneListener ( ) const
inline
bool SwModify::HasWriterListeners ( ) const
inline

Definition at line 203 of file calbck.hxx.

Referenced by SwViewOptionAdjust_Impl::AdjustViewOptions(), SwTextNode::AppendNode(), SwTableBox::ChgFrameFormat(), 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_SetTableBoxWidths(), SwContentNode::MakeFramesForAdjacentContentNode(), SwTableNode::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(), SwSectionFormat::SwClientNotify(), SwRefPageGetFieldType::SwClientNotify(), SwDoc::TextToTable(), SwpHints::TryInsertHint(), SwSectionFormat::UpdateParent(), SwFormat::~SwFormat(), SwGrfNode::~SwGrfNode(), SwSection::~SwSection(), SwTable::~SwTable(), SwTableBox::~SwTableBox(), and SwTableLine::~SwTableLine().

bool SwModify::IsModifyLocked ( ) const
inline
void SwModify::LockModify ( )
inline
SwModify& SwModify::operator= ( const SwModify )
privatedelete
SwClient * SwModify::Remove ( SwClient pDepend)
void SwModify::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprotectedvirtual
void SwModify::UnlockModify ( )
inline

Friends And Related Function Documentation

friend class sw::ClientIteratorBase
friend

Definition at line 181 of file calbck.hxx.

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

Definition at line 183 of file calbck.hxx.

Member Data Documentation

bool SwModify::m_bModifyLocked
private

Definition at line 185 of file calbck.hxx.

sw::WriterListener* SwModify::m_pWriterListeners
private

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