|
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 (SwNodeOffset nNew) |
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 |
Private Member Functions | |
| void | MakeSetWhichIds () |
Private Attributes | |
| o3tl::sorted_vector< sal_uInt16 > | m_WhichIdSet |
| SwHistory *const | m_pHistory |
| SwNodeOffset | m_nNodeIndex |
Additional Inherited Members | |
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 |
Definition at line 414 of file rolbck.hxx.
| SwRegHistory::SwRegHistory | ( | SwHistory * | pHst | ) |
Definition at line 1355 of file rolbck.cxx.
References MakeSetWhichIds().
Definition at line 1372 of file rolbck.cxx.
References MakeSetWhichIds().
| SwRegHistory::SwRegHistory | ( | sw::BroadcastingModify * | pRegIn, |
| const SwNode & | rNd, | ||
| SwHistory * | pHst | ||
| ) |
Definition at line 1363 of file rolbck.cxx.
References MakeSetWhichIds().
| void SwRegHistory::AddHint | ( | SwTextAttr * | pHt, |
| const bool | bNew | ||
| ) |
Definition at line 1425 of file rolbck.cxx.
References SwHistory::Add(), m_nNodeIndex, and m_pHistory.
Referenced by SwpHints::NoteInHistory().
|
inline |
Definition at line 438 of file rolbck.hxx.
References m_nNodeIndex.
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 1430 of file rolbck.cxx.
References SfxItemSet::Count(), SwpHints::DeRegister(), SfxItemIter::GetCurItem(), SwTextNode::GetOrCreateSwpHints(), SwTextNode::GetpSwpHints(), SwClient::GetRegisteredIn(), isCHRATR(), m_pHistory, SwHistory::m_SwpHstry, SfxItemIter::NextItem(), SwpHints::Register(), RES_TXTATR_AUTOFMT(), RES_TXTATR_UNKNOWN_CONTAINER(), rSet, and SwTextNode::SetAttr().
|
private |
Definition at line 1504 of file rolbck.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SfxItemSet::Count(), SfxItemIter::GetCurItem(), SwClient::GetRegisteredIn(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::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 1490 of file rolbck.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SwNode::GetIndex(), m_nNodeIndex, m_pHistory, m_WhichIdSet, and MakeSetWhichIds().
Referenced by SwDoc::ClearLineNumAttrs(), SwDoc::DelNumRules(), and SwDoc::ReplaceNumRule().
Reimplemented from SwClient.
Definition at line 1380 of file rolbck.cxx.
References SwHistory::Add(), SfxItemSet::Count(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), SfxItemIter::GetCurItem(), SfxHint::GetId(), m_nNodeIndex, m_pHistory, SwHistory::m_SwpHstry, m_WhichIdSet, POOLATTR_END(), RES_ATTRSET_CHG(), RES_UPDATE_ATTR(), and rSet.
|
private |
Definition at line 419 of file rolbck.hxx.
Referenced by AddHint(), ChangeNodeIndex(), RegisterInModify(), and SwClientNotify().
|
private |
Definition at line 418 of file rolbck.hxx.
Referenced by AddHint(), InsertItems(), MakeSetWhichIds(), RegisterInModify(), and SwClientNotify().
|
private |
Definition at line 417 of file rolbck.hxx.
Referenced by MakeSetWhichIds(), RegisterInModify(), and SwClientNotify().