LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
Currency Struct Referencepublished

Symbols, names, and attributes of a specific currency, returned in a sequence by XLocaleData::getAllCurrencies(). More...

import"Currency.idl";

Inheritance diagram for Currency:
Currency2

Public Attributes

string ID
 ISO 4217 currency code identifier, for example, EUR or USD. More...
 
string Symbol
 Currency symbol, for example, $. More...
 
string BankSymbol
 Currency abbreviation used by banks and in money exchange, for example, EUR or USD. More...
 
string Name
 Name of the currency, for example, Euro or US Dollar. More...
 
boolean Default
 If this currency is the default currency for a given locale. More...
 
boolean UsedInCompatibleFormatCodes
 If this currency is the one used in compatible number format codes with FormatElement::formatIndex() values in the range 12..17. More...
 
short DecimalPlaces
 The number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira. More...
 

Detailed 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.

Member Data Documentation

string 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.

short DecimalPlaces

The number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira.

boolean Default

If this currency is the default currency for a given locale.

string ID

ISO 4217 currency code identifier, for example, EUR or USD.

string Name

Name of the currency, for example, Euro or US Dollar.

Should be the localized name.

string Symbol

Currency symbol, for example, $.

boolean 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.

See also
com::sun::star::i18n::NumberFormatIndex

The documentation for this struct was generated from the following file: