LibreOffice Module i18npool (master) 1
|
#include <indexentrysupplier_default.hxx>
Public Member Functions | |
Index (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
~Index () | |
void | init (const css::lang::Locale &rLocale, const OUString &algorithm) |
void | makeIndexKeys (const css::lang::Locale &rLocale, std::u16string_view algorithm) |
sal_Int16 | getIndexWeight (const OUString &rIndexEntry) |
OUString | getIndexDescription (const OUString &rIndexEntry) |
sal_Int16 | compare (sal_Unicode c1, sal_Unicode c2) |
Private Attributes | |
IndexTable | tables [MAX_TABLES] |
sal_Int16 | table_count |
IndexKey | keys [MAX_KEYS] |
sal_Int16 | key_count |
sal_Int16 | mkeys [MAX_KEYS] |
sal_Int16 | mkey_count |
OUString | skipping_chars |
rtl::Reference< CollatorImpl > | collator |
Definition at line 78 of file indexentrysupplier_default.hxx.
i18npool::Index::Index | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
Definition at line 112 of file indexentrysupplier_default.cxx.
i18npool::Index::~Index | ( | ) |
Definition at line 120 of file indexentrysupplier_default.cxx.
sal_Int16 i18npool::Index::compare | ( | sal_Unicode | c1, |
sal_Unicode | c2 | ||
) |
Definition at line 124 of file indexentrysupplier_default.cxx.
References collator.
OUString i18npool::Index::getIndexDescription | ( | const OUString & | rIndexEntry | ) |
Definition at line 151 of file indexentrysupplier_default.cxx.
References i18npool::IndexKey::desc, getIndexWeight(), keys, MAX_KEYS, i18npool::IndexKey::mkey, and o3tl::temporary().
sal_Int16 i18npool::Index::getIndexWeight | ( | const OUString & | rIndexEntry | ) |
Definition at line 129 of file indexentrysupplier_default.cxx.
References code, collator, end, i, keys, i18npool::IndexKey::mkey, mkey_count, mkeys, skipping_chars, start, i18npool::IndexTable::start, i18npool::IndexTable::table, table_count, and tables.
Referenced by getIndexDescription().
void i18npool::Index::init | ( | const css::lang::Locale & | rLocale, |
const OUString & | algorithm | ||
) |
css::uno::RuntimeException |
Definition at line 257 of file indexentrysupplier_default.cxx.
References collator, end, i18npool::LocaleDataImpl::get(), unicode::getUnicodeScriptEnd(), unicode::getUnicodeScriptStart(), i, i18npool::IndexTable::init(), key_count, keys, LOCALE_EN, makeIndexKeys(), MAX_TABLES, scriptList, start, table_count, and tables.
void i18npool::Index::makeIndexKeys | ( | const css::lang::Locale & | rLocale, |
std::u16string_view | algorithm | ||
) |
css::uno::RuntimeException |
Definition at line 168 of file indexentrysupplier_default.cxx.
References close, i18npool::IndexKey::desc, end, i18npool::LocaleDataImpl::get(), i, unicode::isWhiteSpace(), i18npool::IndexKey::key, key_count, keys, LOCALE_EN, MAX_KEYS, i18npool::IndexKey::mkey, mkey_count, mkeys, skipping_chars, and u.
Referenced by init().
|
private |
Definition at line 101 of file indexentrysupplier_default.hxx.
Referenced by compare(), getIndexWeight(), and init().
|
private |
Definition at line 97 of file indexentrysupplier_default.hxx.
Referenced by init(), and makeIndexKeys().
Definition at line 96 of file indexentrysupplier_default.hxx.
Referenced by getIndexDescription(), getIndexWeight(), init(), and makeIndexKeys().
|
private |
Definition at line 99 of file indexentrysupplier_default.hxx.
Referenced by getIndexWeight(), and makeIndexKeys().
|
private |
Definition at line 98 of file indexentrysupplier_default.hxx.
Referenced by getIndexWeight(), and makeIndexKeys().
|
private |
Definition at line 100 of file indexentrysupplier_default.hxx.
Referenced by getIndexWeight(), and makeIndexKeys().
|
private |
Definition at line 95 of file indexentrysupplier_default.hxx.
Referenced by getIndexWeight(), and init().
|
private |
Definition at line 94 of file indexentrysupplier_default.hxx.
Referenced by getIndexWeight(), and init().