LibreOffice LibreOffice 25.8 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
21module com { module sun { module star { module i18n {
22
23
27
87published constants NumberFormatIndex
88{
90 const short NUMBER_START = 0;
92 const short NUMBER_STANDARD = NUMBER_START;
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;
110 const short SCIENTIFIC_000E000 = SCIENTIFIC_START;
112 const short SCIENTIFIC_000E00 = SCIENTIFIC_START+1;
114 const short SCIENTIFIC_END = SCIENTIFIC_000E00;
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;
140 const short CURRENCY_1000INT = CURRENCY_START;
142 const short CURRENCY_1000DEC2 = CURRENCY_START+1;
144 const short CURRENCY_1000INT_RED = CURRENCY_START+2;
146 const short CURRENCY_1000DEC2_RED = CURRENCY_START+3;
148 const short CURRENCY_1000DEC2_CCC = CURRENCY_START+4;
150 const short CURRENCY_1000DEC2_DASHED = CURRENCY_START+5;
152 const short CURRENCY_END = CURRENCY_1000DEC2_DASHED;
153
154
156 const short DATE_START = CURRENCY_END+1;
158 const short DATE_SYSTEM_SHORT = DATE_START;
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;
176 const short DATE_SYS_DMMMMYYYY = DATE_START+7;
178 const short DATE_DIN_DMMMMYYYY = DATE_START+8;
180 const short DATE_SYS_NNDMMMYY = DATE_START+9;
182 const short DATE_DEF_NNDDMMMYY = DATE_START+10;
184 const short DATE_SYS_NNDMMMMYYYY = DATE_START+11;
186 const short DATE_SYS_NNNNDMMMMYYYY = DATE_START+12;
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;
230 const short DATETIME_SYSTEM_SHORT_HHMM = DATETIME_START;
235 const short DATETIME_SYS_DDMMYYYY_HHMMSS= DATETIME_START+1;
237 const short DATETIME_END = DATETIME_SYS_DDMMYYYY_HHMMSS;
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: */
com::sun::star::i18n::NumberFormatIndex::BOOLEAN
const short BOOLEAN
BOOLEAN format.
Definition: NumberFormatIndex.idl:250
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:144
com::sun::star::i18n::NumberFormatIndex::DATE_DIN_DMMMYYYY
const short DATE_DIN_DMMMYYYY
Definition: NumberFormatIndex.idl:174
com::sun::star::i18n::NumberFormatIndex::INDEX_TABLE_ENTRIES
const short INDEX_TABLE_ENTRIES
count of built-in format codes.
Definition: NumberFormatIndex.idl:265
com::sun::star::i18n::NumberFormatIndex::SCIENTIFIC_END
const short SCIENTIFIC_END
End of Scientific formats (last format)
Definition: NumberFormatIndex.idl:114
com::sun::star::i18n::NumberFormatIndex::DATE_SYS_DDMMYYYY
const short DATE_SYS_DDMMYYYY
08.10.1997 see also DATE_SYS_... explanation Note: When editing already existing date data this fo...
Definition: NumberFormatIndex.idl:168
com::sun::star::i18n::NumberFormatIndex::DATE_MMMM
const short DATE_MMMM
October formatindex="36".
Definition: NumberFormatIndex.idl:198
com::sun::star::i18n::NumberFormatIndex::NUMBER_1000DEC2
const short NUMBER_1000DEC2
#,##0.00 Decimal number with group separator formatindex="4"
Definition: NumberFormatIndex.idl:100
com::sun::star::i18n::NumberFormatIndex::NUMBER_START
const short NUMBER_START
Start of simple numerical formats (first format)
Definition: NumberFormatIndex.idl:90
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:150
com::sun::star::i18n::NumberFormatIndex::DATE_WW
const short DATE_WW
week of year formatindex="38"
Definition: NumberFormatIndex.idl:202
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:194
com::sun::star::i18n::NumberFormatIndex::DATE_SYS_DMMMYY
const short DATE_SYS_DMMMYY
Definition: NumberFormatIndex.idl:170
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:230
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:182
com::sun::star::i18n::NumberFormatIndex::DATE_SYS_NNNNDMMMMYYYY
const short DATE_SYS_NNNNDMMMMYYYY
Wednesday, 8. October 1997 formatindex="30".
Definition: NumberFormatIndex.idl:186
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:222
com::sun::star::i18n::NumberFormatIndex::TIME_HHMM
const short TIME_HHMM
HH:MM Time format with hour and minute formatindex="39".
Definition: NumberFormatIndex.idl:210
com::sun::star::i18n::NumberFormatIndex::NUMBER_INT
const short NUMBER_INT
0 Integer number formatindex="1"
Definition: NumberFormatIndex.idl:94
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:146
com::sun::star::i18n::NumberFormatIndex::SCIENTIFIC_START
const short SCIENTIFIC_START
Start of Scientific formats (first format)
Definition: NumberFormatIndex.idl:108
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:158
com::sun::star::i18n::NumberFormatIndex::DATETIME_END
const short DATETIME_END
End of DateTime formats (last format)
Definition: NumberFormatIndex.idl:237
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:142
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:112
com::sun::star::i18n::NumberFormatIndex::DATE_DIN_YYYYMMDD
const short DATE_DIN_YYYYMMDD
1997-10-08 DIN/EN/ISO formatindex="33"
Definition: NumberFormatIndex.idl:192
com::sun::star::i18n::NumberFormatIndex::NUMBER_END
const short NUMBER_END
End of simple numerical formats (last format)
Definition: NumberFormatIndex.idl:104
com::sun::star::i18n::NumberFormatIndex::DATE_SYSTEM_LONG
const short DATE_SYSTEM_LONG
Wednesday, 8.
Definition: NumberFormatIndex.idl:161
com::sun::star::i18n::NumberFormatIndex::PERCENT_DEC2
const short PERCENT_DEC2
0.00% Percentage format, rounded to 2 decimals formatindex="9"
Definition: NumberFormatIndex.idl:122
com::sun::star::i18n::NumberFormatIndex::FRACTION_END
const short FRACTION_END
End of Fraction formats (last format)
Definition: NumberFormatIndex.idl:134
com::sun::star::i18n::NumberFormatIndex::DATE_DIN_YYMMDD
const short DATE_DIN_YYMMDD
97-10-08 DIN/EN formatindex="32"
Definition: NumberFormatIndex.idl:190
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:180
com::sun::star::i18n::NumberFormatIndex::FRACTION_2
const short FRACTION_2
Definition: NumberFormatIndex.idl:132
com::sun::star::i18n::NumberFormatIndex::DATE_START
const short DATE_START
Start of Date formats (first format)
Definition: NumberFormatIndex.idl:156
com::sun::star::i18n::NumberFormatIndex::NUMBER_DEC2
const short NUMBER_DEC2
0.00 Decimal number with 2 decimals formatindex="2"
Definition: NumberFormatIndex.idl:96
com::sun::star::i18n::NumberFormatIndex::DATE_SYS_DMMMMYYYY
const short DATE_SYS_DMMMMYYYY
Definition: NumberFormatIndex.idl:176
com::sun::star::i18n::NumberFormatIndex::PERCENT_START
const short PERCENT_START
Start of Percent formats (first format)
Definition: NumberFormatIndex.idl:118
com::sun::star::i18n::NumberFormatIndex::NUMBER_1000INT
const short NUMBER_1000INT
#,##0 Integer number with group separator formatindex="3"
Definition: NumberFormatIndex.idl:98
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:196
com::sun::star::i18n::NumberFormatIndex::DATE_DIN_MMDD
const short DATE_DIN_MMDD
10-08 DIN/EN formatindex="31"
Definition: NumberFormatIndex.idl:188
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:184
com::sun::star::i18n::NumberFormatIndex::DATE_QQJJ
const short DATE_QQJJ
4th quarter 97 formatindex="37"
Definition: NumberFormatIndex.idl:200
com::sun::star::i18n::NumberFormatIndex::FRACTION_START
const short FRACTION_START
Start of Fraction formats (first format)
Definition: NumberFormatIndex.idl:128
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:235
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:212
com::sun::star::i18n::NumberFormatIndex::CURRENCY_1000INT
const short CURRENCY_1000INT
#,##0 DM Integer currency format with group separator formatindex="12"
Definition: NumberFormatIndex.idl:140
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:220
com::sun::star::i18n::NumberFormatIndex::PERCENT_INT
const short PERCENT_INT
0% Percentage format, rounded to integer formatindex="8"
Definition: NumberFormatIndex.idl:120
com::sun::star::i18n::NumberFormatIndex::DATE_DIN_DMMMMYYYY
const short DATE_DIN_DMMMMYYYY
Definition: NumberFormatIndex.idl:178
com::sun::star::i18n::NumberFormatIndex::FRACTION_1
const short FRACTION_1
Definition: NumberFormatIndex.idl:130
com::sun::star::i18n::NumberFormatIndex::TEXT
const short TEXT
Text format.
Definition: NumberFormatIndex.idl:262
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:214
com::sun::star::i18n::NumberFormatIndex::TIME_END
const short TIME_END
End of Time formats (last format)
Definition: NumberFormatIndex.idl:224
com::sun::star::i18n::NumberFormatIndex::CURRENCY_START
const short CURRENCY_START
Start of Currency formats (first format)
Definition: NumberFormatIndex.idl:138
com::sun::star::i18n::NumberFormatIndex::DATE_END
const short DATE_END
End of Date formats (last format)
Definition: NumberFormatIndex.idl:204
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:218
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:163
com::sun::star::i18n::NumberFormatIndex::DATETIME_START
const short DATETIME_START
Start of DateTime formats (first format)
Definition: NumberFormatIndex.idl:228
com::sun::star::i18n::NumberFormatIndex::PERCENT_END
const short PERCENT_END
End of Percent formats (last format)
Definition: NumberFormatIndex.idl:124
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:216
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:148
com::sun::star::i18n::NumberFormatIndex::DATE_SYS_DMMMYYYY
const short DATE_SYS_DMMMYYYY
Definition: NumberFormatIndex.idl:172
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:110
com::sun::star::i18n::NumberFormatIndex::TIME_START
const short TIME_START
Start of Time formats (first format)
Definition: NumberFormatIndex.idl:208
com::sun::star::i18n::NumberFormatIndex::CURRENCY_END
const short CURRENCY_END
End of Currency formats (last format)
Definition: NumberFormatIndex.idl:152
com::sun::star::i18n::NumberFormatIndex::NUMBER_STANDARD
const short NUMBER_STANDARD
The "General" standard format formatindex="0".
Definition: NumberFormatIndex.idl:92
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:102
com
Definition: Ambiguous.idl:20