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

#include <rolbck.hxx>

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

Public Member Functions

 SwHistoryResetText (sal_uInt16 nWhich, sal_Int32 nStt, sal_Int32 nEnd, sal_uLong nNode)
 
virtual void SetInDoc (SwDoc *pDoc, bool bTmpSet) override
 
sal_uInt16 GetWhich () const
 
sal_uLong GetNode () const
 
sal_Int32 GetContent () const
 
- Public Member Functions inherited from SwHistoryHint
 SwHistoryHint (HISTORY_HINT eWhich)
 
virtual ~SwHistoryHint ()
 
HISTORY_HINT Which () const
 
virtual OUString GetDescription () const
 

Private Attributes

const sal_uLong m_nNodeIndex
 
const sal_Int32 m_nStart
 
const sal_Int32 m_nEnd
 
const sal_uInt16 m_nAttr
 

Detailed Description

Definition at line 179 of file rolbck.hxx.

Constructor & Destructor Documentation

SwHistoryResetText::SwHistoryResetText ( sal_uInt16  nWhich,
sal_Int32  nStt,
sal_Int32  nEnd,
sal_uLong  nNode 
)

Definition at line 394 of file rolbck.cxx.

References HSTRY_RESETTXTHNT.

Member Function Documentation

sal_Int32 SwHistoryResetText::GetContent ( ) const
inline

Definition at line 193 of file rolbck.hxx.

References m_nStart.

Referenced by SwUndoAttr::RemoveIdx().

sal_uLong SwHistoryResetText::GetNode ( ) const
inline

Definition at line 192 of file rolbck.hxx.

References m_nNodeIndex.

Referenced by SwUndoAttr::RemoveIdx().

sal_uInt16 SwHistoryResetText::GetWhich ( ) const
inline

Definition at line 191 of file rolbck.hxx.

References m_nAttr.

Referenced by SwRegHistory::InsertItems(), and SwUndoAttr::RemoveIdx().

void SwHistoryResetText::SetInDoc ( SwDoc pDoc,
bool  bTmpSet 
)
overridevirtual

Implements SwHistoryHint.

Definition at line 402 of file rolbck.cxx.

References SwTextNode::DeleteAttributes(), SwDoc::GetNodes(), m_nAttr, m_nEnd, m_nNodeIndex, and m_nStart.

Member Data Documentation

const sal_uInt16 SwHistoryResetText::m_nAttr
private

Definition at line 184 of file rolbck.hxx.

Referenced by GetWhich(), and SetInDoc().

const sal_Int32 SwHistoryResetText::m_nEnd
private

Definition at line 183 of file rolbck.hxx.

Referenced by SetInDoc().

const sal_uLong SwHistoryResetText::m_nNodeIndex
private

Definition at line 181 of file rolbck.hxx.

Referenced by GetNode(), and SetInDoc().

const sal_Int32 SwHistoryResetText::m_nStart
private

Definition at line 182 of file rolbck.hxx.

Referenced by GetContent(), and SetInDoc().


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