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

interface XNumberFormatCode
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XNumberFormatCode
Description
Access number format codes defined in locale data.

Methods' Summary
getDefault returns the default number format code of a specific category (usage group) for a given locale and format length type.
getFormatCode returns the number format pointed to by nFormatIndex for a given locale.
getAllFormatCode returns all format codes for a given nFormatUsage and locale.
getAllFormatCodes returns all format codes for a given locale.
Methods' Details
getDefault
NumberFormatCode
getDefault(
 
[in] short
[in] short
[in] ::com::sun::star::lang::Locale
 
nFormatType,
nFormatUsage,
rLocale );

Description
returns the default number format code of a specific category (usage group) for a given locale and format length type.
Parameter nFormatType
one of the constants listed in KNumberFormatType
Parameter nFormatUsage
one of KNumberFormatUsage values
getFormatCode
NumberFormatCode
getFormatCode(
 
[in] short
[in] ::com::sun::star::lang::Locale
 
nFormatIndex,
rLocale );

Description
returns the number format pointed to by nFormatIndex for a given locale.
Parameter nFormatIndex
one of NumberFormatIndex values
getAllFormatCode
sequence< NumberFormatCode >
getAllFormatCode(
 
[in] short
[in] ::com::sun::star::lang::Locale
 
nFormatUsage,
rLocale );

Description
returns all format codes for a given nFormatUsage and locale.
Parameter nFormatUsage
one of KNumberFormatUsage values
getAllFormatCodes
sequence< NumberFormatCode >
getAllFormatCodes(
 
[in] ::com::sun::star::lang::Locale
 
rLocale );

Description
returns all format codes for a given locale.
Top of Page