LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwRegHistory Class Referencefinal

#include <rolbck.hxx>

Inheritance diagram for SwRegHistory:
[legend]
Collaboration diagram for SwRegHistory:
[legend]

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::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () 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)
 
SwModifyGetRegisteredInNonConst () 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
 

Detailed Description

Definition at line 414 of file rolbck.hxx.

Constructor & Destructor Documentation

◆ SwRegHistory() [1/3]

SwRegHistory::SwRegHistory ( SwHistory pHst)

Definition at line 1355 of file rolbck.cxx.

References MakeSetWhichIds().

◆ SwRegHistory() [2/3]

SwRegHistory::SwRegHistory ( const SwNode rNd,
SwHistory pHst 
)

Definition at line 1372 of file rolbck.cxx.

References MakeSetWhichIds().

◆ SwRegHistory() [3/3]

SwRegHistory::SwRegHistory ( sw::BroadcastingModify *  pRegIn,
const SwNode rNd,
SwHistory pHst 
)

Definition at line 1363 of file rolbck.cxx.

References MakeSetWhichIds().

Member Function Documentation

◆ AddHint()

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().

◆ ChangeNodeIndex()

void SwRegHistory::ChangeNodeIndex ( SwNodeOffset  nNew)
inline

Definition at line 438 of file rolbck.hxx.

References m_nNodeIndex.

Referenced by SwTextNode::InsertHint().

◆ InsertItems()

bool SwRegHistory::InsertItems ( const SfxItemSet rSet,
sal_Int32 const  nStart,
sal_Int32 const  nEnd,
SetAttrMode const  nFlags,
SwTextAttr **  ppNewTextAttr 
)

◆ MakeSetWhichIds()

void SwRegHistory::MakeSetWhichIds ( )
private

◆ RegisterInModify()

void SwRegHistory::RegisterInModify ( sw::BroadcastingModify *  pRegIn,
const SwNode rNd 
)

◆ SwClientNotify()

void SwRegHistory::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overridevirtual

Member Data Documentation

◆ m_nNodeIndex

SwNodeOffset SwRegHistory::m_nNodeIndex
private

Definition at line 419 of file rolbck.hxx.

Referenced by AddHint(), ChangeNodeIndex(), RegisterInModify(), and SwClientNotify().

◆ m_pHistory

SwHistory* const SwRegHistory::m_pHistory
private

Definition at line 418 of file rolbck.hxx.

Referenced by AddHint(), InsertItems(), MakeSetWhichIds(), RegisterInModify(), and SwClientNotify().

◆ m_WhichIdSet

o3tl::sorted_vector<sal_uInt16> SwRegHistory::m_WhichIdSet
private

Definition at line 417 of file rolbck.hxx.

Referenced by MakeSetWhichIds(), RegisterInModify(), and SwClientNotify().


The documentation for this class was generated from the following files: