LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SwXMeta::Impl Class Reference

the Meta has a cached list of text portions for its contents this list is created by SwXTextPortionEnumeration the Meta listens at the SwTextNode and throws away the cache when it changes More...

Inheritance diagram for SwXMeta::Impl:
[legend]
Collaboration diagram for SwXMeta::Impl:
[legend]

Public Member Functions

 Impl (SwXMeta &rThis, SwDoc &rDoc, ::sw::Meta *const pMeta, uno::Reference< text::XText > xParentText, std::unique_ptr< TextRangeList_t const > pPortions)
 
const ::sw::MetaGetMeta () const
 
const ::sw::MetaFieldGetMetaField () const
 
- 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

unotools::WeakReference< SwXMetam_wThis
 
std::mutex m_Mutex
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_EventListeners
 
std::unique_ptr< const TextRangeList_tm_pTextPortions
 
bool m_bIsDisposed
 
bool m_bIsDescriptor
 
uno::Reference< text::XText > m_xParentText
 
rtl::Reference< SwXMetaText > m_xText
 
sw::Metam_pMeta
 

Protected Member Functions

virtual void Notify (const SfxHint &rHint) override
 

Detailed Description

the Meta has a cached list of text portions for its contents this list is created by SwXTextPortionEnumeration the Meta listens at the SwTextNode and throws away the cache when it changes

This inner part of SwXMeta is deleted with a locked SolarMutex.

Definition at line 581 of file unorefmk.cxx.

Constructor & Destructor Documentation

◆ Impl()

SwXMeta::Impl::Impl ( SwXMeta rThis,
SwDoc rDoc,
::sw::Meta *const  pMeta,
uno::Reference< text::XText >  xParentText,
std::unique_ptr< TextRangeList_t const >  pPortions 
)
inline

Definition at line 595 of file unorefmk.cxx.

References m_bIsDescriptor, m_pMeta, and SvtListener::StartListening().

Member Function Documentation

◆ GetMeta()

const ::sw::Meta * SwXMeta::Impl::GetMeta ( ) const
inline

Definition at line 617 of file unorefmk.cxx.

References m_pMeta.

◆ GetMetaField()

const ::sw::MetaField * SwXMeta::Impl::GetMetaField ( ) const
inline

Definition at line 1187 of file unorefmk.cxx.

References m_pMeta.

◆ Notify()

void SwXMeta::Impl::Notify ( const SfxHint rHint)
overrideprotectedvirtual

Reimplemented from SvtListener.

Definition at line 623 of file unorefmk.cxx.

References SfxHint::GetId().

Member Data Documentation

◆ m_bIsDescriptor

bool SwXMeta::Impl::m_bIsDescriptor

Definition at line 590 of file unorefmk.cxx.

Referenced by Impl().

◆ m_bIsDisposed

bool SwXMeta::Impl::m_bIsDisposed

Definition at line 589 of file unorefmk.cxx.

◆ m_EventListeners

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

Definition at line 586 of file unorefmk.cxx.

◆ m_Mutex

std::mutex SwXMeta::Impl::m_Mutex

Definition at line 585 of file unorefmk.cxx.

◆ m_pMeta

sw::Meta* SwXMeta::Impl::m_pMeta

Definition at line 593 of file unorefmk.cxx.

Referenced by GetMeta(), GetMetaField(), and Impl().

◆ m_pTextPortions

std::unique_ptr<const TextRangeList_t> SwXMeta::Impl::m_pTextPortions

Definition at line 587 of file unorefmk.cxx.

◆ m_wThis

unotools::WeakReference<SwXMeta> SwXMeta::Impl::m_wThis

Definition at line 584 of file unorefmk.cxx.

◆ m_xParentText

uno::Reference<text::XText> SwXMeta::Impl::m_xParentText

Definition at line 591 of file unorefmk.cxx.

◆ m_xText

rtl::Reference<SwXMetaText> SwXMeta::Impl::m_xText

Definition at line 592 of file unorefmk.cxx.


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