LibreOffice
LibreOffice 24.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

◆ BankSymbol

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.

◆ DecimalPlaces

short DecimalPlaces

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

◆ Default

boolean Default

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

◆ ID

string ID

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

◆ Name

string Name

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

Should be the localized name.

◆ Symbol

string Symbol

Currency symbol, for example, $.

◆ UsedInCompatibleFormatCodes

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: