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

For sorting by text. More...

#include <txmsrt.hxx>

Inheritance diagram for SwTOXIndex:
Collaboration diagram for SwTOXIndex:

Public Member Functions

 SwTOXIndex (const SwTextNode &, const SwTextTOXMark *, SwTOIOptions nOptions, sal_uInt8 nKeyLevel, const SwTOXInternational &rIntl, const css::lang::Locale &rLocale)
virtual void FillText (SwTextNode &rNd, const SwIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const override
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 &)=delete
bool operator< (const SwTOXSortTabBase &)=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 OUString GetURL () 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

sal_uInt8 const nKeyLevel

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
sal_uLong nPos
sal_Int32 nCntPos
sal_uInt16 const nType
- Static Public Attributes inherited from SwTOXSortTabBase
static SwTOIOptions nOpt = SwTOIOptions::NONE

Detailed Description

For sorting by text.

Definition at line 190 of file txmsrt.hxx.

Constructor & Destructor Documentation

SwTOXIndex::SwTOXIndex ( const SwTextNode ,
const SwTextTOXMark ,
SwTOIOptions  nOptions,
sal_uInt8  nKeyLevel,
const SwTOXInternational rIntl,
const css::lang::Locale &  rLocale 

Definition at line 278 of file txmsrt.cxx.

References SwNode::GetIndex(), SwTOXSortTabBase::nOpt, and SwTOXSortTabBase::nPos.

Member Function Documentation

bool SwTOXIndex::equivalent ( const SwTOXSortTabBase rCmpBase)
void SwTOXIndex::FillText ( SwTextNode rNd,
const SwIndex rInsPos,
sal_uInt16  nAuthField,
SwRootFrame const *  pLayout 
) const
sal_uInt16 SwTOXIndex::GetLevel ( ) const
TextAndReading SwTOXIndex::GetText_Impl ( SwRootFrame const *  pLayout) const
bool SwTOXIndex::sort_lt ( const SwTOXSortTabBase rCmpBase)

Member Data Documentation

sal_uInt8 const SwTOXIndex::nKeyLevel

Definition at line 205 of file txmsrt.hxx.

Referenced by equivalent(), and GetText_Impl().

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