21#include <com/sun/star/i18n/XNativeNumberSupplier2.hpp>
22#include <com/sun/star/i18n/NativeNumberXmlAttributes.hpp>
24#include <com/sun/star/lang/XServiceInfo.hpp>
35 css::i18n::XNativeNumberSupplier2,
36 css::lang::XServiceInfo
44 const css::lang::Locale&
aLocale, sal_Int16 nNativeNumberMode )
override;
47 sal_Int16 nNativeNumberMode )
override {
return isValidNatNumImpl(rLocale, nNativeNumberMode); }
50 const css::lang::Locale&
aLocale, sal_Int16 nNativeNumberMode )
override;
53 const css::i18n::NativeNumberXmlAttributes& aAttr )
override;
57 const OUString& rNumberString,
const css::lang::Locale& rLocale,
58 sal_Int16 nNativeNumberMode,
const OUString& rNativeNumberParams)
override;
68 const css::lang::Locale& rLocale,
69 sal_Int16 nNativeNumberMode,
70 css::uno::Sequence<sal_Int32>* pOffset,
71 std::u16string_view rNativeNumberParams = std::u16string_view());
74 const css::lang::Locale&
aLocale, sal_Int16 nNativeNumberMode ) ;
78 sal_Int16 nNativeNumberMode );
80 mutable css::uno::Reference< css::i18n::XCharacterClassification >
xCharClass;
css::uno::Reference< css::i18n::XCharacterClassification > xCharClass
css::lang::Locale aLocale
virtual OUString SAL_CALL getNativeNumberStringParams(const OUString &rNumberString, const css::lang::Locale &rLocale, sal_Int16 nNativeNumberMode, const OUString &rNativeNumberParams) override
static bool isValidNatNumImpl(const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode)
OUString getNativeNumberString(const OUString &rNumberString, const css::lang::Locale &rLocale, sal_Int16 nNativeNumberMode, css::uno::Sequence< sal_Int32 > *pOffset, std::u16string_view rNativeNumberParams=std::u16string_view())
virtual sal_Bool SAL_CALL isValidNatNum(const css::lang::Locale &rLocale, sal_Int16 nNativeNumberMode) override
virtual sal_Int16 SAL_CALL convertFromXmlAttributes(const css::i18n::NativeNumberXmlAttributes &aAttr) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getNativeNumberString(const OUString &aNumberString, const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode) override
virtual OUString SAL_CALL getImplementationName() override
NativeNumberSupplierService()
static sal_Unicode getNativeNumberChar(const sal_Unicode inChar, const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::i18n::NativeNumberXmlAttributes SAL_CALL convertToXmlAttributes(const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode) override
Constant values shared between i18npool and, for example, the number formatter.