20#ifndef INCLUDED_SVL_SOURCE_NUMBERS_NUMFMUNO_HXX
21#define INCLUDED_SVL_SOURCE_NUMBERS_NUMFMUNO_HXX
23#include <com/sun/star/util/XNumberFormatter2.hpp>
24#include <com/sun/star/util/XNumberFormats.hpp>
25#include <com/sun/star/util/XNumberFormatTypes.hpp>
26#include <com/sun/star/lang/XServiceInfo.hpp>
27#include <com/sun/star/beans/XPropertyAccess.hpp>
40 css::util::XNumberFormatter2,
41 css::lang::XServiceInfo>
53 const css::uno::Reference< css::util::XNumberFormatsSupplier >&
xSupplier )
override;
54 virtual css::uno::Reference< css::util::XNumberFormatsSupplier >
56 virtual sal_Int32 SAL_CALL
detectNumberFormat( sal_Int32 nKey,
const OUString& aString )
override;
60 double fValue, sal_Int32 aDefaultColor )
override;
61 virtual OUString SAL_CALL
formatString( sal_Int32 nKey,
const OUString& aString )
override;
63 const OUString& aString,
64 sal_Int32 aDefaultColor )
override;
65 virtual OUString SAL_CALL
getInputString( sal_Int32 nKey,
double fValue )
override;
69 const OUString& aFormat,
double fValue,
70 const css::lang::Locale& nLocale,
sal_Bool bAllowEnglish )
override;
72 const OUString& aFormat,
double fValue,
73 const css::lang::Locale& nLocale,
sal_Bool bAllowEnglish,
74 sal_Int32 aDefaultColor )
override;
84 css::util::XNumberFormats,
85 css::util::XNumberFormatTypes,
86 css::lang::XServiceInfo>
98 virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL
100 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
queryKeys( sal_Int16 nType,
101 const css::lang::Locale& nLocale,
sal_Bool bCreate )
override;
102 virtual sal_Int32 SAL_CALL
queryKey(
const OUString& aFormat,
103 const css::lang::Locale& nLocale,
sal_Bool bScan )
override;
104 virtual sal_Int32 SAL_CALL
addNew(
const OUString& aFormat,
105 const css::lang::Locale& nLocale )
override;
107 const css::lang::Locale& nLocale,
108 const css::lang::Locale& nNewLocale )
override;
109 virtual void SAL_CALL
removeByKey( sal_Int32 nKey )
override;
111 const css::lang::Locale& nLocale,
sal_Bool bThousands,
112 sal_Bool bRed, sal_Int16 nDecimals, sal_Int16 nLeading )
override;
115 virtual sal_Int32 SAL_CALL
getStandardIndex(
const css::lang::Locale& nLocale )
override;
117 const css::lang::Locale& nLocale )
override;
119 const css::lang::Locale& nLocale )
override;
122 const css::lang::Locale& nLocale )
override;
132 css::beans::XPropertySet,
133 css::beans::XPropertyAccess,
134 css::lang::XServiceInfo>
147 virtual css::uno::Reference< css::beans::XPropertySetInfo >
150 const css::uno::Any& aValue )
override;
152 const OUString& PropertyName )
override;
154 const css::uno::Reference<
155 css::beans::XPropertyChangeListener >& xListener )
override;
157 const css::uno::Reference<
158 css::beans::XPropertyChangeListener >& aListener )
override;
160 const css::uno::Reference<
161 css::beans::XVetoableChangeListener >& aListener )
override;
163 const css::uno::Reference<
164 css::beans::XVetoableChangeListener >& aListener )
override;
167 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
170 css::beans::PropertyValue >& aProps )
override;
180 css::beans::XPropertySet,
181 css::lang::XServiceInfo>
194 virtual css::uno::Reference< css::beans::XPropertySetInfo >
197 const css::uno::Any& aValue )
override;
199 const OUString& PropertyName )
override;
201 const css::uno::Reference<
202 css::beans::XPropertyChangeListener >& xListener )
override;
204 const css::uno::Reference<
205 css::beans::XPropertyChangeListener >& aListener )
override;
207 const css::uno::Reference<
208 css::beans::XVetoableChangeListener >& aListener )
override;
210 const css::uno::Reference<
211 css::beans::XVetoableChangeListener >& aListener )
override;