:: com :: sun :: star :: i18n ::

interface XNativeNumberSupplier
Description
Methods to convert between strings of ASCII Arabic digits and native numeral strings.
Since
OpenOffice 1.1.2
Developers Guide

Methods' Summary
getNativeNumberString Returns native number string for given number string.  
isValidNatNum Check if the NatNum is valid for the given locale.  
convertToXmlAttributes Convert a specific NatNum/Locale combination to attributes used in the XML file format.  
convertFromXmlAttributes Convert XML attributes to a NatNum value.  
Methods' Details
getNativeNumberString
string
getNativeNumberString( [in] string  aNumberString,
[in] ::com::sun::star::lang::Locale  aLocale,
[in] short  nNativeNumberMode );

Description
Returns native number string for given number string.
Parameter nNativeNumberMode
One of NativeNumberMode values.
isValidNatNum
boolean
isValidNatNum( [in] ::com::sun::star::lang::Locale  aLocale,
[in] short  nNativeNumberMode );

Description
Check if the NatNum is valid for the given locale.
Parameter nNativeNumberMode
One of NativeNumberMode values.
convertToXmlAttributes
NativeNumberXmlAttributes
convertToXmlAttributes( [in] ::com::sun::star::lang::Locale  aLocale,
[in] short  nNativeNumberMode );

Description
Convert a specific NatNum/Locale combination to attributes used in the XML file format.
Parameter nNativeNumberMode
One of NativeNumberMode values.
convertFromXmlAttributes
short
convertFromXmlAttributes( [in] NativeNumberXmlAttributes  aAttr );

Description
Convert XML attributes to a NatNum value.
Returns
One of NativeNumberMode
Top of Page