LibreOffice Module sw (master)
1
|
#include <rolbck.hxx>
Public Member Functions | |
SwRegHistory (SwHistory *pHst) | |
SwRegHistory (const SwNode &rNd, SwHistory *pHst) | |
SwRegHistory (sw::BroadcastingModify *pRegIn, const SwNode &rNd, SwHistory *pHst) | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
bool | InsertItems (const SfxItemSet &rSet, sal_Int32 const nStart, sal_Int32 const nEnd, SetAttrMode const nFlags, SwTextAttr **ppNewTextAttr) |
void | AddHint (SwTextAttr *pHt, const bool bNew) |
void | RegisterInModify (sw::BroadcastingModify *pRegIn, const SwNode &rNd) |
void | ChangeNodeIndex (sal_uLong nNew) |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< 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 |
Private Member Functions | |
void | MakeSetWhichIds () |
Private Attributes | |
o3tl::sorted_vector< sal_uInt16 > | m_WhichIdSet |
SwHistory *const | m_pHistory |
sal_uLong | m_nNodeIndex |
Additional Inherited Members | |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
Definition at line 412 of file rolbck.hxx.
SwRegHistory::SwRegHistory | ( | SwHistory * | pHst | ) |
Definition at line 1363 of file rolbck.cxx.
References MakeSetWhichIds().
Definition at line 1380 of file rolbck.cxx.
References MakeSetWhichIds().
SwRegHistory::SwRegHistory | ( | sw::BroadcastingModify * | pRegIn, |
const SwNode & | rNd, | ||
SwHistory * | pHst | ||
) |
Definition at line 1371 of file rolbck.cxx.
References MakeSetWhichIds().
void SwRegHistory::AddHint | ( | SwTextAttr * | pHt, |
const bool | bNew | ||
) |
Definition at line 1431 of file rolbck.cxx.
References SwHistory::Add(), m_nNodeIndex, and m_pHistory.
Referenced by SwpHints::NoteInHistory().
Definition at line 436 of file rolbck.hxx.
Referenced by SwTextNode::InsertHint().
bool SwRegHistory::InsertItems | ( | const SfxItemSet & | rSet, |
sal_Int32 const | nStart, | ||
sal_Int32 const | nEnd, | ||
SetAttrMode const | nFlags, | ||
SwTextAttr ** | ppNewTextAttr | ||
) |
Definition at line 1436 of file rolbck.cxx.
References assert(), SfxItemSet::Count(), SwpHints::DeRegister(), SfxItemIter::GetCurItem(), SwTextNode::GetOrCreateSwpHints(), SwTextNode::GetpSwpHints(), SwClient::GetRegisteredIn(), SwHistoryResetText::GetWhich(), isCHRATR(), m_pHistory, SwHistory::m_SwpHstry, SfxItemIter::NextItem(), SwpHints::Register(), RES_TXTATR_AUTOFMT(), RES_TXTATR_UNKNOWN_CONTAINER(), and SwTextNode::SetAttr().
|
private |
Definition at line 1510 of file rolbck.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::clear(), SfxItemSet::Count(), SfxItemIter::GetCurItem(), SwClient::GetRegisteredIn(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), m_pHistory, m_WhichIdSet, and SfxItemIter::NextItem().
Referenced by RegisterInModify(), and SwRegHistory().
void SwRegHistory::RegisterInModify | ( | sw::BroadcastingModify * | pRegIn, |
const SwNode & | rNd | ||
) |
Definition at line 1496 of file rolbck.cxx.
References SwModify::Add(), o3tl::sorted_vector< Value, Compare, Find, class >::clear(), SwNode::GetIndex(), m_nNodeIndex, m_pHistory, m_WhichIdSet, and MakeSetWhichIds().
Referenced by SwDoc::ClearLineNumAttrs().
Reimplemented from SwClient.
Definition at line 1388 of file rolbck.cxx.
References SwHistory::Add(), o3tl::sorted_vector< Value, Compare, Find, class >::count(), SfxItemSet::Count(), m_nNodeIndex, m_pHistory, SwHistory::m_SwpHstry, m_WhichIdSet, POOLATTR_END(), RES_ATTRSET_CHG(), and RES_UPDATE_ATTR().
|
private |
Definition at line 417 of file rolbck.hxx.
Referenced by AddHint(), RegisterInModify(), and SwClientNotify().
|
private |
Definition at line 416 of file rolbck.hxx.
Referenced by AddHint(), InsertItems(), MakeSetWhichIds(), RegisterInModify(), and SwClientNotify().
|
private |
Definition at line 415 of file rolbck.hxx.
Referenced by MakeSetWhichIds(), RegisterInModify(), and SwClientNotify().