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

struct Currency
Description
Symbols, names, and attributes of a specific currency, returned in a sequence by ::com::sun::star::i18n::XLocaleData::getAllCurrencies() .
See also
::com::sun::star::i18n::XLocaleData
for links to DTD of XML locale data files.

Elements' Summary
ID Identifier, for example, dollar .  
Symbol Currency symbol, for example, $ .  
BankSymbol Currency abbreviation used by banks and in money exchange, for example, USD .  
Name Name of the currency, for example, US Dollar .  
Default If this currency is the default currency for a given locale.  
UsedInCompatibleFormatCodes If this currency is the one used in compatible number format codes with ::com::sun::star::i18n::FormatElement::formatIndex values in the range 12..17. Those format codes are used to generate some old style currency format codes for compatibility with StarOffice5 and StarOffice4.  
DecimalPlaces The number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira.  
Elements' Details
ID
string ID;
Description
Identifier, for example, dollar .
Symbol
string Symbol;
Description
Currency symbol, for example, $ .
BankSymbol
string BankSymbol;
Description
Currency abbreviation used by banks and in money exchange, for example, USD .
Name
string Name;
Description
Name of the currency, for example, US Dollar .
Default
boolean Default;
Description
If this currency is the default currency for a given locale.
UsedInCompatibleFormatCodes
boolean UsedInCompatibleFormatCodes;
Description
If this currency is the one used in compatible number format codes with ::com::sun::star::i18n::FormatElement::formatIndex values in the range 12..17. Those format codes are used to generate some old style currency format codes for compatibility with StarOffice5 and StarOffice4.
See also
::com::sun::star::i18n::NumberFormatIndex
DecimalPlaces
short DecimalPlaces;
Description
The number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira.
Top of Page