update dev300-m58
[ooovba.git] / offapi / com / sun / star / i18n / KNumberFormatUsage.idl
blob6a140bc7d1afaf6975320561a6370058e9039c3c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: KNumberFormatUsage.idl,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_i18n_KNumberFormatUsage_idl__
31 #define __com_sun_star_i18n_KNumberFormatUsage_idl__
33 //=============================================================================
35 module com { module sun { module star { module i18n {
37 //=============================================================================
39 /**
40 Category of number format code.
43 published constants KNumberFormatUsage
45 /// Date format, for example, "YYYY-MM-DD".
46 const short DATE = 1;
47 /// Time format, for example, "HH:MM:SS".
48 const short TIME = 2;
49 /// Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS".
50 const short DATE_TIME = 3;
51 /// Numeric format, for example, "#,##0.00".
52 const short FIXED_NUMBER = 4;
53 /// Fractional format, for example, "# ??/??".
54 const short FRACTION_NUMBER = 5;
55 /// Percent format, for example, "0.00%".
56 const short PERCENT_NUMBER = 6;
57 /// Scientific format, for example, "0.00E+00".
58 const short SCIENTIFIC_NUMBER = 7;
59 /// Currency format, for example, "#,##0.00 [$EUR]"
60 const short CURRENCY = 8;
63 //=============================================================================
64 }; }; }; };
66 #endif