LibreOffice
LibreOffice 24.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 
21 module com { module sun { module star { module i18n {
22 
23 
27 
87 published constants NumberFormatIndex
88 {
90  const short NUMBER_START = 0;
94  const short NUMBER_INT = NUMBER_START+1;
96  const short NUMBER_DEC2 = NUMBER_START+2;
98  const short NUMBER_1000INT = NUMBER_START+3;
100  const short NUMBER_1000DEC2 = NUMBER_START+4;
102  const short NUMBER_SYSTEM = NUMBER_START+5;
104  const short NUMBER_END = NUMBER_SYSTEM ;
105 
106 
108  const short SCIENTIFIC_START = NUMBER_END+1;
115 
116 
118  const short PERCENT_START = SCIENTIFIC_END+1;
120  const short PERCENT_INT = PERCENT_START;
122  const short PERCENT_DEC2 = PERCENT_START+1;
124  const short PERCENT_END = PERCENT_DEC2;
125 
126 
128  const short FRACTION_START = PERCENT_END+1;
130  const short FRACTION_1 = FRACTION_START;
132  const short FRACTION_2 = FRACTION_START+1;
134  const short FRACTION_END = FRACTION_2;
135 
136 
138  const short CURRENCY_START = FRACTION_END+1;
153 
154 
156  const short DATE_START = CURRENCY_END+1;
161  const short DATE_SYSTEM_LONG = DATE_START+1;
163  const short DATE_SYS_DDMMYY = DATE_START+2;
168  const short DATE_SYS_DDMMYYYY = DATE_START+3;
170  const short DATE_SYS_DMMMYY = DATE_START+4;
172  const short DATE_SYS_DMMMYYYY = DATE_START+5;
174  const short DATE_DIN_DMMMYYYY = DATE_START+6;
180  const short DATE_SYS_NNDMMMYY = DATE_START+9;
182  const short DATE_DEF_NNDDMMMYY = DATE_START+10;
188  const short DATE_DIN_MMDD = DATE_START+13;
190  const short DATE_DIN_YYMMDD = DATE_START+14;
192  const short DATE_DIN_YYYYMMDD = DATE_START+15;
194  const short DATE_SYS_MMYY = DATE_START+16;
196  const short DATE_SYS_DDMMM = DATE_START+17;
198  const short DATE_MMMM = DATE_START+18;
200  const short DATE_QQJJ = DATE_START+19;
202  const short DATE_WW = DATE_START+20;
204  const short DATE_END = DATE_WW;
205 
206 
208  const short TIME_START = DATE_END+1;
210  const short TIME_HHMM = TIME_START;
212  const short TIME_HHMMSS = TIME_START+1;
214  const short TIME_HHMMAMPM = TIME_START+2;
216  const short TIME_HHMMSSAMPM = TIME_START+3;
218  const short TIME_HH_MMSS = TIME_START+4;
220  const short TIME_MMSS00 = TIME_START+5;
222  const short TIME_HH_MMSS00 = TIME_START+6;
224  const short TIME_END = TIME_HH_MMSS00;
225 
226 
228  const short DATETIME_START = TIME_END + 1;
238 
239 
250  const short BOOLEAN = DATETIME_END+1;
251 
262  const short TEXT = BOOLEAN+1;
263 
265  const short INDEX_TABLE_ENTRIES = TEXT+1;
266 };
267 
268 
269 }; }; }; };
270 
271 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short DATE_START
Start of Date formats (first format)
Definition: NumberFormatIndex.idl:156
const short SCIENTIFIC_END
End of Scientific formats (last format)
Definition: NumberFormatIndex.idl:114
const short FRACTION_1
?/? Number with decimal in fraction in 1 digit placeholder formatindex="10"
Definition: NumberFormatIndex.idl:130
const short INDEX_TABLE_ENTRIES
count of built-in format codes.
Definition: NumberFormatIndex.idl:265
const short TIME_END
End of Time formats (last format)
Definition: NumberFormatIndex.idl:224
const short DATETIME_START
Start of DateTime formats (first format)
Definition: NumberFormatIndex.idl:228
const short NUMBER_INT
0 Integer number formatindex="1"
Definition: NumberFormatIndex.idl:94
const short DATE_SYS_NNDMMMMYYYY
Wed, 8. October 1997 see also DATE_SYS_... explanation formatindex="29".
Definition: NumberFormatIndex.idl:184
const short DATE_DIN_DMMMYYYY
Definition: NumberFormatIndex.idl:174
const short DATE_SYS_DDMMYY
08.10.97 see also DATE_SYS_... explanation formatindex="20"
Definition: NumberFormatIndex.idl:163
const short TIME_START
Start of Time formats (first format)
Definition: NumberFormatIndex.idl:208
const short DATE_DEF_NNDDMMMYY
Wed 08.Oct 97 see also DATE_DEF_... explanation formatindex="28".
Definition: NumberFormatIndex.idl:182
const short CURRENCY_1000DEC2_RED
#,##0.00 DM Decimal currency format with negative in red formatindex="15"
Definition: NumberFormatIndex.idl:146
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:235
const short DATE_SYS_NNNNDMMMMYYYY
Wednesday, 8. October 1997 formatindex="30".
Definition: NumberFormatIndex.idl:186
const short SCIENTIFIC_START
Start of Scientific formats (first format)
Definition: NumberFormatIndex.idl:108
const short DATETIME_END
End of DateTime formats (last format)
Definition: NumberFormatIndex.idl:237
const short DATE_END
End of Date formats (last format)
Definition: NumberFormatIndex.idl:204
const short DATE_SYS_DDMMYYYY
08.10.1997 see also DATE_SYS_...
Definition: NumberFormatIndex.idl:168
const short DATE_SYS_DMMMYY
Definition: NumberFormatIndex.idl:170
const short CURRENCY_START
Start of Currency formats (first format)
Definition: NumberFormatIndex.idl:138
const short SCIENTIFIC_000E00
0.00E+00 Number in scientific notation with exponent in 2 digit placeholders formatindex="7" ...
Definition: NumberFormatIndex.idl:112
const short PERCENT_INT
0% Percentage format, rounded to integer formatindex="8"
Definition: NumberFormatIndex.idl:120
const short DATE_SYSTEM_LONG
Wednesday, 8.
Definition: NumberFormatIndex.idl:161
Definition: Ambiguous.idl:20
const short NUMBER_SYSTEM
#,##0.00 In SO5/Win this format was retrieved from the Regional Settings formatindex="5" ...
Definition: NumberFormatIndex.idl:102
const short FRACTION_2
??/?? Number with decimal in fraction in 2 digit placeholders formatindex="11"
Definition: NumberFormatIndex.idl:132
const short PERCENT_START
Start of Percent formats (first format)
Definition: NumberFormatIndex.idl:118
const short DATE_DIN_DMMMMYYYY
Definition: NumberFormatIndex.idl:178
const short TIME_HHMMAMPM
HH:MM AM/PM Time format with hour, minute and morning/afternoon notation formatindex="41".
Definition: NumberFormatIndex.idl:214
const short DATE_WW
week of year formatindex="38"
Definition: NumberFormatIndex.idl:202
const short DATE_SYS_DMMMYYYY
Definition: NumberFormatIndex.idl:172
const short CURRENCY_1000INT
#,##0 DM Integer currency format with group separator formatindex="12"
Definition: NumberFormatIndex.idl:140
const short CURRENCY_1000DEC2
#,##0.00 DM Decimal currency format with group separator formatindex="13"
Definition: NumberFormatIndex.idl:142
const short DATE_SYS_NNDMMMYY
Wed, 8. Oct 97 see also DATE_SYS_... explanation formatindex="27".
Definition: NumberFormatIndex.idl:180
const short PERCENT_DEC2
0.00% Percentage format, rounded to 2 decimals formatindex="9"
Definition: NumberFormatIndex.idl:122
const short DATE_MMMM
October formatindex="36".
Definition: NumberFormatIndex.idl:198
const short PERCENT_END
End of Percent formats (last format)
Definition: NumberFormatIndex.idl:124
const short FRACTION_END
End of Fraction formats (last format)
Definition: NumberFormatIndex.idl:134
const short DATE_SYS_DDMMM
08.Oct see also DATE_SYS_... explanation formatindex="35"
Definition: NumberFormatIndex.idl:196
const short CURRENCY_1000DEC2_CCC
#,##0.00 DEM Currency in ISO-4217 abbreviation format formatindex="16"
Definition: NumberFormatIndex.idl:148
const short DATETIME_SYSTEM_SHORT_HHMM
08.10.97 01:23 Date/time format formatindex="46"
Definition: NumberFormatIndex.idl:230
const short NUMBER_START
Start of simple numerical formats (first format)
Definition: NumberFormatIndex.idl:90
const short CURRENCY_END
End of Currency formats (last format)
Definition: NumberFormatIndex.idl:152
const short DATE_SYS_DMMMMYYYY
Definition: NumberFormatIndex.idl:176
const short TIME_HHMMSS
HH:MM:SS Time format with hour, minute and second formatindex="40".
Definition: NumberFormatIndex.idl:212
const short TIME_HH_MMSS00
[HH]:MM:SS,00 Time format with amount of hours and seconds with fraction formatindex="45" ...
Definition: NumberFormatIndex.idl:222
const short DATE_QQJJ
4th quarter 97 formatindex="37"
Definition: NumberFormatIndex.idl:200
const short BOOLEAN
BOOLEAN format.
Definition: NumberFormatIndex.idl:250
const short CURRENCY_1000DEC2_DASHED
#,##0.– DM Currency format with dash representing 0 in decimals formatindex="17" ...
Definition: NumberFormatIndex.idl:150
const short NUMBER_STANDARD
The "General" standard format formatindex="0".
Definition: NumberFormatIndex.idl:92
const short DATE_SYSTEM_SHORT
08.10.97 see also DATE_SYSTEM_... explanation formatindex="18"
Definition: NumberFormatIndex.idl:158
const short NUMBER_END
End of simple numerical formats (last format)
Definition: NumberFormatIndex.idl:104
const short DATE_SYS_MMYY
10.97 see also DATE_SYS_... explanation formatindex="34"
Definition: NumberFormatIndex.idl:194
const short CURRENCY_1000INT_RED
#,##0 DM Integer currency format with negative in red formatindex="14"
Definition: NumberFormatIndex.idl:144
const short TEXT
Text format.
Definition: NumberFormatIndex.idl:262
const short TIME_HHMM
HH:MM Time format with hour and minute formatindex="39".
Definition: NumberFormatIndex.idl:210
const short NUMBER_1000INT
#,##0 Integer number with group separator formatindex="3"
Definition: NumberFormatIndex.idl:98
const short DATE_DIN_YYYYMMDD
1997-10-08 DIN/EN/ISO formatindex="33"
Definition: NumberFormatIndex.idl:192
const short TIME_HHMMSSAMPM
HH:MM:SS AM/PM Time format with hour, minute, second and morning/afternoon notation formatindex="4...
Definition: NumberFormatIndex.idl:216
const short SCIENTIFIC_000E000
0.00E+000 Number in scientific notation with exponent in 3 digit placeholders formatindex="6" ...
Definition: NumberFormatIndex.idl:110
const short TIME_MMSS00
MM:SS,00 Time format with second in fraction formatindex="44".
Definition: NumberFormatIndex.idl:220
const short TIME_HH_MMSS
[HH]:MM:SS Time format with amount of hours formatindex="43"
Definition: NumberFormatIndex.idl:218
const short FRACTION_START
Start of Fraction formats (first format)
Definition: NumberFormatIndex.idl:128
const short NUMBER_1000DEC2
#,##0.00 Decimal number with group separator formatindex="4"
Definition: NumberFormatIndex.idl:100
const short NUMBER_DEC2
0.00 Decimal number with 2 decimals formatindex="2"
Definition: NumberFormatIndex.idl:96
const short DATE_DIN_MMDD
10-08 DIN/EN formatindex="31"
Definition: NumberFormatIndex.idl:188
const short DATE_DIN_YYMMDD
97-10-08 DIN/EN formatindex="32"
Definition: NumberFormatIndex.idl:190