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

LibreOffice LibreOffice 7.6 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: */
com::sun::star::util::NumberFormat::DEFINED
const short DEFINED
selects only user-defined number formats.
Definition NumberFormat.idl:37
com::sun::star::util::NumberFormat::UNDEFINED
const short UNDEFINED
is used as a return value if no format exists.
Definition NumberFormat.idl:92
com::sun::star::util::NumberFormat::DURATION
const short DURATION
Definition NumberFormat.idl:105
com::sun::star::util::NumberFormat::FRACTION
const short FRACTION
selects number formats for fractions.
Definition NumberFormat.idl:67
com::sun::star::util::NumberFormat::SCIENTIFIC
const short SCIENTIFIC
selects scientific number formats.
Definition NumberFormat.idl:62
com
Definition Ambiguous.idl:20