LibreOffice Module sw (master)  1
Public 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 ()
 
 SwModify (SwModify *pToRegisterIn)
 
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
void SetInCache (bool bNew)
 
void SetInSwFntCache (bool bNew)
 
void SetInDocDTOR ()
 
bool IsModifyLocked () const
 
bool IsInCache () const
 
bool IsInSwFntCache () const
 
void CheckCaching (const sal_uInt16 nWhich)
 
bool HasOnlyOneListener ()
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
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 &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Private Member Functions

virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
 SwModify (SwModify const &)=delete
 
SwModifyoperator= (const SwModify &)=delete
 

Private Attributes

sw::WriterListenerm_pWriterListeners
 
bool m_bModifyLocked: 1
 
bool m_bLockClientList: 1
 
bool m_bInCache: 1
 
bool m_bInSwFntCache: 1
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 171 of file calbck.hxx.

Constructor & Destructor Documentation

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

Definition at line 189 of file calbck.hxx.

SwModify::SwModify ( SwModify pToRegisterIn)
inlineexplicit

Definition at line 192 of file calbck.hxx.

SwModify::~SwModify ( )
overridevirtual

Member Function Documentation

void SwModify::Add ( SwClient pDepend)

Definition at line 217 of file calbck.cxx.

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

Referenced by SwXFrame::attachToRange(), SwShareBoxFormats::ChangeFrameFormat(), SwClient::CheckRegistration(), SwContentNode::ChgFormatColl(), SwTableLine::ChgFrameFormat(), SwTableBox::ChgFrameFormat(), SwTableLine::ClaimFrameFormat(), SwTableBox::ClaimFrameFormat(), SwTextField::CopyTextField(), SwTOXBase::CopyTOXBase(), SwColumnFrame::DestroyImpl(), FieldDeletionModify::FieldDeletionModify(), SwTextINetFormat::GetCharFormat(), SwLineNumberInfo::GetCharFormat(), SwTextRuby::GetCharFormat(), SwTextINetFormat::InitINetFormat(), SwTextRuby::InitRuby(), sw::util::InsertedTableClient::InsertedTableClient(), lcl_SetTableBoxWidths(), lcl_SetTableBoxWidths2(), SwFormat::Modify(), sw::Meta::NotifyChangeTextNode(), sw::ListenerEntry::operator=(), SwRegHistory::RegisterInModify(), SwFormatField::RegisterToFieldType(), SwFormatHeader::RegisterToFormat(), SwFormatFooter::RegisterToFormat(), SwFrameFormat::RegisterToFormat(), SwCollCondition::RegisterToFormat(), SwTable::RegisterToFormat(), SwTableLine::RegisterToFormat(), SwTableBox::RegisterToFormat(), SwFrame::RegisterToFormat(), SwTextFrame::RegisterToNode(), SwFormatPageDesc::RegisterToPageDesc(), SwTOXMark::RegisterToTOXType(), 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(), SwContentNode::SwClientNotify(), SwCursorShell::SwCursorShell(), SwFltAnchor::SwFltAnchor(), SwFormat::SwFormat(), SwFormatField::SwFormatField(), SwNumFormat::SwNumFormat(), SwTableBox::SwTableBox(), SwTableFormatCmp::SwTableFormatCmp(), SwGrammarContact::updateCursorPosition(), and SwCallLink::~SwCallLink().

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

Definition at line 211 of file calbck.hxx.

Referenced by SwViewOptionAdjust_Impl::AdjustViewOptions(), SwTextNode::AppendNode(), SwTableLine::ChgFrameFormat(), SwTableBox::ChgFrameFormat(), SwFEShell::Copy(), SaveBox::CreateNew(), SwIntrnlRefLink::DataChanged(), SwContentNode::DelFrames(), SwCellFrame::DestroyImpl(), SwRowFrame::DestroyImpl(), SwChartDataSequence::dispose(), SwEditShell::FieldToText(), SwGetRefFieldType::FindAnchor(), 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(), SwFormatDrop::Modify(), SwSectionFormat::Modify(), SwRefPageGetFieldType::Modify(), SwCursorShell::MoveFieldType(), SaveTable::NewFrameFormat(), SwFEShell::Paste(), SwReader::Read(), sw::DocumentFieldsManager::RemoveFieldType(), SwFieldRefPage::Reset(), SwContentNode::SetAttr(), SwDoc::SetDefault(), SwFormat::SetFormatAttr(), SwDocStyleSheet::SetItemSet(), SwSetExpFieldType::SetSeqRefNo(), SwTextNode::SplitContentNode(), sw_GetPostIts(), SwDoc::TextToTable(), SwpHints::TryInsertHint(), SwTOXBaseSection::UpdateMarks(), SwSectionFormat::UpdateParent(), SwFormat::~SwFormat(), SwGrfNode::~SwGrfNode(), SwSection::~SwSection(), SwTable::~SwTable(), SwTableBox::~SwTableBox(), SwTableFormatCmp::~SwTableFormatCmp(), and SwTableLine::~SwTableLine().

bool SwModify::IsInCache ( ) const
inline
bool SwModify::IsInSwFntCache ( ) const
inline

Definition at line 223 of file calbck.hxx.

Referenced by SwFormat::ResetFormatAttr(), and SwFormat::SetFormatAttr().

bool SwModify::IsModifyLocked ( ) const
inline
void SwModify::LockModify ( )
inline
virtual void SwModify::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
inlineoverrideprivatevirtual
void SwModify::ModifyBroadcast ( const SfxPoolItem pOldValue,
const SfxPoolItem pNewValue 
)
inline
void SwModify::NotifyClients ( const SfxPoolItem pOldValue,
const SfxPoolItem pNewValue 
)
SwModify& SwModify::operator= ( const SwModify )
privatedelete
SwClient * SwModify::Remove ( SwClient pDepend)
void SwModify::SetInCache ( bool  bNew)
inline
void SwModify::SetInDocDTOR ( )
void SwModify::SetInSwFntCache ( bool  bNew)
inline
void SwModify::UnlockModify ( )
inline

Friends And Related Function Documentation

friend class sw::ClientIteratorBase
friend

Definition at line 173 of file calbck.hxx.

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

Definition at line 174 of file calbck.hxx.

Member Data Documentation

bool SwModify::m_bInCache
private

Definition at line 178 of file calbck.hxx.

bool SwModify::m_bInSwFntCache
private

Definition at line 179 of file calbck.hxx.

bool SwModify::m_bLockClientList
private

Definition at line 177 of file calbck.hxx.

bool SwModify::m_bModifyLocked
private

Definition at line 176 of file calbck.hxx.

sw::WriterListener* SwModify::m_pWriterListeners
private

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