LibreOffice Module sw (master) 1
|
#include <calbck.hxx>
Public Member Functions | |
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 | |
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 Attributes | |
SwModify * | m_pRegisteredIn |
event source More... | |
Friends | |
class | SwModify |
class | sw::ClientIteratorBase |
class | sw::ListenerEntry |
template<typename E , typename S , sw::IteratorMode > | |
class | SwIterator |
Definition at line 131 of file calbck.hxx.
|
inlineexplicitprotected |
Definition at line 408 of file calbck.hxx.
References SwModify::Add().
|
inline |
Definition at line 152 of file calbck.hxx.
|
noexcept |
Definition at line 58 of file calbck.cxx.
|
overridevirtual |
Definition at line 68 of file calbck.cxx.
References DBG_TESTSOLARMUTEX.
std::optional< sw::ModifyChangedHint > SwClient::CheckRegistration | ( | const SfxPoolItem * | pOldValue | ) |
Definition at line 77 of file calbck.cxx.
References SwModify::Add(), DBG_TESTSOLARMUTEX, GetRegisteredIn(), SwPtrMsgPoolItem::pObject, RES_OBJECTDYING(), and SfxPoolItem::Which().
Referenced by SwSection::Notify(), SwEndNoteInfo::SwClientNotify(), SwLineNumberInfo::SwClientNotify(), SwNumFormat::SwClientNotify(), SwTable::SwClientNotify(), and sw::ListenerEntry::SwClientNotify().
void SwClient::CheckRegistrationFormat | ( | SwFormat & | rOld | ) |
Definition at line 107 of file calbck.cxx.
References SwFormat::DerivedFrom(), and SAL_INFO.
void SwClient::EndListeningAll | ( | ) |
Definition at line 136 of file calbck.cxx.
Referenced by sw::CheckParaRedlineMerge(), SwCallMouseEvent::Clear(), SwTextRuby::GetCharFormat(), SwTextINetFormat::GetCharFormat(), sw::Meta::NotifyChangeTextNode(), SwContentControl::NotifyChangeTextNode(), SwNumFormat::SetCharFormat(), SwFormatDrop::SetCharFormat(), SwDoc::SetFrameFormatToFly(), SwFormatChain::SetNext(), SwFormatChain::SetPrev(), SwCursorShell::SwClientNotify(), SwFormat::SwClientNotify(), SwAutoCompleteClient::SwClientNotify(), SwFormatPageDesc::SwClientNotify(), SwContentNode::SwClientNotify(), SwNumFormat::SwNumFormat(), and SwCursorShell::~SwCursorShell().
|
inlinevirtual |
Reimplemented in SwModify, SwContentNode, SwPageDesc, SwFormatDrop, SwSectionFormat, SwTable, SwFlyFrame, SwPageFrame, SwTextFrame, SwTabFrame, sw::ListenerEntry, SwFormatCharFormat, SwFormatField, SwFlyFrameFormat, SwTextRuby, and SwTextINetFormat.
Definition at line 171 of file calbck.hxx.
Referenced by sw::ListenerEntry::GetInfo().
|
inline |
Definition at line 165 of file calbck.hxx.
|
inline |
Definition at line 164 of file calbck.hxx.
Referenced by SwSectionFrame::CalcEndAtEndFlag(), SwSectionFrame::CalcFootnoteAtEndFlag(), checkApplyParagraphMarkFormatToNumbering(), CheckRegistration(), SwDoc::ChgPageDesc(), SwContentNode::ChkCondColl(), SwDrawContact::ConnectToLayout(), SwDoc::CopyFormat(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwFormat::DerivedFrom(), SwSection::dumpAsXml(), SwContentNode::GetAnyFormatColl(), SwFormatCharFormat::GetCharFormat(), SwNumFormat::GetCharFormat(), SwLineNumberInfo::GetCharFormat(), SwNumFormat::GetCharFormatName(), SwFrame::GetDep(), SwSectionFrame::GetEndSectFormat_(), SwFormatFooter::GetFooterFormat(), SwContact::GetFormat(), SwSection::GetFormat(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwNoTextNode::GetGrfColl(), SwFormatHeader::GetHeaderFormat(), SwContentNode::GetNoCondAttr(), SwFormatPageDesc::GetPageDesc(), SwSectionFormat::GetParent(), SwFormatChain::GetPrev(), SwTextNode::GetTextColl(), SwCollCondition::GetTextFormatColl(), SwTOXBase::GetTOXType(), SwLineNumberInfo::HasCharFormat(), SwRegHistory::InsertItems(), SwSectionFrame::IsDescendantFrom(), SwFormatPageDesc::KnowsPageDesc(), lcl_TableInfo(), SwRegHistory::MakeSetWhichIds(), SwContact::MoveObjToLayer(), sw::Meta::NotifyChangeTextNode(), SwContentControl::NotifyChangeTextNode(), SwFormat::operator=(), sw::ListenerEntry::operator=(), SwFormatHeader::operator==(), SwFormatFooter::operator==(), SwNumFormat::operator==(), MSWordExportBase::OutputSectionBreaks(), SwDrawContact::RemoveMasterFromDrawPage(), SwContentNode::SetCondFormatColl(), SwPageDesc::StashFrameFormat(), SwFormat::SwClientNotify(), SwLineNumberInfo::SwClientNotify(), SwTextNode::SwClientNotify(), SwSectionFormat::SwClientNotify(), SwContentNode::SwClientNotify(), SwCallMouseEvent::SwClientNotify(), SwTOXBase::SwClientNotify(), SwTOXType::SwTOXType(), SwTextNode::TriggerNodeUpdate(), SwTOXBaseSection::UpdateMarks(), SwSectionFormat::UpdateParent(), and MSWordExportBase::WriteText().
|
inlineprotected |
Definition at line 146 of file calbck.hxx.
Referenced by SwDrawContact::Changed_(), SwFrame::GetDep(), and SwContact::MoveObjToLayer().
void SwClient::StartListeningToSameModifyAs | ( | const SwClient & | other | ) |
Definition at line 128 of file calbck.cxx.
References SwModify::Add(), and m_pRegisteredIn.
Referenced by SwAutoCompleteClient::operator=(), SwFormat::operator=(), SwLineNumberInfo::operator=(), SwNumFormat::operator=(), and SwLineNumberInfo::SwLineNumberInfo().
Implements sw::WriterListener.
Reimplemented in SwAuthorityFieldType, SwCursorShell, SwRefPageSetFieldType, SwRefPageGetFieldType, SwGetExpFieldType, SwSetExpFieldType, SwFormatCharFormat, SwTextFormatColl, SwFormatFootnote, sw::Meta, SwFormatRefMark, SwFormat, SwContentControl, SwFormatLineBreak, SwFrameFormat, SwEndNoteInfo, SwLineNumberInfo, SwTextNode, SwNumFormat, SwPageDesc, SwFormatDrop, SwGetRefFieldType, SwSection, SwSectionFormat, SwDDETable, SwTable, SwTableBoxFormat, SwTextRuby, SwTextINetFormat, SwUserFieldType, SwAutoCompleteClient, sw::mark::MarkBase, SwCellFrame, SwContentFrame, SwFlyLayFrame, SwFlyAtContentFrame, SwFlyInContentFrame, SwFrame, SwNoTextFrame, SwPageFrame, SwRowFrame, SwSectionFrame, SwTabFrame, SwUndoFormatAttrHelper, SwUndoSetFlyFormat, TextNodeListener, SwModify, SwContact, SwFlyDrawContact, SwDrawContact, SwDeleteListener, SwFormatPageDesc, SwContentNode, SwRegHistory, SwCallMouseEvent, SwTOXBase, SwFlyFrame, sw::ListenerEntry, SwFormatField, SwTOXBaseSection, and SwTextFrame.
Definition at line 120 of file calbck.cxx.
References SfxHint::GetId().
Referenced by SwDrawContact::SwClientNotify(), SwCallMouseEvent::SwClientNotify(), SwTOXBase::SwClientNotify(), sw::ListenerEntry::SwClientNotify(), and SwFormatField::SwClientNotify().
|
friend |
Definition at line 135 of file calbck.hxx.
|
friend |
Definition at line 136 of file calbck.hxx.
|
friend |
Definition at line 137 of file calbck.hxx.
|
friend |
Definition at line 134 of file calbck.hxx.
|
private |
event source
Definition at line 139 of file calbck.hxx.
Referenced by SwModify::Add(), SwModify::Remove(), and StartListeningToSameModifyAs().