LibreOffice Module sw (master)
1
|
#include <txmsrt.hxx>
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< IndexEntrySupplierWrapper > | m_pIndexWrapper |
std::unique_ptr< CharClass > | m_pCharClass |
LanguageType | m_eLang |
OUString | m_sSortAlgorithm |
SwTOIOptions | m_nOptions |
Definition at line 71 of file txmsrt.hxx.
SwTOXInternational::SwTOXInternational | ( | LanguageType | nLang, |
SwTOIOptions | nOptions, | ||
const OUString & | rSortAlgorithm | ||
) |
Definition at line 51 of file txmsrt.cxx.
References Init().
SwTOXInternational::SwTOXInternational | ( | const SwTOXInternational & | rIntl | ) |
Definition at line 60 of file txmsrt.cxx.
References Init().
SwTOXInternational::~SwTOXInternational | ( | ) |
Definition at line 91 of file txmsrt.cxx.
References m_pCharClass, and m_pIndexWrapper.
sal_Int32 SwTOXInternational::Compare | ( | const TextAndReading & | rTaR1, |
const css::lang::Locale & | rLocale1, | ||
const TextAndReading & | rTaR2, | ||
const css::lang::Locale & | rLocale2 | ||
) | const |
Definition at line 107 of file txmsrt.cxx.
References m_pIndexWrapper, TextAndReading::sReading, and TextAndReading::sText.
Referenced by IsEqual(), IsLess(), and SwTOXAuthority::sort_lt().
OUString SwTOXInternational::GetFollowingText | ( | bool | bMorePages | ) | const |
Definition at line 122 of file txmsrt.cxx.
References m_pIndexWrapper.
Referenced by SwTOXBaseSection::UpdatePageNum_().
OUString SwTOXInternational::GetIndexKey | ( | const TextAndReading & | rTaR, |
const css::lang::Locale & | rLcl | ||
) | const |
Definition at line 116 of file txmsrt.cxx.
References m_pIndexWrapper, TextAndReading::sReading, and TextAndReading::sText.
Referenced by SwTOXBaseSection::InsertAlphaDelimiter().
Definition at line 68 of file txmsrt.cxx.
References aSeq, CaseSensitive, LanguageTag::convertToLocale(), m_eLang, m_nOptions, m_pCharClass, m_pIndexWrapper, m_sSortAlgorithm, and SW_COLLATOR_IGNORES.
Referenced by SwTOXInternational().
|
inline |
Definition at line 92 of file txmsrt.hxx.
References Compare().
Referenced by SwTOXSortTabBase::equivalent(), SwTOXIndex::equivalent(), SwTOXCustom::equivalent(), SwTOXBaseSection::GetKeyRange(), and SwTOXIndex::sort_lt().
|
inline |
Definition at line 100 of file txmsrt.hxx.
References Compare().
Referenced by SwTOXSortTabBase::sort_lt(), SwTOXIndex::sort_lt(), and SwTOXCustom::sort_lt().
|
inline |
Definition at line 102 of file txmsrt.cxx.
References m_pCharClass.
Referenced by SwTOXAuthority::GetLevel().
OUString SwTOXInternational::ToUpper | ( | const OUString & | rStr, |
sal_Int32 | nPos | ||
) | const |
Definition at line 97 of file txmsrt.cxx.
References m_pCharClass.
Referenced by SwTOXIndex::FillText(), SwTOXBaseSection::GetKeyRange(), and SwTOXIndex::GetText_Impl().
|
private |
Definition at line 75 of file txmsrt.hxx.
Referenced by Init().
|
private |
Definition at line 77 of file txmsrt.hxx.
Referenced by Init().
|
private |
Definition at line 74 of file txmsrt.hxx.
Referenced by Init(), IsNumeric(), ToUpper(), and ~SwTOXInternational().
|
private |
Definition at line 73 of file txmsrt.hxx.
Referenced by Compare(), GetFollowingText(), GetIndexKey(), Init(), and ~SwTOXInternational().
|
private |
Definition at line 76 of file txmsrt.hxx.
Referenced by Init().