LibreOffice
LibreOffice 7.4 SDK API Reference
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...

import"Currency2.idl";

Inheritance diagram for Currency2:
Currency

Public Attributes

boolean LegacyOnly
 If set, the currency and/or its symbol is only to be used in legacy context. More...
 
- Public Attributes inherited from Currency
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 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: