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

Public Member Functions

 Impl (SwDoc &rDoc, const TOXTypes eType, SwTOXBaseSection *const pBaseSection)
 
void SetSectionFormat (SwSectionFormat &rFormat)
 
SwSectionFormatGetSectionFormat () const
 
SwTOXBaseGetTOXSectionOrThrow () const
 
sal_Int32 GetFormMax () const
 
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

unotools::WeakReference< SwXDocumentIndexm_wThis
 
std::mutex m_Mutex
 
::comphelper::OInterfaceContainerHelper4< util::XRefreshListener > m_RefreshListeners
 
::comphelper::OInterfaceContainerHelper4< lang::XEventListener > m_EventListeners
 
SfxItemPropertySet const & m_rPropSet
 
const TOXTypes m_eTOXType
 
bool m_bIsDescriptor
 
SwDocm_pDoc
 
std::optional< SwDocIndexDescriptorProperties_Impl > m_oProps
 
uno::WeakReference< container::XIndexReplace > m_wStyleAccess
 
uno::WeakReference< container::XIndexReplace > m_wTokenAccess
 

Private Attributes

SwSectionFormatm_pFormat
 

Detailed Description

Definition at line 289 of file unoidx.cxx.

Constructor & Destructor Documentation

◆ Impl()

SwXDocumentIndex::Impl::Impl ( SwDoc rDoc,
const TOXTypes  eType,
SwTOXBaseSection *const  pBaseSection 
)
inline

Definition at line 307 of file unoidx.cxx.

References eType, GetFormat(), m_pFormat, and SvtListener::StartListening().

Member Function Documentation

◆ GetFormMax()

sal_Int32 SwXDocumentIndex::Impl::GetFormMax ( ) const
inline

◆ GetSectionFormat()

SwSectionFormat * SwXDocumentIndex::Impl::GetSectionFormat ( ) const
inline

Definition at line 328 of file unoidx.cxx.

References m_pFormat.

Referenced by GetTOXSectionOrThrow().

◆ GetTOXSectionOrThrow()

SwTOXBase & SwXDocumentIndex::Impl::GetTOXSectionOrThrow ( ) const
inline

Definition at line 332 of file unoidx.cxx.

References SwSectionFormat::GetSection(), GetSectionFormat(), and m_bIsDescriptor.

Referenced by GetFormMax().

◆ Notify()

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

◆ SetSectionFormat()

void SwXDocumentIndex::Impl::SetSectionFormat ( SwSectionFormat rFormat)
inline

Member Data Documentation

◆ m_bIsDescriptor

bool SwXDocumentIndex::Impl::m_bIsDescriptor

Definition at line 301 of file unoidx.cxx.

Referenced by GetFormMax(), and GetTOXSectionOrThrow().

◆ m_eTOXType

const TOXTypes SwXDocumentIndex::Impl::m_eTOXType

Definition at line 300 of file unoidx.cxx.

Referenced by GetFormMax().

◆ m_EventListeners

::comphelper::OInterfaceContainerHelper4<lang::XEventListener> SwXDocumentIndex::Impl::m_EventListeners

Definition at line 298 of file unoidx.cxx.

Referenced by Notify().

◆ m_Mutex

std::mutex SwXDocumentIndex::Impl::m_Mutex

Definition at line 296 of file unoidx.cxx.

Referenced by Notify().

◆ m_oProps

std::optional<SwDocIndexDescriptorProperties_Impl> SwXDocumentIndex::Impl::m_oProps

Definition at line 303 of file unoidx.cxx.

◆ m_pDoc

SwDoc* SwXDocumentIndex::Impl::m_pDoc

Definition at line 302 of file unoidx.cxx.

◆ m_pFormat

SwSectionFormat* SwXDocumentIndex::Impl::m_pFormat
private

Definition at line 292 of file unoidx.cxx.

Referenced by GetSectionFormat(), Impl(), Notify(), and SetSectionFormat().

◆ m_RefreshListeners

::comphelper::OInterfaceContainerHelper4<util::XRefreshListener> SwXDocumentIndex::Impl::m_RefreshListeners

Definition at line 297 of file unoidx.cxx.

Referenced by Notify().

◆ m_rPropSet

SfxItemPropertySet const& SwXDocumentIndex::Impl::m_rPropSet

Definition at line 299 of file unoidx.cxx.

◆ m_wStyleAccess

uno::WeakReference<container::XIndexReplace> SwXDocumentIndex::Impl::m_wStyleAccess

Definition at line 304 of file unoidx.cxx.

◆ m_wThis

unotools::WeakReference<SwXDocumentIndex> SwXDocumentIndex::Impl::m_wThis

Definition at line 295 of file unoidx.cxx.

Referenced by Notify().

◆ m_wTokenAccess

uno::WeakReference<container::XIndexReplace> SwXDocumentIndex::Impl::m_wTokenAccess

Definition at line 305 of file unoidx.cxx.


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