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

#include <rolbck.hxx>

Inheritance diagram for SwHistoryResetText:
Collaboration diagram for SwHistoryResetText:

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 ()
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 182 of file rolbck.hxx.

Constructor & Destructor Documentation

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

Definition at line 429 of file rolbck.cxx.

Member Function Documentation

sal_Int32 SwHistoryResetText::GetContent ( ) const

Definition at line 196 of file rolbck.hxx.

References m_nStart.

Referenced by SwUndoAttr::RemoveIdx().

SwNodeOffset SwHistoryResetText::GetNode ( ) const

Definition at line 195 of file rolbck.hxx.

References m_nNodeIndex.

Referenced by SwUndoAttr::RemoveIdx().

sal_uInt16 SwHistoryResetText::GetWhich ( ) const

Definition at line 194 of file rolbck.hxx.

References m_nAttr.

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

void SwHistoryResetText::SetInDoc ( SwDoc pDoc,
bool  bTmpSet 

Implements SwHistoryHint.

Definition at line 437 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

Definition at line 187 of file rolbck.hxx.

Referenced by GetWhich(), and SetInDoc().

const sal_Int32 SwHistoryResetText::m_nEnd

Definition at line 186 of file rolbck.hxx.

Referenced by SetInDoc().

const SwNodeOffset SwHistoryResetText::m_nNodeIndex

Definition at line 184 of file rolbck.hxx.

Referenced by GetNode(), and SetInDoc().

const sal_Int32 SwHistoryResetText::m_nStart

Definition at line 185 of file rolbck.hxx.

Referenced by GetContent(), and SetInDoc().

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