20#ifndef INCLUDED_UNOTOOLS_INTLWRAPPER_HXX
21#define INCLUDED_UNOTOOLS_INTLWRAPPER_HXX
25#include <com/sun/star/uno/Reference.h>
55 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
61 void ImplNewLocaleData()
const;
62 void ImplNewCollator(
bool bCaseSensitive )
const;
72 return pLocaleData.get();
78 ImplNewCollator(
false );
84 if ( !moCaseCollator )
85 ImplNewCollator(
true );
86 return &*moCaseCollator;
A wrapper of I18N wrappers.
const LocaleDataWrapper * getLocaleData() const
std::optional< CollatorWrapper > moCollator
std::unique_ptr< LocaleDataWrapper > pLocaleData
LanguageTag maLanguageTag
css::uno::Reference< css::uno::XComponentContext > m_xContext
const CollatorWrapper * getCollator() const
case insensitive collator, simple IGNORE_CASE
const CollatorWrapper * getCaseCollator() const
case sensitive collator
std::optional< CollatorWrapper > moCaseCollator
This class can be accessed without locking because we load all of the data in the constructor.