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

interface XNumberFormatCode
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XNumberFormatCode
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
Description
Access number format codes defined in locale data.
Developers Guide
6.2.2 Office Development - Common Application Features - Internationalization - Overview and Using the API - 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
::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 ::com::sun::star::i18n::KNumberFormatType
Parameter nFormatUsage
one of ::com::sun::star::i18n::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 ::com::sun::star::i18n::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 ::com::sun::star::i18n::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