|
LibreOffice Module svl (master) 1
|
Load a transliteration only if it's needed. More...
#include <ondemand.hxx>
Public Member Functions | |
| OnDemandTransliterationWrapper () | |
| bool | isInitialized () const |
| void | init (const css::uno::Reference< css::uno::XComponentContext > &rxContext, LanguageType eLang) |
| void | changeLocale (LanguageType eLang) |
| const ::utl::TransliterationWrapper * | get () const |
| const ::utl::TransliterationWrapper * | operator-> () const |
Private Attributes | |
| css::uno::Reference< css::uno::XComponentContext > | m_xContext |
| LanguageType | eLanguage |
| TransliterationFlags | nType |
| std::optional<::utl::TransliterationWrapper > | moTransliterate |
| bool | bValid |
| bool | bInitialized |
Load a transliteration only if it's needed.
SvNumberformatter uses it upon switching locales. @ATTENTION If the default ctor is used the init() method MUST be called before accessing the transliteration.
Definition at line 203 of file ondemand.hxx.
|
inline |
Definition at line 213 of file ondemand.hxx.
References LANGUAGE_SYSTEM, and NONE.
|
inline |
Definition at line 232 of file ondemand.hxx.
References bValid, and eLanguage.
Referenced by SvNumberFormatter::ChangeIntl(), and init().
|
inline |
Definition at line 238 of file ondemand.hxx.
References bValid, eLanguage, m_xContext, moTransliterate, and nType.
Referenced by SvNumberFormatter::GetTransliteration(), and operator->().
|
inline |
Definition at line 223 of file ondemand.hxx.
References bInitialized, changeLocale(), m_xContext, moTransliterate, and nType.
Referenced by SvNumberFormatter::ImpConstruct().
|
inline |
Definition at line 221 of file ondemand.hxx.
References bInitialized.
|
inline |
Definition at line 250 of file ondemand.hxx.
References get().
|
private |
Definition at line 210 of file ondemand.hxx.
Referenced by init(), and isInitialized().
|
mutableprivate |
Definition at line 209 of file ondemand.hxx.
Referenced by changeLocale(), and get().
|
private |
Definition at line 206 of file ondemand.hxx.
Referenced by changeLocale(), and get().
|
private |
Definition at line 205 of file ondemand.hxx.
|
mutableprivate |
Definition at line 208 of file ondemand.hxx.
|
private |
Definition at line 207 of file ondemand.hxx.