LibreOffice Module sw (master) 1
|
#include <txmsrt.hxx>
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< IndexEntrySupplierWrapper > | m_pIndexWrapper |
std::optional< CharClass > | m_oCharClass |
LanguageType | m_eLang |
OUString | m_sSortAlgorithm |
SwTOIOptions | m_nOptions |
Definition at line 74 of file txmsrt.hxx.
SwTOXInternational::SwTOXInternational | ( | LanguageType | nLang, |
SwTOIOptions | nOptions, | ||
OUString | aSortAlgorithm | ||
) |
Definition at line 58 of file txmsrt.cxx.
References Init().
SwTOXInternational::SwTOXInternational | ( | const SwTOXInternational & | rIntl | ) |
Definition at line 67 of file txmsrt.cxx.
References Init().
SwTOXInternational::~SwTOXInternational | ( | ) |
Definition at line 98 of file txmsrt.cxx.
References m_oCharClass, 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 114 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 129 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 123 of file txmsrt.cxx.
References m_pIndexWrapper, TextAndReading::sReading, and TextAndReading::sText.
Referenced by SwTOXBaseSection::InsertAlphaDelimiter().
|
private |
Definition at line 75 of file txmsrt.cxx.
References aSeq, CaseSensitive, LanguageTag::convertToLocale(), m_eLang, m_nOptions, m_oCharClass, m_pIndexWrapper, m_sSortAlgorithm, and SW_COLLATOR_IGNORES.
Referenced by SwTOXInternational().
|
inline |
Definition at line 95 of file txmsrt.hxx.
References Compare().
Referenced by SwTOXSortTabBase::equivalent(), SwTOXIndex::equivalent(), SwTOXCustom::equivalent(), SwTOXBaseSection::GetKeyRange(), and SwTOXIndex::sort_lt().
|
inline |
Definition at line 103 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 |
Definition at line 109 of file txmsrt.cxx.
References m_oCharClass.
Referenced by SwTOXAuthority::GetLevel().
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().
|
private |
Definition at line 78 of file txmsrt.hxx.
Referenced by Init().
|
private |
Definition at line 80 of file txmsrt.hxx.
Referenced by Init().
|
private |
Definition at line 77 of file txmsrt.hxx.
Referenced by Init(), IsNumeric(), ToUpper(), and ~SwTOXInternational().
|
private |
Definition at line 76 of file txmsrt.hxx.
Referenced by Compare(), GetFollowingText(), GetIndexKey(), Init(), and ~SwTOXInternational().
|
private |
Definition at line 79 of file txmsrt.hxx.
Referenced by Init().