20#ifndef INCLUDED_UNOTOOLS_NATIVENUMBERWRAPPER_HXX
21#define INCLUDED_UNOTOOLS_NATIVENUMBERWRAPPER_HXX
23#include <config_options.h>
25#include <com/sun/star/i18n/NativeNumberXmlAttributes.hpp>
26#include <com/sun/star/uno/Reference.hxx>
31class UNLESS_MERGELIBS(UNOTOOLS_DLLPUBLIC) NativeNumberWrapper
33 css::uno::Reference< css::i18n::XNativeNumberSupplier2 > xNNS;
34 NativeNumberWrapper(
const NativeNumberWrapper& ) =
delete;
35 NativeNumberWrapper& operator=(
const NativeNumberWrapper& ) =
delete;
39 const css::uno::Reference< css::uno::XComponentContext > & rxContext
42 ~NativeNumberWrapper();
46 OUString getNativeNumberString(
47 const OUString& rNumberString,
48 const css::lang::Locale& rLocale,
49 sal_Int16 nNativeNumberMode)
const;
51 OUString getNativeNumberStringParams(
52 const OUString& rNumberString,
53 const css::lang::Locale& rLocale,
54 sal_Int16 nNativeNumberMode,
55 const OUString& rNativeNumberParams)
const;
57 css::i18n::NativeNumberXmlAttributes convertToXmlAttributes(
58 const css::lang::Locale& rLocale,
59 sal_Int16 nNativeNumberMode )
const;
61 sal_Int16 convertFromXmlAttributes(
62 const css::i18n::NativeNumberXmlAttributes& rAttr )
const;