LibreOffice: com/sun/star/i18n/Currency.idl Source File

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
Currency.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module i18n {
22
23
31
32published struct Currency
33{
36 string ID;
37
39 string Symbol;
40
45 string BankSymbol;
46
49 string Name;
50
52 boolean Default;
53
61 boolean UsedInCompatibleFormatCodes;
62
65 short DecimalPlaces;
66};
67
68}; }; }; };
69
70/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition Ambiguous.idl:20
com::sun::star::i18n::Currency
Symbols, names, and attributes of a specific currency, returned in a sequence by XLocaleData::getAllC...
Definition Currency.idl:33
com::sun::star::i18n::Currency::UsedInCompatibleFormatCodes
boolean UsedInCompatibleFormatCodes
If this currency is the one used in compatible number format codes with FormatElement::formatIndex() ...
Definition Currency.idl:61
com::sun::star::i18n::Currency::Default
boolean Default
If this currency is the default currency for a given locale.
Definition Currency.idl:52
com::sun::star::i18n::Currency::Symbol
string Symbol
Currency symbol, for example, $.
Definition Currency.idl:39
com::sun::star::i18n::Currency::Name
string Name
Name of the currency, for example, Euro or US Dollar.
Definition Currency.idl:49
com::sun::star::i18n::Currency::ID
string ID
ISO 4217 currency code identifier, for example, EUR or USD.
Definition Currency.idl:36
com::sun::star::i18n::Currency::BankSymbol
string BankSymbol
Currency abbreviation used by banks and in money exchange, for example, EUR or USD.
Definition Currency.idl:45
com::sun::star::i18n::Currency::DecimalPlaces
short DecimalPlaces
The number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira.
Definition Currency.idl:65