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

interface XNumberFormatCode

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  nFormatType,
[in] short  nFormatUsage,
[in] ::com::sun::star::lang::Locale  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
Parameter rLocale
The locale for which the format code is requested.
getFormatCode
NumberFormatCode
getFormatCode( [in] short  nFormatIndex,
[in] ::com::sun::star::lang::Locale  rLocale );

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

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

Description
returns all format codes for a given locale.
Parameter rLocale
The locale for which the format codes are requested.
Top of Page