LibreOffice Module unotools (master) 1
|
#include <collatorwrapper.hxx>
Public Member Functions | |
CollatorWrapper (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
sal_Int32 | compareString (const OUString &s1, const OUString &s2) const |
css::uno::Sequence< OUString > | listCollatorAlgorithms (const css::lang::Locale &rLocale) const |
sal_Int32 | loadDefaultCollator (const css::lang::Locale &rLocale, sal_Int32 nOption) |
void | loadCollatorAlgorithm (const OUString &rAlgorithm, const css::lang::Locale &rLocale, sal_Int32 nOption) |
Private Attributes | |
css::uno::Reference< css::i18n::XCollator > | mxInternationalCollator |
Definition at line 34 of file collatorwrapper.hxx.
CollatorWrapper::CollatorWrapper | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
Definition at line 28 of file collatorwrapper.cxx.
References mxInternationalCollator.
sal_Int32 CollatorWrapper::compareString | ( | const OUString & | s1, |
const OUString & | s2 | ||
) | const |
Definition at line 34 of file collatorwrapper.cxx.
References mxInternationalCollator, and SAL_WARN.
uno::Sequence< OUString > CollatorWrapper::listCollatorAlgorithms | ( | const css::lang::Locale & | rLocale | ) | const |
Definition at line 50 of file collatorwrapper.cxx.
References mxInternationalCollator, and SAL_WARN.
void CollatorWrapper::loadCollatorAlgorithm | ( | const OUString & | rAlgorithm, |
const css::lang::Locale & | rLocale, | ||
sal_Int32 | nOption | ||
) |
Definition at line 82 of file collatorwrapper.cxx.
References mxInternationalCollator, and SAL_WARN.
sal_Int32 CollatorWrapper::loadDefaultCollator | ( | const css::lang::Locale & | rLocale, |
sal_Int32 | nOption | ||
) |
Definition at line 66 of file collatorwrapper.cxx.
References mxInternationalCollator, and SAL_WARN.
|
private |
Definition at line 37 of file collatorwrapper.hxx.
Referenced by CollatorWrapper(), compareString(), listCollatorAlgorithms(), loadCollatorAlgorithm(), and loadDefaultCollator().