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 .
22 module com
{ module sun
{ module star
{ module util
{
25 /** contains constants that are used to specify the type of a number format.
27 published constants NumberFormat
30 /** selects all number formats.
35 /** selects only user-defined number formats.
37 const short DEFINED
= 1;
40 /** selects date formats.
45 /** selects time formats.
50 /** selects currency formats.
52 const short CURRENCY
= 8;
55 /** selects decimal number formats.
57 const short NUMBER
= 16;
60 /** selects scientific number formats.
62 const short SCIENTIFIC
= 32;
65 /** selects number formats for fractions.
67 const short FRACTION
= 64;
70 /** selects percentage number formats.
72 const short PERCENT
= 128;
75 /** selects text number formats.
77 const short TEXT
= 256;
80 /** selects number formats which contain date and time.
82 const short DATETIME
= 6;
85 /** selects boolean number formats.
87 const short LOGICAL
= 1024;
90 /** is used as a return value if no format exists.
92 const short UNDEFINED
= 2048;
95 /** @internal is used to flag an empty sub format.
96 @since LibreOffice 5.1
98 const short EMPTY
= 4096;
101 /** @internal selects a time duration format.
103 @since LibreOffice 6.2
105 const short DURATION
= 8196;
112 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */