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 &)=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 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 OUString GetURL () 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 const 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 ( )
inlinevirtual

Definition at line 140 of file txmsrt.hxx.

Member Function Documentation

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

Reimplemented in SwTOXAuthority, SwTOXPara, SwTOXContent, and SwTOXIndex.

Definition at line 197 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
inline
static SwTOIOptions SwTOXSortTabBase::GetOptions ( )
inlinestatic
TextAndReading const & SwTOXSortTabBase::GetText ( ) const
inline
virtual TextAndReading SwTOXSortTabBase::GetText_Impl ( SwRootFrame const *  pLayout) const
privatepure virtual
sal_uInt16 SwTOXSortTabBase::GetType ( ) const
inline

Definition at line 142 of file txmsrt.hxx.

References nType.

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

OUString SwTOXSortTabBase::GetURL ( ) const
virtual

Reimplemented in SwTOXTable, and SwTOXPara.

Definition at line 187 of file txmsrt.cxx.

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

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

Definition at line 167 of file txmsrt.hxx.

References GetText_Impl(), m_aSort, and m_bValidText.

bool SwTOXSortTabBase::IsFullPara ( ) const
virtual

Reimplemented in SwTOXPara.

Definition at line 192 of file txmsrt.cxx.

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

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

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
private

Definition at line 162 of file txmsrt.hxx.

Referenced by GetText(), and InitText().

bool SwTOXSortTabBase::m_bValidText
private

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
static
sal_uLong SwTOXSortTabBase::nPos
sal_uInt16 const 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: