|
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 |
Public Member Functions inherited from SwClient | |
| 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 | |
| virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from SwClient | |
| 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 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 180 of file calbck.hxx.
|
privatedelete |
|
inline |
Definition at line 193 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 SwClient::CheckRegistration(), sw::ListenerEntry::operator=(), SwClient::StartListeningToSameModifyAs(), SwClient::SwClient(), and SwDeleteListener::SwDeleteListener().
|
virtual |
Definition at line 317 of file calbck.cxx.
References DBG_TESTSOLARMUTEX, SwIterator< TElementType, TSource, eMode >::First(), and SwIterator< TElementType, TSource, eMode >::Next().
|
overridevirtual |
Reimplemented from SwClient.
Definition at line 161 of file calbck.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), and SwIterator< TElementType, TSource, eMode >::Next().
|
inline |
Definition at line 205 of file calbck.hxx.
References sw::WriterListener::IsLast().
|
inline |
Definition at line 204 of file calbck.hxx.
|
inline |
Definition at line 212 of file calbck.hxx.
|
inline |
Definition at line 210 of file calbck.hxx.
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(), TextNodeListener::StopListening(), SwDeleteListener::SwClientNotify(), and SwDeleteListener::~SwDeleteListener().
Reimplemented from SwClient.
Definition at line 303 of file calbck.cxx.
References DBG_TESTSOLARMUTEX, and SfxHint::GetId().
Referenced by sw::ClientNotifyAttrChg(), SwFormat::SwClientNotify(), and ~SwModify().
|
inline |
Definition at line 211 of file calbck.hxx.
|
friend |
Definition at line 182 of file calbck.hxx.
|
friend |
|
friend |
Definition at line 184 of file calbck.hxx.
|
private |
Definition at line 186 of file calbck.hxx.
|
private |
Definition at line 185 of file calbck.hxx.
Referenced by sw::ClientIteratorBase::ClientIteratorBase(), and sw::ClientIteratorBase::GoStart().