(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.