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:
[legend]
Collaboration diagram for SwTOXSortTabBase:
[legend]

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
 
SwNodeOffset 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 121 of file txmsrt.hxx.

Constructor & Destructor Documentation

◆ SwTOXSortTabBase()

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

◆ ~SwTOXSortTabBase()

virtual SwTOXSortTabBase::~SwTOXSortTabBase ( )
inlinevirtual

Definition at line 141 of file txmsrt.hxx.

Member Function Documentation

◆ equivalent()

bool SwTOXSortTabBase::equivalent ( const SwTOXSortTabBase rCmp)
virtual

◆ FillText()

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

Reimplemented in SwTOXIndex, SwTOXContent, SwTOXPara, and SwTOXAuthority.

Definition at line 220 of file txmsrt.cxx.

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

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

◆ GetLevel()

virtual sal_uInt16 SwTOXSortTabBase::GetLevel ( ) const
pure virtual

◆ GetLocale()

const css::lang::Locale & SwTOXSortTabBase::GetLocale ( ) const
inline

◆ GetOptions()

static SwTOIOptions SwTOXSortTabBase::GetOptions ( )
inlinestatic

◆ GetText()

TextAndReading const & SwTOXSortTabBase::GetText ( ) const
inline

◆ GetText_Impl()

virtual TextAndReading SwTOXSortTabBase::GetText_Impl ( SwRootFrame const *  pLayout) const
privatepure virtual

◆ GetType()

sal_uInt16 SwTOXSortTabBase::GetType ( ) const
inline

Definition at line 143 of file txmsrt.hxx.

References nType.

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

◆ GetURL()

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

◆ InitText()

void SwTOXSortTabBase::InitText ( SwRootFrame const *const  pLayout)
inline

Definition at line 168 of file txmsrt.hxx.

References GetText_Impl(), m_aSort, and m_bValidText.

Referenced by SwAuthorityField::GetAuthority().

◆ IsFullPara()

bool SwTOXSortTabBase::IsFullPara ( ) const
virtual

Reimplemented in SwTOXPara.

Definition at line 215 of file txmsrt.cxx.

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

◆ operator<()

bool SwTOXSortTabBase::operator< ( const SwTOXSortTabBase ) const
delete

◆ operator==()

bool SwTOXSortTabBase::operator== ( const SwTOXSortTabBase ) const
delete

◆ sort_lt()

bool SwTOXSortTabBase::sort_lt ( const SwTOXSortTabBase rCmp)
virtual

Member Data Documentation

◆ aLocale

css::lang::Locale SwTOXSortTabBase::aLocale

Definition at line 127 of file txmsrt.hxx.

Referenced by GetLocale(), and SwTOXSortTabBase().

◆ aTOXSources

std::vector<SwTOXSource> SwTOXSortTabBase::aTOXSources

◆ m_aSort

TextAndReading SwTOXSortTabBase::m_aSort
private

Definition at line 163 of file txmsrt.hxx.

Referenced by GetText(), and InitText().

◆ m_bValidText

bool SwTOXSortTabBase::m_bValidText
private

Definition at line 162 of file txmsrt.hxx.

Referenced by GetText(), and InitText().

◆ nCntPos

sal_Int32 SwTOXSortTabBase::nCntPos

Definition at line 132 of file txmsrt.hxx.

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

◆ nOpt

SwTOIOptions SwTOXSortTabBase::nOpt = SwTOIOptions::NONE
static

◆ nPos

SwNodeOffset SwTOXSortTabBase::nPos

◆ nType

sal_uInt16 SwTOXSortTabBase::nType

Definition at line 133 of file txmsrt.hxx.

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

◆ pTextMark

const SwTextTOXMark* SwTOXSortTabBase::pTextMark

◆ pTOXIntl

const SwTOXInternational* SwTOXSortTabBase::pTOXIntl

◆ pTOXNd

const SwTextNode* SwTOXSortTabBase::pTOXNd

Definition at line 128 of file txmsrt.hxx.

Referenced by SwTOXBaseSection::UpdatePageNum().


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