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 > const &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

uno::WeakReference< uno::XInterface > m_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 606 of file unorefmk.cxx.

Constructor & Destructor Documentation

◆ Impl()

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

Member Function Documentation

◆ GetMeta()

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

Definition at line 642 of file unorefmk.cxx.

References m_pMeta.

◆ GetMetaField()

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

Definition at line 1239 of file unorefmk.cxx.

References m_pMeta.

◆ Notify()

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

Reimplemented from SvtListener.

Definition at line 648 of file unorefmk.cxx.

References SfxHint::GetId().

Member Data Documentation

◆ m_bIsDescriptor

bool SwXMeta::Impl::m_bIsDescriptor

Definition at line 615 of file unorefmk.cxx.

Referenced by Impl().

◆ m_bIsDisposed

bool SwXMeta::Impl::m_bIsDisposed

Definition at line 614 of file unorefmk.cxx.

◆ m_EventListeners

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

Definition at line 611 of file unorefmk.cxx.

◆ m_Mutex

std::mutex SwXMeta::Impl::m_Mutex

Definition at line 610 of file unorefmk.cxx.

◆ m_pMeta

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

Definition at line 618 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 612 of file unorefmk.cxx.

◆ m_wThis

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

Definition at line 609 of file unorefmk.cxx.

◆ m_xParentText

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

Definition at line 616 of file unorefmk.cxx.

◆ m_xText

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

Definition at line 617 of file unorefmk.cxx.


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