LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
SwTOXSortTabBase Struct Referenceabstract

Class for sorting directories. More...

#include <txmsrt.hxx>

Inheritance diagram for SwTOXSortTabBase:
Collaboration diagram for SwTOXSortTabBase:

Public Member Functions

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

Static Public Member Functions

static SwTOIOptions GetOptions ()

Public Attributes

std::vector< SwTOXSourceaTOXSources
css::lang::Locale aLocale
const SwTextNodepTOXNd
const SwTextTOXMarkpTextMark
const SwTOXInternationalpTOXIntl
sal_uLong nPos
sal_Int32 nCntPos
sal_uInt16 nType

Static Public Attributes

static SwTOIOptions nOpt = SwTOIOptions::NONE

Private Member Functions

virtual TextAndReading GetText_Impl (SwRootFrame const *pLayout) const =0

Private Attributes

bool m_bValidText
TextAndReading m_aSort

Detailed Description

Class for sorting directories.

Definition at line 120 of file txmsrt.hxx.

Constructor & Destructor Documentation

SwTOXSortTabBase::SwTOXSortTabBase ( TOXSortType  nType,
const SwContentNode pTOXSrc,
const SwTextTOXMark pTextMark,
const SwTOXInternational pIntl,
const css::lang::Locale *  pLocale = nullptr 
virtual SwTOXSortTabBase::~SwTOXSortTabBase ( )

Definition at line 140 of file txmsrt.hxx.

Member Function Documentation

bool SwTOXSortTabBase::equivalent ( const SwTOXSortTabBase rCmp)
void SwTOXSortTabBase::FillText ( SwTextNode rNd,
const SwIndex rInsPos,
sal_uInt16  nAuthField,
SwRootFrame const *  pLayout 
) const

Reimplemented in SwTOXAuthority, SwTOXPara, SwTOXContent, and SwTOXIndex.

Definition at line 220 of file txmsrt.cxx.

References GetText(), and SwTextNode::InsertText().

Referenced by sw::ToxTextGenerator::GenerateText().

virtual sal_uInt16 SwTOXSortTabBase::GetLevel ( ) const
pure virtual
const css::lang::Locale & SwTOXSortTabBase::GetLocale ( ) const
static SwTOIOptions SwTOXSortTabBase::GetOptions ( )
TextAndReading const & SwTOXSortTabBase::GetText ( ) const
virtual TextAndReading SwTOXSortTabBase::GetText_Impl ( SwRootFrame const *  pLayout) const
privatepure virtual
sal_uInt16 SwTOXSortTabBase::GetType ( ) const

Definition at line 142 of file txmsrt.hxx.

References nType.

Referenced by SwTOXBaseSection::InsertSorted(), and SwTOXBaseSection::UpdatePageNum().

std::pair< OUString, bool > SwTOXSortTabBase::GetURL ( SwRootFrame const *const  pLayout) const
void SwTOXSortTabBase::InitText ( SwRootFrame const *const  pLayout)

Definition at line 167 of file txmsrt.hxx.

References GetText_Impl(), m_aSort, and m_bValidText.

bool SwTOXSortTabBase::IsFullPara ( ) const

Reimplemented in SwTOXPara.

Definition at line 215 of file txmsrt.cxx.

Referenced by sw::ToxTextGenerator::HandleTextToken().

bool SwTOXSortTabBase::operator< ( const SwTOXSortTabBase ) const
bool SwTOXSortTabBase::operator== ( const SwTOXSortTabBase ) const
bool SwTOXSortTabBase::sort_lt ( const SwTOXSortTabBase rCmp)

Member Data Documentation

css::lang::Locale SwTOXSortTabBase::aLocale

Definition at line 126 of file txmsrt.hxx.

Referenced by GetLocale(), and SwTOXSortTabBase().

std::vector<SwTOXSource> SwTOXSortTabBase::aTOXSources
TextAndReading SwTOXSortTabBase::m_aSort

Definition at line 162 of file txmsrt.hxx.

Referenced by GetText(), and InitText().

bool SwTOXSortTabBase::m_bValidText

Definition at line 161 of file txmsrt.hxx.

Referenced by GetText(), and InitText().

sal_Int32 SwTOXSortTabBase::nCntPos

Definition at line 131 of file txmsrt.hxx.

Referenced by equivalent(), sort_lt(), SwTOXAuthority::SwTOXAuthority(), and SwTOXSortTabBase().

SwTOIOptions SwTOXSortTabBase::nOpt = SwTOIOptions::NONE
sal_uLong SwTOXSortTabBase::nPos
sal_uInt16 SwTOXSortTabBase::nType

Definition at line 132 of file txmsrt.hxx.

Referenced by equivalent(), SwTOXAuthority::equivalent(), GetType(), and sort_lt().

const SwTextTOXMark* SwTOXSortTabBase::pTextMark
const SwTOXInternational* SwTOXSortTabBase::pTOXIntl
const SwTextNode* SwTOXSortTabBase::pTOXNd

Definition at line 127 of file txmsrt.hxx.

Referenced by SwTOXBaseSection::UpdatePageNum().

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