LibreOffice Module svl (master) 1
|
SvNumberFormatterServiceObj is registered globally as a Service. More...
#include <numfmuno.hxx>
Public Member Functions | |
SvNumberFormatterServiceObj () | |
virtual | ~SvNumberFormatterServiceObj () override |
virtual void SAL_CALL | attachNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &xSupplier) override |
virtual css::uno::Reference< css::util::XNumberFormatsSupplier > SAL_CALL | getNumberFormatsSupplier () override |
virtual sal_Int32 SAL_CALL | detectNumberFormat (sal_Int32 nKey, const OUString &aString) override |
virtual double SAL_CALL | convertStringToNumber (sal_Int32 nKey, const OUString &aString) override |
virtual OUString SAL_CALL | convertNumberToString (sal_Int32 nKey, double fValue) override |
virtual sal_Int32 SAL_CALL | queryColorForNumber (sal_Int32 nKey, double fValue, sal_Int32 aDefaultColor) override |
virtual OUString SAL_CALL | formatString (sal_Int32 nKey, const OUString &aString) override |
virtual sal_Int32 SAL_CALL | queryColorForString (sal_Int32 nKey, const OUString &aString, sal_Int32 aDefaultColor) override |
virtual OUString SAL_CALL | getInputString (sal_Int32 nKey, double fValue) override |
virtual OUString SAL_CALL | convertNumberToPreviewString (const OUString &aFormat, double fValue, const css::lang::Locale &nLocale, sal_Bool bAllowEnglish) override |
virtual sal_Int32 SAL_CALL | queryPreviewColorForNumber (const OUString &aFormat, double fValue, const css::lang::Locale &nLocale, sal_Bool bAllowEnglish, sal_Int32 aDefaultColor) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Attributes | |
::rtl::Reference< SvNumberFormatsSupplierObj > | xSupplier |
mutable::comphelper::SharedMutex | m_aMutex |
SvNumberFormatterServiceObj is registered globally as a Service.
Definition at line 39 of file numfmuno.hxx.
SvNumberFormatterServiceObj::SvNumberFormatterServiceObj | ( | ) |
Definition at line 107 of file numfmuno.cxx.
|
overridevirtual |
Definition at line 111 of file numfmuno.cxx.
|
overridevirtual |
Definition at line 117 of file numfmuno.cxx.
|
overridevirtual |
Definition at line 270 of file numfmuno.cxx.
References SvNumberFormatter::GetPreviewString(), SvNumberFormatter::GetPreviewStringGuess(), lcl_GetLanguage(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 175 of file numfmuno.cxx.
References SvNumberFormatter::GetOutputString(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 159 of file numfmuno.cxx.
References SvNumberFormatter::IsNumberFormat(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 143 of file numfmuno.cxx.
References SvNumberFormatter::IsNumberFormat(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 211 of file numfmuno.cxx.
References SvNumberFormatter::GetOutputString(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 332 of file numfmuno.cxx.
|
overridevirtual |
Definition at line 254 of file numfmuno.cxx.
References SvNumberFormatter::GetInputLineString(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 137 of file numfmuno.cxx.
|
overridevirtual |
Definition at line 342 of file numfmuno.cxx.
|
overridevirtual |
Definition at line 190 of file numfmuno.cxx.
References aStr, SvNumberFormatter::GetOutputString(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 229 of file numfmuno.cxx.
References aStr, SvNumberFormatter::GetOutputString(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 297 of file numfmuno.cxx.
References SvNumberFormatter::GetPreviewString(), SvNumberFormatter::GetPreviewStringGuess(), lcl_GetLanguage(), m_aMutex, and xSupplier.
|
overridevirtual |
Definition at line 337 of file numfmuno.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 45 of file numfmuno.hxx.
Referenced by attachNumberFormatsSupplier(), convertNumberToPreviewString(), convertNumberToString(), convertStringToNumber(), detectNumberFormat(), formatString(), getInputString(), getNumberFormatsSupplier(), queryColorForNumber(), queryColorForString(), and queryPreviewColorForNumber().
|
private |
Definition at line 44 of file numfmuno.hxx.
Referenced by attachNumberFormatsSupplier(), convertNumberToPreviewString(), convertNumberToString(), convertStringToNumber(), detectNumberFormat(), formatString(), getInputString(), getNumberFormatsSupplier(), queryColorForNumber(), queryColorForString(), and queryPreviewColorForNumber().