LibreOffice Module i18npool (master)  1
Public 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 (bool _useOffset=false)
 
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 &aLocale, 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 > &offset, const OUString &rNativeNumberParams=OUString())
 
sal_Unicode getNativeNumberChar (const sal_Unicode inChar, const css::lang::Locale &aLocale, sal_Int16 nNativeNumberMode)
 

Private Attributes

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

Detailed Description

Definition at line 34 of file nativenumbersupplier.hxx.

Constructor & Destructor Documentation

i18npool::NativeNumberSupplierService::NativeNumberSupplierService ( bool  _useOffset = false)
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 1225 of file nativenumbersupplier.cxx.

References i18npool::implementationName.

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

Definition at line 792 of file nativenumbersupplier.cxx.

References isNumber, isValidNatNum(), NUMBER_ZERO, i18npool::NumberChar, i18npool::NumberChar_FullWidth, and i18npool::NumberChar_Hangul_ko.

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 > &  offset,
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 784 of file nativenumbersupplier.cxx.

References getNativeNumberString().

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

Definition at line 1237 of file nativenumbersupplier.cxx.

References i18npool::implementationName.

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

Definition at line 836 of file nativenumbersupplier.cxx.

Referenced by convertToXmlAttributes(), and getNativeNumberChar().

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

Definition at line 1231 of file nativenumbersupplier.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 78 of file nativenumbersupplier.hxx.

bool i18npool::NativeNumberSupplierService::useOffset
private

Definition at line 79 of file nativenumbersupplier.hxx.

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: