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

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

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

Detailed Description

For sorting by text.

Definition at line 191 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 301 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 SwTOXIndex::nKeyLevel

Definition at line 206 of file txmsrt.hxx.

Referenced by equivalent(), and GetText_Impl().

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