LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NumberFormatIndex.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 #ifndef __com_sun_star_i18n_NumberFormatIndex_idl__
21 #define __com_sun_star_i18n_NumberFormatIndex_idl__
22 
23 
24 module com { module sun { module star { module i18n {
25 
26 
30 
90 published constants NumberFormatIndex
91 {
93  const short NUMBER_START = 0;
97  const short NUMBER_INT = NUMBER_START+1;
99  const short NUMBER_DEC2 = NUMBER_START+2;
101  const short NUMBER_1000INT = NUMBER_START+3;
103  const short NUMBER_1000DEC2 = NUMBER_START+4;
105  const short NUMBER_SYSTEM = NUMBER_START+5;
107  const short NUMBER_END = NUMBER_SYSTEM ;
108 
109 
111  const short SCIENTIFIC_START = NUMBER_END+1;
115  const short SCIENTIFIC_000E00 = SCIENTIFIC_START+1;
118 
119 
121  const short PERCENT_START = SCIENTIFIC_END+1;
123  const short PERCENT_INT = PERCENT_START;
125  const short PERCENT_DEC2 = PERCENT_START+1;
127  const short PERCENT_END = PERCENT_DEC2;
128 
129 
131  const short FRACTION_START = PERCENT_END+1;
133  const short FRACTION_1 = FRACTION_START;
135  const short FRACTION_2 = FRACTION_START+1;
137  const short FRACTION_END = FRACTION_2;
138 
139 
141  const short CURRENCY_START = FRACTION_END+1;
145  const short CURRENCY_1000DEC2 = CURRENCY_START+1;
147  const short CURRENCY_1000INT_RED = CURRENCY_START+2;
149  const short CURRENCY_1000DEC2_RED = CURRENCY_START+3;
151  const short CURRENCY_1000DEC2_CCC = CURRENCY_START+4;
153  const short CURRENCY_1000DEC2_DASHED = CURRENCY_START+5;
156 
157 
159  const short DATE_START = CURRENCY_END+1;
164  const short DATE_SYSTEM_LONG = DATE_START+1;
166  const short DATE_SYS_DDMMYY = DATE_START+2;
171  const short DATE_SYS_DDMMYYYY = DATE_START+3;
173  const short DATE_SYS_DMMMYY = DATE_START+4;
175  const short DATE_SYS_DMMMYYYY = DATE_START+5;
177  const short DATE_DIN_DMMMYYYY = DATE_START+6;
179  const short DATE_SYS_DMMMMYYYY = DATE_START+7;
181  const short DATE_DIN_DMMMMYYYY = DATE_START+8;
183  const short DATE_SYS_NNDMMMYY = DATE_START+9;
185  const short DATE_DEF_NNDDMMMYY = DATE_START+10;
187  const short DATE_SYS_NNDMMMMYYYY = DATE_START+11;
189  const short DATE_SYS_NNNNDMMMMYYYY = DATE_START+12;
191  const short DATE_DIN_MMDD = DATE_START+13;
193  const short DATE_DIN_YYMMDD = DATE_START+14;
195  const short DATE_DIN_YYYYMMDD = DATE_START+15;
197  const short DATE_SYS_MMYY = DATE_START+16;
199  const short DATE_SYS_DDMMM = DATE_START+17;
201  const short DATE_MMMM = DATE_START+18;
203  const short DATE_QQJJ = DATE_START+19;
205  const short DATE_WW = DATE_START+20;
207  const short DATE_END = DATE_WW;
208 
209 
211  const short TIME_START = DATE_END+1;
213  const short TIME_HHMM = TIME_START;
215  const short TIME_HHMMSS = TIME_START+1;
217  const short TIME_HHMMAMPM = TIME_START+2;
219  const short TIME_HHMMSSAMPM = TIME_START+3;
221  const short TIME_HH_MMSS = TIME_START+4;
223  const short TIME_MMSS00 = TIME_START+5;
225  const short TIME_HH_MMSS00 = TIME_START+6;
227  const short TIME_END = TIME_HH_MMSS00;
228 
229 
231  const short DATETIME_START = TIME_END + 1;
238  const short DATETIME_SYS_DDMMYYYY_HHMMSS= DATETIME_START+1;
241 
242 
253  const short BOOLEAN = DATETIME_END+1;
254 
265  const short TEXT = BOOLEAN+1;
266 
268  const short INDEX_TABLE_ENTRIES = TEXT+1;
269 };
270 
271 
272 }; }; }; };
273 #endif
274 
275 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */