LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTOXCustom Struct Referencefinal

#include <txmsrt.hxx>

Inheritance diagram for SwTOXCustom:
Collaboration diagram for SwTOXCustom:

Public Member Functions

 SwTOXCustom (TextAndReading aKey, sal_uInt16 nLevel, const SwTOXInternational &rIntl, const css::lang::Locale &rLocale)
virtual sal_uInt16 GetLevel () const override
virtual bool equivalent (const SwTOXSortTabBase &) override
virtual bool sort_lt (const SwTOXSortTabBase &) override
- Public Member Functions inherited from SwTOXSortTabBase
bool operator== (const SwTOXSortTabBase &) const =delete
bool operator< (const SwTOXSortTabBase &) const =delete
 SwTOXSortTabBase (TOXSortType nType, const SwContentNode *pTOXSrc, const SwTextTOXMark *pTextMark, const SwTOXInternational *pIntl, const css::lang::Locale *pLocale=nullptr)
virtual ~SwTOXSortTabBase ()
sal_uInt16 GetType () const
virtual void FillText (SwTextNode &rNd, const SwContentIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const
virtual sal_uInt16 GetLevel () const =0
virtual bool equivalent (const SwTOXSortTabBase &)
virtual bool sort_lt (const SwTOXSortTabBase &)
virtual std::pair< OUString, bool > GetURL (SwRootFrame const *const pLayout) const
virtual bool IsFullPara () const
void InitText (SwRootFrame const *const pLayout)
TextAndReading const & GetText () const
const css::lang::Locale & GetLocale () const

Private Member Functions

virtual TextAndReading GetText_Impl (SwRootFrame const *pLayout) const override

Private Attributes

TextAndReading m_aKey
sal_uInt16 nLev

Additional Inherited Members

- Static Public Member Functions inherited from SwTOXSortTabBase
static SwTOIOptions GetOptions ()
- Public Attributes inherited from SwTOXSortTabBase
std::vector< SwTOXSourceaTOXSources
css::lang::Locale aLocale
const SwTextNodepTOXNd
const SwTextTOXMarkpTextMark
const SwTOXInternationalpTOXIntl
SwNodeOffset nPos
sal_Int32 nCntPos
sal_uInt16 nType
- Static Public Attributes inherited from SwTOXSortTabBase
static SwTOIOptions nOpt = SwTOIOptions::NONE

Detailed Description

Definition at line 211 of file txmsrt.hxx.

Constructor & Destructor Documentation

◆ SwTOXCustom()

SwTOXCustom::SwTOXCustom ( TextAndReading  aKey,
sal_uInt16  nLevel,
const SwTOXInternational rIntl,
const css::lang::Locale &  rLocale 

Definition at line 445 of file txmsrt.cxx.

Member Function Documentation

◆ equivalent()

bool SwTOXCustom::equivalent ( const SwTOXSortTabBase rCmpBase)

◆ GetLevel()

sal_uInt16 SwTOXCustom::GetLevel ( ) const

Implements SwTOXSortTabBase.

Definition at line 468 of file txmsrt.cxx.

References nLev.

Referenced by equivalent(), and sort_lt().

◆ GetText_Impl()

TextAndReading SwTOXCustom::GetText_Impl ( SwRootFrame const *  pLayout) const

Implements SwTOXSortTabBase.

Definition at line 473 of file txmsrt.cxx.

References m_aKey.

◆ sort_lt()

bool SwTOXCustom::sort_lt ( const SwTOXSortTabBase rCmpBase)

Member Data Documentation

◆ m_aKey

TextAndReading SwTOXCustom::m_aKey

Definition at line 224 of file txmsrt.hxx.

Referenced by GetText_Impl().

◆ nLev

sal_uInt16 SwTOXCustom::nLev

Definition at line 225 of file txmsrt.hxx.

Referenced by GetLevel().

The documentation for this struct was generated from the following files: