Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

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

Elements' Summary
ID ISO 4217 currency code identifier, for example, EUR or USD.  
Symbol Currency symbol, for example, $.  
BankSymbol Currency abbreviation used by banks and in money exchange, for example, EUR or USD. This usually should be identical to the ISO 4217 currency code also used in the ID, but doesn't necessarily have to be.  
Name Name of the currency, for example, Euro or US Dollar. Should be the localized name.  
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 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
ISO 4217 currency code identifier, for example, EUR or USD.
Symbol
string Symbol;
Description
Currency symbol, for example, $.
BankSymbol
string BankSymbol;
Description
Currency abbreviation used by banks and in money exchange, for example, EUR or USD. This usually should be identical to the ISO 4217 currency code also used in the ID, but doesn't necessarily have to be.
Name
string Name;
Description
Name of the currency, for example, Euro or US Dollar. Should be the localized name.
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 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
NumberFormatIndex
DecimalPlaces
short DecimalPlaces;
Description
The number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.