LibreOffice: Currency2 Struct Reference

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
Public Attributes | List of all members
Currency2 Struct Referencepublished

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

Inheritance diagram for Currency2:

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

## Detailed Description

Symbols, names, and attributes of a specific currency, returned in a sequence by XLocaleData2::getAllCurrencies2().

It is derived from com::sun::star::i18n::Currency and provides an additional flag for currency entries that are available only for legacy reasons in context of loaded documents that use them, but otherwise should not be offered to the user to be selectable.

See also
  XLocaleData for links to DTD of XML locale data files.

## Member Data Documentation

## ◆ LegacyOnly

boolean LegacyOnly

If set, the currency and/or its symbol is only to be used in legacy context.

Since
  OOo 2.0.3

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

- com/sun/star/i18n/Currency2.idl