Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XNumberFormatCode

Base Interface
com::sun::star::uno::XInterface

Description
This interface provides access to specific number format codes.


Known Services which Export this Interface

com::sun::star::i18n::NumberFormatMapper Map locale data number format codes to index values used by the number formatter

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
 
com::sun::star::i18n::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
getFormatCode
 
com::sun::star::i18n::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
getAllFormatCode
 
sequence< com::sun::star::i18n::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
getAllFormatCodes
 
sequence< com::sun::star::i18n::NumberFormatCode >
getAllFormatCodes(
[ in ] com::sun::star::lang::Locale rLocale );

Description
returns all format codes for a given locale.

Top of Page