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, const OUString &rSortAlgorithm)
 
 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::unique_ptr< CharClassm_pCharClass
 
LanguageType const m_eLang
 
OUString m_sSortAlgorithm
 
SwTOIOptions const m_nOptions
 

Detailed Description

Definition at line 71 of file txmsrt.hxx.

Constructor & Destructor Documentation

SwTOXInternational::SwTOXInternational ( LanguageType  nLang,
SwTOIOptions  nOptions,
const OUString &  rSortAlgorithm 
)

Definition at line 56 of file txmsrt.cxx.

References Init().

SwTOXInternational::SwTOXInternational ( const SwTOXInternational rIntl)

Definition at line 65 of file txmsrt.cxx.

References Init().

SwTOXInternational::~SwTOXInternational ( )

Definition at line 96 of file txmsrt.cxx.

References m_pCharClass, and m_pIndexWrapper.

Member Function Documentation

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

Definition at line 127 of file txmsrt.cxx.

References m_pIndexWrapper.

Referenced by SwTOXBaseSection::UpdatePageNum_().

OUString SwTOXInternational::GetIndexKey ( const TextAndReading rTaR,
const css::lang::Locale &  rLcl 
) const
void SwTOXInternational::Init ( void  )
private
bool SwTOXInternational::IsEqual ( const TextAndReading rTaR1,
const css::lang::Locale &  rLocale1,
const TextAndReading rTaR2,
const css::lang::Locale &  rLocale2 
) const
inline
bool SwTOXInternational::IsLess ( const TextAndReading rTaR1,
const css::lang::Locale &  rLocale1,
const TextAndReading rTaR2,
const css::lang::Locale &  rLocale2 
) const
inline

Definition at line 100 of file txmsrt.hxx.

References Compare().

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

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

Definition at line 107 of file txmsrt.cxx.

References m_pCharClass.

Referenced by SwTOXAuthority::GetLevel().

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

Member Data Documentation

LanguageType const SwTOXInternational::m_eLang
private

Definition at line 75 of file txmsrt.hxx.

Referenced by Init().

SwTOIOptions const SwTOXInternational::m_nOptions
private

Definition at line 77 of file txmsrt.hxx.

Referenced by Init().

std::unique_ptr<CharClass> SwTOXInternational::m_pCharClass
private

Definition at line 74 of file txmsrt.hxx.

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

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

Definition at line 73 of file txmsrt.hxx.

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

OUString SwTOXInternational::m_sSortAlgorithm
private

Definition at line 76 of file txmsrt.hxx.

Referenced by Init().


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