20#ifndef INCLUDED_VCL_I18NHELP_HXX
21#define INCLUDED_VCL_I18NHELP_HXX
23#include <com/sun/star/uno/Reference.h>
26#include <rtl/ustring.hxx>
32 class XComponentContext;
35 class TransliterationWrapper;
46 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
53 SAL_DLLPRIVATE
void ImplDestroyWrappers();
60 I18nHelper(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
LanguageTag aLanguageTag );
63 sal_Int32 CompareString(
const OUString& rStr1,
const OUString& rStr2 )
const;
65 bool MatchString(
const OUString& rStr1,
const OUString& rStr2 )
const;
66 bool MatchMnemonic( std::u16string_view rString,
sal_Unicode cMnemonicChar )
const;
68 OUString GetNum(
tools::Long nNumber, sal_uInt16 nDecimals,
bool bUseThousandSep =
true,
bool bTrailingZeros =
true )
const;
70 static OUString filterFormattingChars(
const OUString& );
LanguageTag maLanguageTag
bool mbTransliterateIgnoreCase
std::unique_ptr< LocaleDataWrapper > mpLocaleDataWrapper
css::uno::Reference< css::uno::XComponentContext > m_xContext
std::unique_ptr< utl::TransliterationWrapper > mpTransliterationWrapper