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, std::u16string_view rNativeNumberParams=std::u16string_view())
 

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 33 of file nativenumbersupplier.hxx.

Constructor & Destructor Documentation

◆ NativeNumberSupplierService()

i18npool::NativeNumberSupplierService::NativeNumberSupplierService ( )
inline

Definition at line 40 of file nativenumbersupplier.hxx.

Member Function Documentation

◆ convertFromXmlAttributes()

sal_Int16 SAL_CALL i18npool::NativeNumberSupplierService::convertFromXmlAttributes ( const css::i18n::NativeNumberXmlAttributes &  aAttr)
overridevirtual

◆ convertToXmlAttributes()

NativeNumberXmlAttributes SAL_CALL i18npool::NativeNumberSupplierService::convertToXmlAttributes ( const css::lang::Locale &  aLocale,
sal_Int16  nNativeNumberMode 
)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL i18npool::NativeNumberSupplierService::getImplementationName ( )
overridevirtual

Definition at line 1248 of file nativenumbersupplier.cxx.

References i18npool::implementationName.

◆ getNativeNumberChar()

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

◆ getNativeNumberString() [1/2]

virtual OUString SAL_CALL i18npool::NativeNumberSupplierService::getNativeNumberString ( const OUString &  aNumberString,
const css::lang::Locale &  aLocale,
sal_Int16  nNativeNumberMode 
)
overridevirtual

◆ getNativeNumberString() [2/2]

OUString i18npool::NativeNumberSupplierService::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() 
)
Exceptions
css::uno::RuntimeException

◆ getNativeNumberStringParams()

OUString SAL_CALL i18npool::NativeNumberSupplierService::getNativeNumberStringParams ( const OUString &  rNumberString,
const css::lang::Locale &  rLocale,
sal_Int16  nNativeNumberMode,
const OUString &  rNativeNumberParams 
)
overridevirtual

Definition at line 808 of file nativenumbersupplier.cxx.

References getNativeNumberString().

◆ getSupportedServiceNames()

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

Definition at line 1260 of file nativenumbersupplier.cxx.

References i18npool::implementationName.

◆ isValidNatNum()

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

Definition at line 46 of file nativenumbersupplier.hxx.

References isValidNatNumImpl().

Referenced by convertToXmlAttributes().

◆ isValidNatNumImpl()

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

Definition at line 859 of file nativenumbersupplier.cxx.

Referenced by getNativeNumberChar(), and isValidNatNum().

◆ supportsService()

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

Definition at line 1254 of file nativenumbersupplier.cxx.

References cppu::supportsService().

Member Data Documentation

◆ aLocale

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

Definition at line 79 of file nativenumbersupplier.hxx.

◆ xCharClass

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

Definition at line 80 of file nativenumbersupplier.hxx.


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