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

#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, SwNodeOffset nNode)
 
virtual void SetInDoc (SwDoc *pDoc, bool bTmpSet) override
 
sal_uInt16 GetWhich () const
 
SwNodeOffset GetNode () const
 
sal_Int32 GetContent () const
 
- Public Member Functions inherited from SwHistoryHint
 SwHistoryHint (HISTORY_HINT eWhich)
 
virtual ~SwHistoryHint ()
 
virtual void SetInDoc (SwDoc *pDoc, bool bTmpSet)=0
 
HISTORY_HINT Which () const
 
virtual OUString GetDescription () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

const SwNodeOffset m_nNodeIndex
 
const sal_Int32 m_nStart
 
const sal_Int32 m_nEnd
 
const sal_uInt16 m_nAttr
 

Detailed Description

Definition at line 185 of file rolbck.hxx.

Constructor & Destructor Documentation

◆ SwHistoryResetText()

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

Definition at line 430 of file rolbck.cxx.

Member Function Documentation

◆ GetContent()

sal_Int32 SwHistoryResetText::GetContent ( ) const
inline

Definition at line 199 of file rolbck.hxx.

References m_nStart.

Referenced by SwUndoAttr::RemoveIdx().

◆ GetNode()

SwNodeOffset SwHistoryResetText::GetNode ( ) const
inline

Definition at line 198 of file rolbck.hxx.

References m_nNodeIndex.

Referenced by SwUndoAttr::RemoveIdx().

◆ GetWhich()

sal_uInt16 SwHistoryResetText::GetWhich ( ) const
inline

Definition at line 197 of file rolbck.hxx.

References m_nAttr.

Referenced by SwUndoAttr::RemoveIdx().

◆ SetInDoc()

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

Implements SwHistoryHint.

Definition at line 438 of file rolbck.cxx.

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

Member Data Documentation

◆ m_nAttr

const sal_uInt16 SwHistoryResetText::m_nAttr
private

Definition at line 190 of file rolbck.hxx.

Referenced by GetWhich(), and SetInDoc().

◆ m_nEnd

const sal_Int32 SwHistoryResetText::m_nEnd
private

Definition at line 189 of file rolbck.hxx.

Referenced by SetInDoc().

◆ m_nNodeIndex

const SwNodeOffset SwHistoryResetText::m_nNodeIndex
private

Definition at line 187 of file rolbck.hxx.

Referenced by GetNode(), and SetInDoc().

◆ m_nStart

const sal_Int32 SwHistoryResetText::m_nStart
private

Definition at line 188 of file rolbck.hxx.

Referenced by GetContent(), and SetInDoc().


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