LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
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
20
21
22 module com { module sun { module star { module util {
23
24
27published constants NumberFormat
28{
29
32 const short ALL = 0;
33
34
37 const short DEFINED = 1;
38
39
42 const short DATE = 2;
43
44
47 const short TIME = 4;
48
49
52 const short CURRENCY = 8;
53
54
57 const short NUMBER = 16;
58
59
62 const short SCIENTIFIC = 32;
63
64
67 const short FRACTION = 64;
68
69
72 const short PERCENT = 128;
73
74
77 const short TEXT = 256;
78
79
82 const short DATETIME = 6;
83
84
87 const short LOGICAL = 1024;
88
89
92 const short UNDEFINED = 2048;
93
94
98 const short EMPTY = 4096;
99
100
105 const short DURATION = 8196;
106
107};
108
109
110}; }; }; };
111
112/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
contains constants that are used to specify the type of a number format.
Definition NumberFormat.idl:28
const short DEFINED
selects only user-defined number formats.
Definition NumberFormat.idl:37
const short PERCENT
selects percentage number formats.
Definition NumberFormat.idl:72
const short DATE
selects date formats.
Definition NumberFormat.idl:42
const short UNDEFINED
is used as a return value if no format exists.
Definition NumberFormat.idl:92
const short NUMBER
selects decimal number formats.
Definition NumberFormat.idl:57
const short DURATION
Definition NumberFormat.idl:105
const short CURRENCY
selects currency formats.
Definition NumberFormat.idl:52
const short FRACTION
selects number formats for fractions.
Definition NumberFormat.idl:67
const short LOGICAL
selects boolean number formats.
Definition NumberFormat.idl:87
const short DATETIME
selects number formats which contain date and time.
Definition NumberFormat.idl:82
const short TEXT
selects text number formats.
Definition NumberFormat.idl:77
const short EMPTY
Definition NumberFormat.idl:98
const short ALL
selects all number formats.
Definition NumberFormat.idl:32
const short TIME
selects time formats.
Definition NumberFormat.idl:47
const short SCIENTIFIC
selects scientific number formats.
Definition NumberFormat.idl:62
Definition Ambiguous.idl:20