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
 
::comphelper::OMultiTypeInterfaceContainerHelper2 m_Listeners
 
SfxItemPropertySet const & m_rPropSet
 
const TOXTypes m_eTOXType
 
bool m_bIsDescriptor
 
SwDocm_pDoc
 
std::unique_ptr< SwDocIndexDescriptorProperties_Impl > m_pProps
 
uno::WeakReference< container::XIndexReplace > m_wStyleAccess
 
uno::WeakReference< container::XIndexReplace > m_wTokenAccess
 

Private Attributes

::osl::Mutex m_Mutex
 
SwSectionFormatm_pFormat
 

Detailed Description

Definition at line 291 of file unoidx.cxx.

Constructor & Destructor Documentation

◆ Impl()

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

Definition at line 308 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 330 of file unoidx.cxx.

References m_pFormat.

Referenced by GetTOXSectionOrThrow().

◆ GetTOXSectionOrThrow()

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

Definition at line 334 of file unoidx.cxx.

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

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 302 of file unoidx.cxx.

Referenced by GetFormMax(), and GetTOXSectionOrThrow().

◆ m_eTOXType

const TOXTypes SwXDocumentIndex::Impl::m_eTOXType

Definition at line 301 of file unoidx.cxx.

Referenced by GetFormMax().

◆ m_Listeners

::comphelper::OMultiTypeInterfaceContainerHelper2 SwXDocumentIndex::Impl::m_Listeners

Definition at line 299 of file unoidx.cxx.

Referenced by Notify().

◆ m_Mutex

::osl::Mutex SwXDocumentIndex::Impl::m_Mutex
private

Definition at line 294 of file unoidx.cxx.

◆ m_pDoc

SwDoc* SwXDocumentIndex::Impl::m_pDoc

Definition at line 303 of file unoidx.cxx.

◆ m_pFormat

SwSectionFormat* SwXDocumentIndex::Impl::m_pFormat
private

Definition at line 295 of file unoidx.cxx.

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

◆ m_pProps

std::unique_ptr<SwDocIndexDescriptorProperties_Impl> SwXDocumentIndex::Impl::m_pProps

Definition at line 304 of file unoidx.cxx.

Referenced by GetTOXSectionOrThrow().

◆ m_rPropSet

SfxItemPropertySet const& SwXDocumentIndex::Impl::m_rPropSet

Definition at line 300 of file unoidx.cxx.

◆ m_wStyleAccess

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

Definition at line 305 of file unoidx.cxx.

◆ m_wThis

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

Definition at line 298 of file unoidx.cxx.

Referenced by Notify().

◆ m_wTokenAccess

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

Definition at line 306 of file unoidx.cxx.


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