Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: 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

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.