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

#include <rolbck.hxx>

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

Public Member Functions

 SwHistorySetTextField (const SwTextField *pTextField, SwNodeOffset 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 ()
 
virtual void SetInDoc (SwDoc *pDoc, bool bTmpSet)=0
 
HISTORY_HINT Which () const
 
virtual OUString GetDescription () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) 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
 
SwNodeOffset m_nNodeIndex
 
sal_Int32 m_nPos
 
SwFieldIds m_nFieldWhich
 

Detailed Description

Definition at line 135 of file rolbck.hxx.

Constructor & Destructor Documentation

◆ SwHistorySetTextField()

SwHistorySetTextField::SwHistorySetTextField ( const SwTextField pTextField,
SwNodeOffset  nNode 
)

◆ ~SwHistorySetTextField()

SwHistorySetTextField::~SwHistorySetTextField ( )
overridevirtual

Definition at line 309 of file rolbck.cxx.

Member Function Documentation

◆ GetDescription()

OUString SwHistorySetTextField::GetDescription ( ) const
overridevirtual

Reimplemented from SwHistoryHint.

Definition at line 304 of file rolbck.cxx.

References m_pField.

◆ SetInDoc()

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

Member Data Documentation

◆ m_nFieldWhich

SwFieldIds SwHistorySetTextField::m_nFieldWhich
private

Definition at line 144 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().

◆ m_nNodeIndex

SwNodeOffset SwHistorySetTextField::m_nNodeIndex
private

Definition at line 142 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().

◆ m_nPos

sal_Int32 SwHistorySetTextField::m_nPos
private

Definition at line 143 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().

◆ m_pField

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

Definition at line 140 of file rolbck.hxx.

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

◆ m_pFieldType

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 139 of file rolbck.hxx.

Referenced by SetInDoc(), and SwHistorySetTextField().


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