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

#include <rolbck.hxx>

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

Public Member Functions

 SwHistorySetTextField (SwTextField *pTextField, sal_uLong nNode)
 
virtual ~SwHistorySetTextField () override
 
virtual void SetInDoc (SwDoc *pDoc, bool bTmpSet) override
 
virtual OUString GetDescription () const override
 
- Public Member Functions inherited from SwHistoryHint
 SwHistoryHint (HISTORY_HINT eWhich)
 
virtual ~SwHistoryHint ()
 
HISTORY_HINT Which () const
 

Private Attributes

std::unique_ptr< SwFieldTypem_pFieldType
 ! beware of the order for the declaration of the unique_ptrs. More...
 
const std::unique_ptr< SwFormatFieldm_pField
 
sal_uLong m_nNodeIndex
 
sal_Int32 m_nPos
 
SwFieldIds m_nFieldWhich
 

Detailed Description

Definition at line 130 of file rolbck.hxx.

Constructor & Destructor Documentation

SwHistorySetTextField::SwHistorySetTextField ( SwTextField pTextField,
sal_uLong  nNode 
)
SwHistorySetTextField::~SwHistorySetTextField ( )
overridevirtual

Definition at line 280 of file rolbck.cxx.

Member Function Documentation

OUString SwHistorySetTextField::GetDescription ( ) const
overridevirtual

Reimplemented from SwHistoryHint.

Definition at line 275 of file rolbck.cxx.

References m_pField.

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

Member Data Documentation

SwFieldIds SwHistorySetTextField::m_nFieldWhich
private

Definition at line 139 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().

sal_uLong SwHistorySetTextField::m_nNodeIndex
private

Definition at line 137 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().

sal_Int32 SwHistorySetTextField::m_nPos
private

Definition at line 138 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().

const std::unique_ptr<SwFormatField> SwHistorySetTextField::m_pField
private

Definition at line 135 of file rolbck.hxx.

Referenced by GetDescription(), SetInDoc(), and SwHistorySetTextField().

std::unique_ptr<SwFieldType> SwHistorySetTextField::m_pFieldType
private

! beware of the order for the declaration of the unique_ptrs.

! If they get destroyed in the wrong order sw may crash (namely mail-merge as well)

Definition at line 134 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().


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