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

#include <txmsrt.hxx>

Collaboration diagram for SwTOXInternational:
[legend]

Public Member Functions

 SwTOXInternational (LanguageType nLang, SwTOIOptions nOptions, OUString aSortAlgorithm)
 
 SwTOXInternational (const SwTOXInternational &)
 
 ~SwTOXInternational ()
 
sal_Int32 Compare (const TextAndReading &rTaR1, const css::lang::Locale &rLocale1, const TextAndReading &rTaR2, const css::lang::Locale &rLocale2) const
 
bool IsEqual (const TextAndReading &rTaR1, const css::lang::Locale &rLocale1, const TextAndReading &rTaR2, const css::lang::Locale &rLocale2) const
 
bool IsLess (const TextAndReading &rTaR1, const css::lang::Locale &rLocale1, const TextAndReading &rTaR2, const css::lang::Locale &rLocale2) const
 
OUString GetIndexKey (const TextAndReading &rTaR, const css::lang::Locale &rLcl) const
 
OUString GetFollowingText (bool bMorePages) const
 
OUString ToUpper (const OUString &rStr, sal_Int32 nPos) const
 
bool IsNumeric (const OUString &rStr) const
 

Private Member Functions

void Init ()
 

Private Attributes

std::unique_ptr< IndexEntrySupplierWrapperm_pIndexWrapper
 
std::optional< CharClassm_oCharClass
 
LanguageType m_eLang
 
OUString m_sSortAlgorithm
 
SwTOIOptions m_nOptions
 

Detailed Description

Definition at line 74 of file txmsrt.hxx.

Constructor & Destructor Documentation

◆ SwTOXInternational() [1/2]

SwTOXInternational::SwTOXInternational ( LanguageType  nLang,
SwTOIOptions  nOptions,
OUString  aSortAlgorithm 
)

Definition at line 58 of file txmsrt.cxx.

References Init().

◆ SwTOXInternational() [2/2]

SwTOXInternational::SwTOXInternational ( const SwTOXInternational rIntl)

Definition at line 67 of file txmsrt.cxx.

References Init().

◆ ~SwTOXInternational()

SwTOXInternational::~SwTOXInternational ( )

Definition at line 98 of file txmsrt.cxx.

References m_oCharClass, and m_pIndexWrapper.

Member Function Documentation

◆ Compare()

sal_Int32 SwTOXInternational::Compare ( const TextAndReading rTaR1,
const css::lang::Locale &  rLocale1,
const TextAndReading rTaR2,
const css::lang::Locale &  rLocale2 
) const

◆ GetFollowingText()

OUString SwTOXInternational::GetFollowingText ( bool  bMorePages) const

Definition at line 129 of file txmsrt.cxx.

References m_pIndexWrapper.

Referenced by SwTOXBaseSection::UpdatePageNum_().

◆ GetIndexKey()

OUString SwTOXInternational::GetIndexKey ( const TextAndReading rTaR,
const css::lang::Locale &  rLcl 
) const

◆ Init()

void SwTOXInternational::Init ( void  )
private

◆ IsEqual()

bool SwTOXInternational::IsEqual ( const TextAndReading rTaR1,
const css::lang::Locale &  rLocale1,
const TextAndReading rTaR2,
const css::lang::Locale &  rLocale2 
) const
inline

◆ IsLess()

bool SwTOXInternational::IsLess ( const TextAndReading rTaR1,
const css::lang::Locale &  rLocale1,
const TextAndReading rTaR2,
const css::lang::Locale &  rLocale2 
) const
inline

Definition at line 103 of file txmsrt.hxx.

References Compare().

Referenced by SwTOXSortTabBase::sort_lt(), SwTOXIndex::sort_lt(), and SwTOXCustom::sort_lt().

◆ IsNumeric()

bool SwTOXInternational::IsNumeric ( const OUString &  rStr) const

Definition at line 109 of file txmsrt.cxx.

References m_oCharClass.

Referenced by SwTOXAuthority::GetLevel().

◆ ToUpper()

OUString SwTOXInternational::ToUpper ( const OUString &  rStr,
sal_Int32  nPos 
) const

Definition at line 104 of file txmsrt.cxx.

References m_oCharClass, and nPos.

Referenced by SwTOXIndex::FillText(), SwTOXBaseSection::GetKeyRange(), and SwTOXIndex::GetText_Impl().

Member Data Documentation

◆ m_eLang

LanguageType SwTOXInternational::m_eLang
private

Definition at line 78 of file txmsrt.hxx.

Referenced by Init().

◆ m_nOptions

SwTOIOptions SwTOXInternational::m_nOptions
private

Definition at line 80 of file txmsrt.hxx.

Referenced by Init().

◆ m_oCharClass

std::optional<CharClass> SwTOXInternational::m_oCharClass
private

Definition at line 77 of file txmsrt.hxx.

Referenced by Init(), IsNumeric(), ToUpper(), and ~SwTOXInternational().

◆ m_pIndexWrapper

std::unique_ptr<IndexEntrySupplierWrapper> SwTOXInternational::m_pIndexWrapper
private

Definition at line 76 of file txmsrt.hxx.

Referenced by Compare(), GetFollowingText(), GetIndexKey(), Init(), and ~SwTOXInternational().

◆ m_sSortAlgorithm

OUString SwTOXInternational::m_sSortAlgorithm
private

Definition at line 79 of file txmsrt.hxx.

Referenced by Init().


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