LibreOffice: com/sun/star/util/NumberFormat.idl Source File

LibreOffice LibreOffice 7.3 SDK API Reference

NumberFormat.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#ifndef __com_sun_star_util_NumberFormat_idl__
20#define __com_sun_star_util_NumberFormat_idl__
21
22
23
24 module com { module sun { module star { module util {
25
26
29published constants NumberFormat
30{
31
34 const short ALL = 0;
35
36
39 const short DEFINED = 1;
40
41
44 const short DATE = 2;
45
46
49 const short TIME = 4;
50
51
54 const short CURRENCY = 8;
55
56
59 const short NUMBER = 16;
60
61
64 const short SCIENTIFIC = 32;
65
66
69 const short FRACTION = 64;
70
71
74 const short PERCENT = 128;
75
76
79 const short TEXT = 256;
80
81
84 const short DATETIME = 6;
85
86
89 const short LOGICAL = 1024;
90
91
94 const short UNDEFINED = 2048;
95
96
100 const short EMPTY = 4096;
101
102
107 const short DURATION = 8196;
108
109};
110
111
112}; }; }; };
113
114#endif
115
116/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::util::NumberFormat::DEFINED
const short DEFINED
selects only user-defined number formats.
Definition: NumberFormat.idl:39
com::sun::star::util::NumberFormat::PERCENT
const short PERCENT
selects percentage number formats.
Definition: NumberFormat.idl:74
com::sun::star::util::NumberFormat::DATE
const short DATE
selects date formats.
Definition: NumberFormat.idl:44
com::sun::star::util::NumberFormat::UNDEFINED
const short UNDEFINED
is used as a return value if no format exists.
Definition: NumberFormat.idl:94
com::sun::star::util::NumberFormat::NUMBER
const short NUMBER
selects decimal number formats.
Definition: NumberFormat.idl:59
com::sun::star::util::NumberFormat::DURATION
const short DURATION
Definition: NumberFormat.idl:107
com::sun::star::util::NumberFormat::CURRENCY
const short CURRENCY
selects currency formats.
Definition: NumberFormat.idl:54
com::sun::star::util::NumberFormat::FRACTION
const short FRACTION
selects number formats for fractions.
Definition: NumberFormat.idl:69
com::sun::star::util::NumberFormat::LOGICAL
const short LOGICAL
selects boolean number formats.
Definition: NumberFormat.idl:89
com::sun::star::util::NumberFormat::DATETIME
const short DATETIME
selects number formats which contain date and time.
Definition: NumberFormat.idl:84
com::sun::star::util::NumberFormat::TEXT
const short TEXT
selects text number formats.
Definition: NumberFormat.idl:79
com::sun::star::util::NumberFormat::EMPTY
const short EMPTY
Definition: NumberFormat.idl:100
com::sun::star::util::NumberFormat::ALL
const short ALL
selects all number formats.
Definition: NumberFormat.idl:34
com::sun::star::util::NumberFormat::TIME
const short TIME
selects time formats.
Definition: NumberFormat.idl:49
com::sun::star::util::NumberFormat::SCIENTIFIC
const short SCIENTIFIC
selects scientific number formats.
Definition: NumberFormat.idl:64
com
Definition: Ambiguous.idl:22