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