1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_i18n_KNumberFormatUsage_idl__
24#define __com_sun_star_i18n_KNumberFormatUsage_idl__
25
26//=============================================================================
27
28module com {  module sun {  module star {  module i18n {
29
30//=============================================================================
31
32/**
33    Category of number format code.
34 */
35
36published constants KNumberFormatUsage
37{
38    /// Date format, for example, "YYYY-MM-DD".
39    const short DATE              = 1;
40    /// Time format, for example, "HH:MM:SS".
41    const short TIME              = 2;
42    /// Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS".
43    const short DATE_TIME         = 3;
44    /// Numeric format, for example, "#,##0.00".
45    const short FIXED_NUMBER      = 4;
46    /// Fractional format, for example, "# ??/??".
47    const short FRACTION_NUMBER   = 5;
48    /// Percent format, for example, "0.00%".
49    const short PERCENT_NUMBER    = 6;
50    /// Scientific format, for example, "0.00E+00".
51    const short SCIENTIFIC_NUMBER = 7;
52    /// Currency format, for example, "#,##0.00 [$EUR]"
53    const short CURRENCY          = 8;
54};
55
56//=============================================================================
57}; }; }; };
58
59#endif
60