Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

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

interface XNativeNumberSupplier
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XNativeNumberSupplier
Description
Methods to convert between strings of ASCII Arabic digits and native numeral strings.

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
[in] ::com::sun::star::lang::Locale
[in] short
 
aNumberString,
aLocale,
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
[in] short
 
aLocale,
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
[in] short
 
aLocale,
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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.