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

#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 (SwModify *pRegIn, const SwNode &rNd, SwHistory *pHst)
 
bool InsertItems (const SfxItemSet &rSet, sal_Int32 const nStart, sal_Int32 const nEnd, SetAttrMode const nFlags)
 
void AddHint (SwTextAttr *pHt, const bool bNew)
 
void RegisterInModify (SwModify *pRegIn, const SwNode &rNd)
 
void ChangeNodeIndex (sal_uLong nNew)
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
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
 

Protected Member Functions

virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void MakeSetWhichIds ()
 

Private Attributes

std::set< sal_uInt16 > m_WhichIdSet
 
SwHistory *const m_pHistory
 
sal_uLong m_nNodeIndex
 

Detailed Description

Definition at line 399 of file rolbck.hxx.

Constructor & Destructor Documentation

SwRegHistory::SwRegHistory ( SwHistory pHst)

Definition at line 1274 of file rolbck.cxx.

References MakeSetWhichIds().

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

Definition at line 1291 of file rolbck.cxx.

References MakeSetWhichIds().

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

Definition at line 1282 of file rolbck.cxx.

References MakeSetWhichIds().

Member Function Documentation

void SwRegHistory::AddHint ( SwTextAttr pHt,
const bool  bNew 
)

Definition at line 1347 of file rolbck.cxx.

References SwHistory::Add(), m_nNodeIndex, and m_pHistory.

Referenced by SwpHints::NoteInHistory().

void SwRegHistory::ChangeNodeIndex ( sal_uLong  nNew)
inline

Definition at line 424 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 
)
void SwRegHistory::MakeSetWhichIds ( )
private
void SwRegHistory::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual
void SwRegHistory::RegisterInModify ( SwModify pRegIn,
const SwNode rNd 
)

Member Data Documentation

sal_uLong SwRegHistory::m_nNodeIndex
private

Definition at line 404 of file rolbck.hxx.

Referenced by AddHint(), Modify(), and RegisterInModify().

SwHistory* const SwRegHistory::m_pHistory
private

Definition at line 403 of file rolbck.hxx.

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

std::set<sal_uInt16> SwRegHistory::m_WhichIdSet
private

Definition at line 402 of file rolbck.hxx.

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


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