LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | List of all members
SwXTextField::Impl Class Reference
Inheritance diagram for SwXTextField::Impl:
Collaboration diagram for SwXTextField::Impl:

Public Member Functions

 Impl (SwDoc *const pDoc, SwFormatField *const pFormat, SwServiceType nServiceId)
virtual ~Impl () override
void SetFormatField (SwFormatField *pFormatField, SwDoc *pDoc)
SwFormatFieldGetFormatField ()
bool IsDescriptor () const
void Invalidate ()
const SwFieldGetField () const
SwFieldTypeGetFieldType () const
void SetFieldType (SwFieldType &rType)
void ClearFieldType ()
virtual void Notify (const SfxHint &) override
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 SvtListener (const SvtListener &r)=default
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
bool StartListening (SvtBroadcaster &rBroadcaster)
void EndListening (SvtBroadcaster &rBroadcaster)
void EndListeningAll ()
void CopyAllBroadcasters (const SvtListener &r)
bool HasBroadcaster () const
virtual void Notify (const SfxHint &rHint)
virtual void Query (QueryBase &rQuery) const

Public Attributes

std::mutex m_Mutex
unotools::WeakReference< SwXTextFieldm_wThis
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_EventListeners
rtl::Reference< SwTextAPIObjectm_xTextObject
bool m_bIsDescriptor
bool m_bCallUpdate
SwServiceType m_nServiceId
OUString m_sTypeName
std::unique_ptr< SwFieldProperties_Impl > m_pProps

Detailed Description

Definition at line 1072 of file unofield.cxx.

Constructor & Destructor Documentation

◆ Impl()

SwXTextField::Impl::Impl ( SwDoc *const  pDoc,
SwFormatField *const  pFormat,
SwServiceType  nServiceId 

Definition at line 1091 of file unofield.cxx.

References StartListening.

◆ ~Impl()

virtual SwXTextField::Impl::~Impl ( )

Definition at line 1106 of file unofield.cxx.

Member Function Documentation

◆ ClearFieldType()

void SwXTextField::Impl::ClearFieldType ( )

Definition at line 1153 of file unofield.cxx.

References SvtListener::EndListeningAll().

◆ GetField()

const SwField * SwXTextField::Impl::GetField ( ) const

Definition at line 2628 of file unofield.cxx.

◆ GetFieldType()

SwFieldType * SwXTextField::Impl::GetFieldType ( ) const

Definition at line 1138 of file unofield.cxx.

References SwFormatField::GetField(), and SwField::GetTyp().

◆ GetFormatField()

SwFormatField * SwXTextField::Impl::GetFormatField ( )

Definition at line 1124 of file unofield.cxx.

◆ Invalidate()

void SwXTextField::Impl::Invalidate ( )

◆ IsDescriptor()

bool SwXTextField::Impl::IsDescriptor ( ) const

Definition at line 1128 of file unofield.cxx.

◆ Notify()

void SwXTextField::Impl::Notify ( const SfxHint rHint)

Reimplemented from SvtListener.

Definition at line 2610 of file unofield.cxx.

References SfxHint::GetId(), RES_OBJECTDYING(), and RES_REMOVE_UNO_OBJECT().

◆ SetFieldType()

void SwXTextField::Impl::SetFieldType ( SwFieldType rType)

Definition at line 1147 of file unofield.cxx.

References StartListening.

◆ SetFormatField()

void SwXTextField::Impl::SetFormatField ( SwFormatField pFormatField,
SwDoc pDoc 

Definition at line 1114 of file unofield.cxx.

References StartListening.

Member Data Documentation

◆ m_bCallUpdate

bool SwXTextField::Impl::m_bCallUpdate

Definition at line 1086 of file unofield.cxx.

◆ m_bIsDescriptor

bool SwXTextField::Impl::m_bIsDescriptor

Definition at line 1085 of file unofield.cxx.

◆ m_EventListeners

::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SwXTextField::Impl::m_EventListeners

Definition at line 1081 of file unofield.cxx.

Referenced by Invalidate().

◆ m_Mutex

std::mutex SwXTextField::Impl::m_Mutex

Definition at line 1076 of file unofield.cxx.

Referenced by Invalidate().

◆ m_nServiceId

SwServiceType SwXTextField::Impl::m_nServiceId

Definition at line 1087 of file unofield.cxx.

◆ m_pDoc

SwDoc* SwXTextField::Impl::m_pDoc

Definition at line 1083 of file unofield.cxx.

Referenced by Invalidate().

◆ m_pFieldType

SwFieldType* SwXTextField::Impl::m_pFieldType

Definition at line 1077 of file unofield.cxx.

◆ m_pFormatField

SwFormatField* SwXTextField::Impl::m_pFormatField

Definition at line 1078 of file unofield.cxx.

Referenced by Invalidate().

◆ m_pProps

std::unique_ptr<SwFieldProperties_Impl> SwXTextField::Impl::m_pProps

Definition at line 1089 of file unofield.cxx.

◆ m_sTypeName

OUString SwXTextField::Impl::m_sTypeName

Definition at line 1088 of file unofield.cxx.

◆ m_wThis

unotools::WeakReference<SwXTextField> SwXTextField::Impl::m_wThis

Definition at line 1080 of file unofield.cxx.

Referenced by Invalidate().

◆ m_xTextObject

rtl::Reference<SwTextAPIObject> SwXTextField::Impl::m_xTextObject

Definition at line 1084 of file unofield.cxx.

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