1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_util_NumberFormat_idl__
20 #define __com_sun_star_util_NumberFormat_idl__
24 module com
{ module sun
{ module star
{ module util
{
27 /** contains constants that are used to specify the type of a number format.
29 published constants NumberFormat
32 /** selects all number formats.
37 /** selects only user-defined number formats.
39 const short DEFINED
= 1;
42 /** selects date formats.
47 /** selects time formats.
52 /** selects currency formats.
54 const short CURRENCY
= 8;
57 /** selects decimal number formats.
59 const short NUMBER
= 16;
62 /** selects scientific number formats.
64 const short SCIENTIFIC
= 32;
67 /** selects number formats for fractions.
69 const short FRACTION
= 64;
72 /** selects percentage number formats.
74 const short PERCENT
= 128;
77 /** selects text number formats.
79 const short TEXT
= 256;
82 /** selects number formats which contain date and time.
84 const short DATETIME
= 6;
87 /** selects boolean number formats.
89 const short LOGICAL
= 1024;
92 /** is used as a return value if no format exists.
94 const short UNDEFINED
= 2048;
97 /** @internal is used to flag an empty sub format.
98 @since LibreOffice 5.1
100 const short EMPTY
= 4096;
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */