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

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
 
SwFieldTypem_pFieldType
 
SwFormatFieldm_pFormatField
 
uno::WeakReference< uno::XInterface > m_wThis
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_EventListeners
 
SwDocm_pDoc
 
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 1082 of file unofield.cxx.

Constructor & Destructor Documentation

◆ Impl()

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

Definition at line 1101 of file unofield.cxx.

References sw::BroadcasterMixin::GetNotifier(), and StartListening.

◆ ~Impl()

virtual SwXTextField::Impl::~Impl ( )
inlineoverridevirtual

Definition at line 1116 of file unofield.cxx.

Member Function Documentation

◆ ClearFieldType()

void SwXTextField::Impl::ClearFieldType ( )
inline

Definition at line 1163 of file unofield.cxx.

References SvtListener::EndListeningAll().

◆ GetField()

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

Definition at line 2632 of file unofield.cxx.

◆ GetFieldType()

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

Definition at line 1148 of file unofield.cxx.

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

◆ GetFormatField()

SwFormatField * SwXTextField::Impl::GetFormatField ( )
inline

Definition at line 1134 of file unofield.cxx.

◆ Invalidate()

void SwXTextField::Impl::Invalidate ( )

◆ IsDescriptor()

bool SwXTextField::Impl::IsDescriptor ( ) const
inline

Definition at line 1138 of file unofield.cxx.

◆ Notify()

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

Reimplemented from SvtListener.

Definition at line 2614 of file unofield.cxx.

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

◆ SetFieldType()

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

Definition at line 1157 of file unofield.cxx.

References sw::BroadcasterMixin::GetNotifier(), and StartListening.

◆ SetFormatField()

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

Definition at line 1124 of file unofield.cxx.

References sw::BroadcasterMixin::GetNotifier(), and StartListening.

Member Data Documentation

◆ m_bCallUpdate

bool SwXTextField::Impl::m_bCallUpdate

Definition at line 1096 of file unofield.cxx.

◆ m_bIsDescriptor

bool SwXTextField::Impl::m_bIsDescriptor

Definition at line 1095 of file unofield.cxx.

◆ m_EventListeners

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

Definition at line 1091 of file unofield.cxx.

Referenced by Invalidate().

◆ m_Mutex

std::mutex SwXTextField::Impl::m_Mutex

Definition at line 1086 of file unofield.cxx.

Referenced by Invalidate().

◆ m_nServiceId

SwServiceType SwXTextField::Impl::m_nServiceId

Definition at line 1097 of file unofield.cxx.

◆ m_pDoc

SwDoc* SwXTextField::Impl::m_pDoc

Definition at line 1093 of file unofield.cxx.

Referenced by Invalidate().

◆ m_pFieldType

SwFieldType* SwXTextField::Impl::m_pFieldType

Definition at line 1087 of file unofield.cxx.

◆ m_pFormatField

SwFormatField* SwXTextField::Impl::m_pFormatField

Definition at line 1088 of file unofield.cxx.

Referenced by Invalidate().

◆ m_pProps

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

Definition at line 1099 of file unofield.cxx.

◆ m_sTypeName

OUString SwXTextField::Impl::m_sTypeName

Definition at line 1098 of file unofield.cxx.

◆ m_wThis

uno::WeakReference<uno::XInterface> SwXTextField::Impl::m_wThis

Definition at line 1090 of file unofield.cxx.

Referenced by Invalidate().

◆ m_xTextObject

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

Definition at line 1094 of file unofield.cxx.


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