LibreOffice
LibreOffice 6.2 SDK API Reference
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: */
const short DATE_START
Start of Date formats (first format)
Definition: NumberFormatIndex.idl:159
const short SCIENTIFIC_END
End of Scientific formats (last format)
Definition: NumberFormatIndex.idl:117
const short FRACTION_1
?/? Number with decimal in fraction in 1 digit placeholder formatindex="10"
Definition: NumberFormatIndex.idl:133
const short INDEX_TABLE_ENTRIES
count of built-in format codes.
Definition: NumberFormatIndex.idl:268
const short TIME_END
End of Time formats (last format)
Definition: NumberFormatIndex.idl:227
const short DATETIME_START
Start of DateTime formats (first format)
Definition: NumberFormatIndex.idl:231
const short NUMBER_INT
0 Integer number formatindex="1"
Definition: NumberFormatIndex.idl:97
const short DATE_SYS_NNDMMMMYYYY
Wed, 8. October 1997 see also DATE_SYS_... explanation formatindex="29".
Definition: NumberFormatIndex.idl:187
const short DATE_DIN_DMMMYYYY
Definition: NumberFormatIndex.idl:177
const short DATE_SYS_DDMMYY
08.10.97 see also DATE_SYS_... explanation formatindex="20"
Definition: NumberFormatIndex.idl:166
const short TIME_START
Start of Time formats (first format)
Definition: NumberFormatIndex.idl:211
const short DATE_DEF_NNDDMMMYY
Wed 08.Oct 97 see also DATE_DEF_... explanation formatindex="28".
Definition: NumberFormatIndex.idl:185
const short CURRENCY_1000DEC2_RED
#,##0.00 DM Decimal currency format with negative in red formatindex="15"
Definition: NumberFormatIndex.idl:149
const short DATETIME_SYS_DDMMYYYY_HHMMSS
08.10.1997 01:23:45 Date/time format with second Note: When editing already existing date/time data ...
Definition: NumberFormatIndex.idl:238
const short DATE_SYS_NNNNDMMMMYYYY
Wednesday, 8. October 1997 formatindex="30".
Definition: NumberFormatIndex.idl:189
const short SCIENTIFIC_START
Start of Scientific formats (first format)
Definition: NumberFormatIndex.idl:111
const short DATETIME_END
End of DateTime formats (last format)
Definition: NumberFormatIndex.idl:240
const short DATE_END
End of Date formats (last format)
Definition: NumberFormatIndex.idl:207
const short DATE_SYS_DDMMYYYY
08.10.1997 see also DATE_SYS_...
Definition: NumberFormatIndex.idl:171
const short DATE_SYS_DMMMYY
Definition: NumberFormatIndex.idl:173
const short CURRENCY_START
Start of Currency formats (first format)
Definition: NumberFormatIndex.idl:141
const short SCIENTIFIC_000E00
0.00E+00 Number in scientific notation with exponent in 2 digit placeholders formatindex="7" ...
Definition: NumberFormatIndex.idl:115
const short PERCENT_INT
0% Percentage format, rounded to integer formatindex="8"
Definition: NumberFormatIndex.idl:123
const short DATE_SYSTEM_LONG
Wednesday, 8.
Definition: NumberFormatIndex.idl:164
Definition: Ambiguous.idl:22
const short NUMBER_SYSTEM
#,##0.00 In SO5/Win this format was retrieved from the Regional Settings formatindex="5" ...
Definition: NumberFormatIndex.idl:105
const short FRACTION_2
??/?? Number with decimal in fraction in 2 digit placeholders formatindex="11"
Definition: NumberFormatIndex.idl:135
const short PERCENT_START
Start of Percent formats (first format)
Definition: NumberFormatIndex.idl:121
const short DATE_DIN_DMMMMYYYY
Definition: NumberFormatIndex.idl:181
const short TIME_HHMMAMPM
HH:MM AM/PM Time format with hour, minute and morning/afternoon notation formatindex="41".
Definition: NumberFormatIndex.idl:217
const short DATE_WW
week of year formatindex="38"
Definition: NumberFormatIndex.idl:205
const short DATE_SYS_DMMMYYYY
Definition: NumberFormatIndex.idl:175
const short CURRENCY_1000INT
#,##0 DM Integer currency format with group separator formatindex="12"
Definition: NumberFormatIndex.idl:143
const short CURRENCY_1000DEC2
#,##0.00 DM Decimal currency format with group separator formatindex="13"
Definition: NumberFormatIndex.idl:145
const short DATE_SYS_NNDMMMYY
Wed, 8. Oct 97 see also DATE_SYS_... explanation formatindex="27".
Definition: NumberFormatIndex.idl:183
const short PERCENT_DEC2
0.00% Percentage format, rounded to 2 decimals formatindex="9"
Definition: NumberFormatIndex.idl:125
const short DATE_MMMM
October formatindex="36".
Definition: NumberFormatIndex.idl:201
const short PERCENT_END
End of Percent formats (last format)
Definition: NumberFormatIndex.idl:127
const short FRACTION_END
End of Fraction formats (last format)
Definition: NumberFormatIndex.idl:137
const short DATE_SYS_DDMMM
08.Oct see also DATE_SYS_... explanation formatindex="35"
Definition: NumberFormatIndex.idl:199
const short CURRENCY_1000DEC2_CCC
#,##0.00 DEM Currency in ISO-4217 abbreviation format formatindex="16"
Definition: NumberFormatIndex.idl:151
const short DATETIME_SYSTEM_SHORT_HHMM
08.10.97 01:23 Date/time format formatindex="46"
Definition: NumberFormatIndex.idl:233
const short NUMBER_START
Start of simple numerical formats (first format)
Definition: NumberFormatIndex.idl:93
const short CURRENCY_END
End of Currency formats (last format)
Definition: NumberFormatIndex.idl:155
const short DATE_SYS_DMMMMYYYY
Definition: NumberFormatIndex.idl:179
const short TIME_HHMMSS
HH:MM:SS Time format with hour, minute and second formatindex="40".
Definition: NumberFormatIndex.idl:215
const short TIME_HH_MMSS00
[HH]:MM:SS,00 Time format with amount of hours and seconds with fraction formatindex="45" ...
Definition: NumberFormatIndex.idl:225
const short DATE_QQJJ
4th quarter 97 formatindex="37"
Definition: NumberFormatIndex.idl:203
const short BOOLEAN
BOOLEAN format.
Definition: NumberFormatIndex.idl:253
const short CURRENCY_1000DEC2_DASHED
#,##0.– DM Currency format with dash representing 0 in decimals formatindex="17" ...
Definition: NumberFormatIndex.idl:153
const short NUMBER_STANDARD
The "General" standard format formatindex="0".
Definition: NumberFormatIndex.idl:95
const short DATE_SYSTEM_SHORT
08.10.97 see also DATE_SYSTEM_... explanation formatindex="18"
Definition: NumberFormatIndex.idl:161
const short NUMBER_END
End of simple numerical formats (last format)
Definition: NumberFormatIndex.idl:107
const short DATE_SYS_MMYY
10.97 see also DATE_SYS_... explanation formatindex="34"
Definition: NumberFormatIndex.idl:197
const short CURRENCY_1000INT_RED
#,##0 DM Integer currency format with negative in red formatindex="14"
Definition: NumberFormatIndex.idl:147
const short TEXT
Text format.
Definition: NumberFormatIndex.idl:265
const short TIME_HHMM
HH:MM Time format with hour and minute formatindex="39".
Definition: NumberFormatIndex.idl:213
const short NUMBER_1000INT
#,##0 Integer number with group separator formatindex="3"
Definition: NumberFormatIndex.idl:101
const short DATE_DIN_YYYYMMDD
1997-10-08 DIN/EN/ISO formatindex="33"
Definition: NumberFormatIndex.idl:195
const short TIME_HHMMSSAMPM
HH:MM:SS AM/PM Time format with hour, minute, second and morning/afternoon notation formatindex="4...
Definition: NumberFormatIndex.idl:219
const short SCIENTIFIC_000E000
0.00E+000 Number in scientific notation with exponent in 3 digit placeholders formatindex="6" ...
Definition: NumberFormatIndex.idl:113
const short TIME_MMSS00
MM:SS,00 Time format with second in fraction formatindex="44".
Definition: NumberFormatIndex.idl:223
const short TIME_HH_MMSS
[HH]:MM:SS Time format with amount of hours formatindex="43"
Definition: NumberFormatIndex.idl:221
const short FRACTION_START
Start of Fraction formats (first format)
Definition: NumberFormatIndex.idl:131
const short NUMBER_1000DEC2
#,##0.00 Decimal number with group separator formatindex="4"
Definition: NumberFormatIndex.idl:103
const short NUMBER_DEC2
0.00 Decimal number with 2 decimals formatindex="2"
Definition: NumberFormatIndex.idl:99
const short DATE_DIN_MMDD
10-08 DIN/EN formatindex="31"
Definition: NumberFormatIndex.idl:191
const short DATE_DIN_YYMMDD
97-10-08 DIN/EN formatindex="32"
Definition: NumberFormatIndex.idl:193