LibreOffice Module sw (master) 1
|
#include <calbck.hxx>
Public Member Functions | |
SwModify () | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
bool | HasOnlyOneListener () const |
virtual bool | GetInfo (SfxPoolItem &) const override |
void | LockModify () |
void | UnlockModify () |
bool | IsModifyLocked () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
![]() | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
Protected Member Functions | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Private Member Functions | |
SwModify (SwModify const &)=delete | |
SwModify & | operator= (const SwModify &)=delete |
Private Attributes | |
sw::WriterListener * | m_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 &) |
Definition at line 178 of file calbck.hxx.
|
privatedelete |
|
inline |
Definition at line 191 of file calbck.hxx.
|
overridevirtual |
Definition at line 142 of file calbck.cxx.
References DBG_TESTSOLARMUTEX, RES_OBJECTDYING(), SAL_WARN, and SwClientNotify().
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().
|
virtual |
Reimplemented in sw::BroadcastingModify.
Definition at line 317 of file calbck.cxx.
References DBG_TESTSOLARMUTEX, SwIterator< TElementType, TSource, eMode >::First(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by sw::BroadcastingModify::CallSwClientNotify().
|
overridevirtual |
Reimplemented from SwClient.
Reimplemented in SwContentNode, SwPageDesc, SwSectionFormat, SwFormatField, and SwFlyFrameFormat.
Definition at line 161 of file calbck.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by SwContentType::FillMemberList(), SwContentNode::GetInfo(), SwPageDesc::GetInfo(), SwSectionFormat::GetInfo(), SwFlyFrameFormat::GetInfo(), SwFrame::GetVirtPageNum(), SwXTextTableStyle::isInUse(), sw::DocumentStylePoolManager::IsPoolFormatUsed(), sw::DocumentStylePoolManager::IsPoolTextCollUsed(), and SwDoc::IsUsed().
|
inline |
Definition at line 203 of file calbck.hxx.
References sw::WriterListener::IsLast().
Referenced by SwShareBoxFormats::ChangeFrameFormat(), SwColumnFrame::DestroyImpl(), SwDDETable::~SwDDETable(), and SwFormatField::~SwFormatField().
|
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().
|
inline |
Definition at line 210 of file calbck.hxx.
Referenced by SwInputField::applyFieldContent(), SwTableBoxFormat::BoxAttributeChanged(), SwContentNode::ChgFormatColl(), SwFormat::DelDiffs(), SwTextFormatColl::FormatDropNotify(), SwXMLTableContext::GetSharedBoxFormat(), lcl_ChgTableSize(), lcl_RstAttr(), SwContentNode::ResetAllAttr(), SwFormat::ResetAllFormatAttr(), SwContentNode::ResetAttr(), SwFormat::ResetFormatAttr(), SwTextFlyCnt::SetAnchor(), SwContentNode::SetAttr(), SwContentNode::SetCondFormatColl(), SwFormat::SetFormatAttr(), SwTableBoxFormat::SwClientNotify(), SwUserFieldType::SwClientNotify(), and SwDDEFieldType::UpdateDDE().
|
inline |
Definition at line 208 of file calbck.hxx.
Referenced by SwFEShell::AlignFormulaToBaseline(), SwTableBoxFormat::BoxAttributeChanged(), SwDDETable::ChangeContent(), SwTableBox::CheckBoxFormat(), SwFlyFreeFrame::CheckClip(), SwDoc::ChkBoxNumFormat(), SwTableBox::ClaimFrameFormat(), HTMLTable::FixFrameFormat(), SwXMLTableContext::GetSharedBoxFormat(), lcl_ChgTableSize(), lcl_LastBoxSetWidth(), lcl_ModifyBoxes(), lcl_RstAttr(), SwFlyAtContentFrame::MakeAll(), SwFlyInContentFrame::MakeObjPos(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), SwNodes::MergeTable(), MoveCol(), MoveRow(), SwSectionNode::NodesArrChgd(), SwUndoTableNumFormat::RedoImpl(), SwTextFlyCnt::SetAnchor(), SwDoc::SetTableBoxFormulaAttrs(), SwUserFieldType::SwClientNotify(), SwSectionFormat::SwSectionFormat(), SwSectionNode::SwSectionNode(), SwFlyFrame::UpdateAttr_(), SwDDEFieldType::UpdateDDE(), SwTableLine::UpdateTextChangesOnly(), SwSectionFormat::~SwSectionFormat(), and SwSectionNode::~SwSectionNode().
Definition at line 225 of file calbck.cxx.
References DBG_TESTSOLARMUTEX, sw::WriterListener::m_pLeft, SwClient::m_pRegisteredIn, sw::WriterListener::m_pRight, and sw::ClientIteratorBase::s_pClientIters.
Referenced by Add(), SwCellFrame::DestroyImpl(), SwRowFrame::DestroyImpl(), lcl_DelHFFormat(), SwDoc::SetDefault(), TextNodeListener::StopListening(), SwDeleteListener::SwClientNotify(), SwTOXBase::SwClientNotify(), SwDeleteListener::~SwDeleteListener(), SwFormatField::~SwFormatField(), SwSection::~SwSection(), SwTable::~SwTable(), SwTableBox::~SwTableBox(), and SwTableLine::~SwTableLine().
Reimplemented from SwClient.
Reimplemented in SwAuthorityFieldType, SwCursorShell, SwRefPageSetFieldType, SwRefPageGetFieldType, SwGetExpFieldType, SwSetExpFieldType, SwTextFormatColl, SwFormatFootnote, sw::Meta, SwFormatRefMark, SwFormat, SwContentControl, SwFormatLineBreak, SwFrameFormat, SwTextNode, SwPageDesc, SwGetRefFieldType, SwSectionFormat, SwTableBoxFormat, SwUserFieldType, sw::mark::MarkBase, SwContentNode, and SwFormatField.
Definition at line 303 of file calbck.cxx.
References DBG_TESTSOLARMUTEX, and SfxHint::GetId().
Referenced by sw::ClientNotifyAttrChg(), SwFieldType::PrintHiddenPara(), SwFormat::SwClientNotify(), and ~SwModify().
|
inline |
Definition at line 209 of file calbck.hxx.
Referenced by SwFEShell::AlignFormulaToBaseline(), SwTableBoxFormat::BoxAttributeChanged(), SwDDETable::ChangeContent(), SwTableBox::CheckBoxFormat(), SwFlyFreeFrame::CheckClip(), SwDoc::ChkBoxNumFormat(), SwTableBox::ClaimFrameFormat(), HTMLTable::FixFrameFormat(), lcl_ChgTableSize(), lcl_LastBoxSetWidth(), lcl_ModifyBoxes(), lcl_RstAttr(), SwFlyAtContentFrame::MakeAll(), SwFlyInContentFrame::MakeObjPos(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), SwXMLTableContext::MakeTableBox(), SwNodes::MergeTable(), MoveCol(), MoveRow(), SwSectionNode::NodesArrChgd(), SwUndoTableNumFormat::RedoImpl(), SwTextFlyCnt::SetAnchor(), SwDoc::SetTableBoxFormulaAttrs(), SwUserFieldType::SwClientNotify(), SwSectionFormat::SwSectionFormat(), SwSectionNode::SwSectionNode(), SwFlyFrame::UpdateAttr_(), SwDDEFieldType::UpdateDDE(), SwTableLine::UpdateTextChangesOnly(), SwSectionFormat::~SwSectionFormat(), and SwSectionNode::~SwSectionNode().
|
friend |
Definition at line 180 of file calbck.hxx.
|
friend |
|
friend |
Definition at line 182 of file calbck.hxx.
|
private |
Definition at line 184 of file calbck.hxx.
|
private |
Definition at line 183 of file calbck.hxx.
Referenced by sw::ClientIteratorBase::ClientIteratorBase(), and sw::ClientIteratorBase::GoStart().