LibreOffice Module i18npool (master)  1
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
i18npool::NativeNumberSupplierService Class Referencefinal

#include <nativenumbersupplier.hxx>

Inheritance diagram for i18npool::NativeNumberSupplierService:
[legend]
Collaboration diagram for i18npool::NativeNumberSupplierService:
[legend]

Public Member Functions

 NativeNumberSupplierService ()
 
virtual OUString SAL_CALL getNativeNumberString (const OUString &aNumberString, const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode) override
 
virtual sal_Bool SAL_CALL isValidNatNum (const css::lang::Locale &rLocale, sal_Int16 nNativeNumberMode) override
 
virtual css::i18n::NativeNumberXmlAttributes SAL_CALL convertToXmlAttributes (const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode) override
 
virtual sal_Int16 SAL_CALL convertFromXmlAttributes (const css::i18n::NativeNumberXmlAttributes &aAttr) override
 
virtual OUString SAL_CALL getNativeNumberStringParams (const OUString &rNumberString, const css::lang::Locale &rLocale, sal_Int16 nNativeNumberMode, const OUString &rNativeNumberParams) 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
 
OUString getNativeNumberString (const OUString &rNumberString, const css::lang::Locale &rLocale, sal_Int16 nNativeNumberMode, css::uno::Sequence< sal_Int32 > *pOffset, const OUString &rNativeNumberParams=OUString())
 

Static Public Member Functions

static sal_Unicode getNativeNumberChar (const sal_Unicode inChar, const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode)
 

Static Private Member Functions

static bool isValidNatNumImpl (const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode)
 

Private Attributes

css::lang::Locale aLocale
 
css::uno::Reference< css::i18n::XCharacterClassification > xCharClass
 

Detailed Description

Definition at line 34 of file nativenumbersupplier.hxx.

Constructor & Destructor Documentation

i18npool::NativeNumberSupplierService::NativeNumberSupplierService ( )
inline

Definition at line 41 of file nativenumbersupplier.hxx.

Member Function Documentation

sal_Int16 SAL_CALL i18npool::NativeNumberSupplierService::convertFromXmlAttributes ( const css::i18n::NativeNumberXmlAttributes &  aAttr)
overridevirtual
NativeNumberXmlAttributes SAL_CALL i18npool::NativeNumberSupplierService::convertToXmlAttributes ( const css::lang::Locale &  aLocale,
sal_Int16  nNativeNumberMode 
)
overridevirtual
OUString SAL_CALL i18npool::NativeNumberSupplierService::getImplementationName ( )
overridevirtual

Definition at line 1229 of file nativenumbersupplier.cxx.

References i18npool::implementationName.

sal_Unicode i18npool::NativeNumberSupplierService::getNativeNumberChar ( const sal_Unicode  inChar,
const css::lang::Locale &  aLocale,
sal_Int16  nNativeNumberMode 
)
static
virtual OUString SAL_CALL i18npool::NativeNumberSupplierService::getNativeNumberString ( const OUString &  aNumberString,
const css::lang::Locale &  aLocale,
sal_Int16  nNativeNumberMode 
)
overridevirtual
OUString i18npool::NativeNumberSupplierService::getNativeNumberString ( const OUString &  rNumberString,
const css::lang::Locale &  rLocale,
sal_Int16  nNativeNumberMode,
css::uno::Sequence< sal_Int32 > *  pOffset,
const OUString &  rNativeNumberParams = OUString() 
)
Exceptions
css::uno::RuntimeException
OUString SAL_CALL i18npool::NativeNumberSupplierService::getNativeNumberStringParams ( const OUString &  rNumberString,
const css::lang::Locale &  rLocale,
sal_Int16  nNativeNumberMode,
const OUString &  rNativeNumberParams 
)
overridevirtual

Definition at line 789 of file nativenumbersupplier.cxx.

References getNativeNumberString().

Sequence< OUString > SAL_CALL i18npool::NativeNumberSupplierService::getSupportedServiceNames ( )
overridevirtual

Definition at line 1241 of file nativenumbersupplier.cxx.

References i18npool::implementationName.

virtual sal_Bool SAL_CALL i18npool::NativeNumberSupplierService::isValidNatNum ( const css::lang::Locale &  rLocale,
sal_Int16  nNativeNumberMode 
)
inlineoverridevirtual

Definition at line 47 of file nativenumbersupplier.hxx.

References isValidNatNumImpl().

Referenced by convertToXmlAttributes().

bool i18npool::NativeNumberSupplierService::isValidNatNumImpl ( const css::lang::Locale &  aLocale,
sal_Int16  nNativeNumberMode 
)
staticprivate

Definition at line 840 of file nativenumbersupplier.cxx.

Referenced by getNativeNumberChar(), and isValidNatNum().

sal_Bool SAL_CALL i18npool::NativeNumberSupplierService::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1235 of file nativenumbersupplier.cxx.

References cppu::supportsService().

Member Data Documentation

css::lang::Locale i18npool::NativeNumberSupplierService::aLocale
private

Definition at line 80 of file nativenumbersupplier.hxx.

css::uno::Reference< css::i18n::XCharacterClassification > i18npool::NativeNumberSupplierService::xCharClass
mutableprivate

Definition at line 81 of file nativenumbersupplier.hxx.


The documentation for this class was generated from the following files: