LibreOffice Module sw (master)  1
Public Member Functions | Public Attributes | Private 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 ()
 
 SvtListener (const SvtListener &r)
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
bool EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Query (QueryBase &rQuery) const
 

Public Attributes

uno::WeakReference< uno::XInterface > m_wThis
 
::comphelper::OInterfaceContainerHelper2 m_EventListeners
 
SwDocm_pDoc
 
rtl::Reference< SwTextAPIObjectm_xTextObject
 
bool m_bIsDescriptor
 
bool m_bCallUpdate
 
SwServiceType const m_nServiceId
 
OUString m_sTypeName
 
std::unique_ptr< SwFieldProperties_Implm_pProps
 

Private Attributes

::osl::Mutex m_Mutex
 
SwFieldTypem_pFieldType
 
SwFormatFieldm_pFormatField
 

Detailed Description

Definition at line 1115 of file unofield.cxx.

Constructor & Destructor Documentation

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

Definition at line 1135 of file unofield.cxx.

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

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

Definition at line 1151 of file unofield.cxx.

Member Function Documentation

void SwXTextField::Impl::ClearFieldType ( )
inline

Definition at line 1198 of file unofield.cxx.

References SvtListener::EndListeningAll().

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

Definition at line 2682 of file unofield.cxx.

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

Definition at line 1183 of file unofield.cxx.

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

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

Definition at line 1169 of file unofield.cxx.

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

Definition at line 1173 of file unofield.cxx.

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

Reimplemented from SvtListener.

Definition at line 2665 of file unofield.cxx.

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

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

Definition at line 1192 of file unofield.cxx.

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

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

Definition at line 1159 of file unofield.cxx.

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

Member Data Documentation

bool SwXTextField::Impl::m_bCallUpdate

Definition at line 1130 of file unofield.cxx.

bool SwXTextField::Impl::m_bIsDescriptor

Definition at line 1129 of file unofield.cxx.

::comphelper::OInterfaceContainerHelper2 SwXTextField::Impl::m_EventListeners

Definition at line 1125 of file unofield.cxx.

Referenced by Invalidate().

::osl::Mutex SwXTextField::Impl::m_Mutex
private

Definition at line 1119 of file unofield.cxx.

SwServiceType const SwXTextField::Impl::m_nServiceId

Definition at line 1131 of file unofield.cxx.

SwDoc* SwXTextField::Impl::m_pDoc

Definition at line 1127 of file unofield.cxx.

Referenced by Invalidate().

SwFieldType* SwXTextField::Impl::m_pFieldType
private

Definition at line 1120 of file unofield.cxx.

SwFormatField* SwXTextField::Impl::m_pFormatField
private

Definition at line 1121 of file unofield.cxx.

Referenced by Invalidate().

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

Definition at line 1133 of file unofield.cxx.

OUString SwXTextField::Impl::m_sTypeName

Definition at line 1132 of file unofield.cxx.

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

Definition at line 1124 of file unofield.cxx.

Referenced by Invalidate().

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

Definition at line 1128 of file unofield.cxx.


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