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 |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () const |
Protected Member Functions | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () 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 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 133 of file calbck.hxx.
|
inlineexplicitprotected |
Definition at line 424 of file calbck.hxx.
References SwModify::Add().
|
inline |
Definition at line 154 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(), SwNumFormat::SetCharFormat(), SwFormatDrop::SetCharFormat(), SwDoc::SetFrameFormatToFly(), SwFormatChain::SetNext(), SwFormatChain::SetPrev(), SwFormatPageDesc::SwClientNotify(), and SwNumFormat::SwNumFormat().
|
inlinevirtual |
Reimplemented in SwModify, SwFormatDrop, SwTable, SwFlyFrame, SwPageFrame, SwTextFrame, SwTabFrame, sw::ListenerEntry, SwFormatCharFormat, SwTextRuby, and SwTextINetFormat.
Definition at line 173 of file calbck.hxx.
Referenced by sw::ListenerEntry::GetInfo().
|
inline |
Definition at line 167 of file calbck.hxx.
|
inline |
Definition at line 166 of file calbck.hxx.
Referenced by checkApplyParagraphMarkFormatToNumbering(), CheckRegistration(), SwDoc::ChgPageDesc(), SwDrawContact::ConnectToLayout(), SwSection::dumpAsXml(), SwFormatCharFormat::GetCharFormat(), SwNumFormat::GetCharFormat(), SwLineNumberInfo::GetCharFormat(), SwNumFormat::GetCharFormatName(), SwFrame::GetDep(), SwFormatFooter::GetFooterFormat(), SwContact::GetFormat(), SwSection::GetFormat(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwFormatHeader::GetHeaderFormat(), SwFormatPageDesc::GetPageDesc(), SwFormatChain::GetPrev(), SwTOXBase::GetTOXType(), SwLineNumberInfo::HasCharFormat(), SwRegHistory::InsertItems(), SwFormatPageDesc::KnowsPageDesc(), lcl_TableInfo(), SwRegHistory::MakeSetWhichIds(), SwContact::MoveObjToLayer(), sw::ListenerEntry::operator=(), SwFormatHeader::operator==(), SwFormatFooter::operator==(), SwNumFormat::operator==(), MSWordExportBase::OutputSectionBreaks(), SwDrawContact::RemoveMasterFromDrawPage(), SwLineNumberInfo::SwClientNotify(), SwCallMouseEvent::SwClientNotify(), SwTOXBaseSection::UpdateMarks(), and MSWordExportBase::WriteText().
|
inlineprotected |
Definition at line 148 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 SwLineNumberInfo::operator=(), SwNumFormat::operator=(), and SwLineNumberInfo::SwLineNumberInfo().
Implements sw::WriterListener.
Reimplemented in SwFormatCharFormat, SwEndNoteInfo, SwLineNumberInfo, SwNumFormat, SwFormatDrop, SwSection, SwDDETable, SwTable, SwTextRuby, SwTextINetFormat, SwCellFrame, SwContentFrame, SwFlyLayFrame, SwFlyAtContentFrame, SwFlyInContentFrame, SwFrame, SwNoTextFrame, SwPageFrame, SwRowFrame, SwSectionFrame, SwTabFrame, SwUndoFormatAttrHelper, SwUndoSetFlyFormat, TextNodeListener, SwModify, SwContact, SwFlyDrawContact, SwDrawContact, SwDeleteListener, SwFormatPageDesc, SwRegHistory, sw::sidebar::WriterInspectorTextPanel, SwCallMouseEvent, SwTOXBase, SwFlyFrame, sw::ListenerEntry, SwTOXBaseSection, and SwTextFrame.
Definition at line 120 of file calbck.cxx.
References SfxHint::GetId().
Referenced by SwDrawContact::SwClientNotify(), sw::sidebar::WriterInspectorTextPanel::SwClientNotify(), SwCallMouseEvent::SwClientNotify(), SwTOXBase::SwClientNotify(), sw::ListenerEntry::SwClientNotify(), and SwFormatField::SwClientNotify().
|
friend |
Definition at line 137 of file calbck.hxx.
|
friend |
Definition at line 138 of file calbck.hxx.
|
friend |
Definition at line 139 of file calbck.hxx.
|
friend |
Definition at line 136 of file calbck.hxx.
|
private |
event source
Definition at line 141 of file calbck.hxx.
Referenced by SwModify::Add(), SwModify::Remove(), and StartListeningToSameModifyAs().