このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Constants' Group NumberFormatIndex
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: i18n ::

constants group NumberFormatIndex
Description
Number 判型 indices to be passed as the 索引 argument to XNumberFormatCode::getFormatCode() or ::com::sun::星/主役にする::util::XNumberFormatTypes::getFormatIndex().

Each 地元の can support up to about 5000 独断的な 判型 codes. But for backward compatiblity 推論する/理由s, each 地元の MUST support some predefined 判型 codes. These predefined 判型 codes are 接近d through indices as the に引き続いて, and the 地元の data 判型 code 鮮明度/定義s in i18npool\source\localedata\data\*.xml MUST have matching 入ること/参加(者)s in the form
<FormatElement formatindex="0">
(see also FormatElement::formatIndex). The 索引 values are also used to define the enum NfIndexTableOffset in とじ込み/提出する svtools/inc/zforlist.hxx

公式文書,認める: This 索引 has nothing to do with the 索引 重要な used internally by the number formatter.


Date 判型s may have a comment of DIN/EN/ISO, meaning

  • DIN 5008 (Deutsche Industrie Norm)
  • EN 28601 (European Norm)
  • ISO 8601 (International 基準s Organisation)

Some 指名するs of date 判型 constants 示す a special 行為 of those 判型s in StarOffice 5.2 or older. Those are:

DATE_SYSTEM_...
On Windows 壇・綱領・公約s these 判型s were 完全に retrieved from the system's 地域の Settings. OpenOffice.org / StarOffice 6 don't use those Windows settings anymore in order to 供給する the same functionality and 文書 layout on every 壇・綱領・公約. Like all other 判型s these 判型s are now defined in the i18n 枠組み 地元の data とじ込み/提出するs under i18npool\source\localedata\data\*.xml
DATE_SYS_...
On Windows 壇・綱領・公約s these 判型s used separators and YMD order retrieved from the 地域の Settings, but 外見 of short/long days/months/years was defined by the 使用/適用.
DATE_DEF_...
The 判型 code was hard defined, only the date separator was taken from the Windows 地域の Settings, but not the YMD order.


Constants
NUMBER_START Start of simple 数値/数字による 判型s (first 判型) 
NUMBER_STANDARD The "General" 基準 判型 
NUMBER_INT 0
Integer number 
NUMBER_DEC2 0.00
Decimal number with 2 decimals 
NUMBER_1000INT #,##0
Integer number with group separator 
NUMBER_1000DEC2 #,##0.00
Decimal number with group separator 
NUMBER_SYSTEM #,##0.00
In SO5/勝利,勝つ this 判型 was retrieved from the 地域の Settings 
NUMBER_END End of simple 数値/数字による 判型s (last 判型) 
SCIENTIFIC_START Start of 科学の 判型s (first 判型) 
SCIENTIFIC_000E000 0.00E+000
Number in 科学の notation with exponent in 3 digit placeholders 
SCIENTIFIC_000E00 0.00E+00
Number in 科学の notation with exponent in 2 digit placeholders 
SCIENTIFIC_END End of 科学の 判型s (last 判型) 
PERCENT_START Start of パーセント 判型s (first 判型) 
PERCENT_INT 0%
百分率 判型, 一連の会議、交渉/完成するd to integer 
PERCENT_DEC2 0.00%
百分率 判型, 一連の会議、交渉/完成するd to 2 decimals 
PERCENT_END End of パーセント 判型s (last 判型) 
FRACTION_START Start of Fraction 判型s (first 判型) 
FRACTION_1 # ?/?
Number with decimal in fraction in 1 digit placeholder 
FRACTION_2 # ??/??
Number with decimal in fraction in 2 digit placeholders 
FRACTION_END End of Fraction 判型s (last 判型) 
CURRENCY_START Start of 通貨 判型s (first 判型) 
CURRENCY_1000INT #,##0 DM
Integer 通貨 判型 with group separator 
CURRENCY_1000DEC2 #,##0.00 DM
Decimal 通貨 判型 with group separator 
CURRENCY_1000INT_RED #,##0 DM
Integer 通貨 判型 with 消極的な in red 
CURRENCY_1000DEC2_RED #,##0.00 DM
Decimal 通貨 判型 with 消極的な in red 
CURRENCY_1000DEC2_CCC #,##0.00 DEM
通貨 in ISO-4217 abbreviation 判型 
CURRENCY_1000DEC2_DASHED #,##0.-- DM
通貨 判型 with dash 代表するing 0 in decimals 
CURRENCY_END End of 通貨 判型s (last 判型) 
DATE_START Start of Date 判型s (first 判型) 
DATE_SYSTEM_SHORT 08.10.97
see also DATE_SYSTEM_... explanation 
DATE_SYSTEM_LONG Wednesday, 8. October 1997
see also DATE_SYSTEM_... explanation 
DATE_SYS_DDMMYY 08.10.97
see also DATE_SYS_... explanation 
DATE_SYS_DDMMYYYY 08.10.1997
see also DATE_SYS_... explanation
公式文書,認める: When editing already 存在するing date data this 判型 is 軍隊d ーするために always edit the 十分な century.  
DATE_SYS_DMMMYY 8. Oct 97
see also DATE_SYS_... explanation 
DATE_SYS_DMMMYYYY 8. Oct 1997
see also DATE_SYS_... explanation 
DATE_DIN_DMMMYYYY 8. Oct. 1997
DIN/EN 
DATE_SYS_DMMMMYYYY 8. October 1997
see also DATE_SYS_... explanation 
DATE_DIN_DMMMMYYYY 8. October 1997
DIN/EN 
DATE_SYS_NNDMMMYY 結婚する, 8. Oct 97
see also DATE_SYS_... explanation 
DATE_DEF_NNDDMMMYY 結婚する 08.Oct 97
see also DATE_DEF_... explanation 
DATE_SYS_NNDMMMMYYYY 結婚する, 8. October 1997
see also DATE_SYS_... explanation 
DATE_SYS_NNNNDMMMMYYYY Wednesday, 8. October 1997 
DATE_DIN_MMDD 10-08
DIN/EN 
DATE_DIN_YYMMDD 97-10-08
DIN/EN/ISO 
DATE_DIN_YYYYMMDD 1997-10-08
DIN/EN/ISO 
DATE_SYS_MMYY 10.97
see also DATE_SYS_... explanation 
DATE_SYS_DDMMM 08.Oct
see also DATE_SYS_... explanation 
DATE_MMMM October 
DATE_QQJJ 4th 4半期/4分の1 97 
DATE_WW week of year 
DATE_END End of Date 判型s (last 判型) 
TIME_START Start of Time 判型s (first 判型) 
TIME_HHMM HH:MM
Time 判型 with hour and minute 
TIME_HHMMSS HH:MM:SS
Time 判型 with hour, minute and second 
TIME_HHMMAMPM HH:MM AM/PM
Time 判型 with hour, minute and morning/afternoon notation 
TIME_HHMMSSAMPM HH:MM:SS AM/PM
Time 判型 with hour, minute, second and morning/afternoon notation 
TIME_HH_MMSS [HH]:MM:SS
Time 判型 with 量 of hours 
TIME_MMSS00 MM:SS,00
Time 判型 with second in fraction 
TIME_HH_MMSS00 [HH]:MM:SS,00
Time 判型 with 量 of hours and seconds with fraction 
TIME_END End of Time 判型s (last 判型) 
DATETIME_START Start of DateTime 判型s (first 判型) 
DATETIME_SYSTEM_SHORT_HHMM 08.10.97 01:23 Date/time 判型 
DATETIME_SYS_DDMMYYYY_HHMMSS 08.10.1997 01:23:45 Date/time 判型 with second
公式文書,認める: When editing already 存在するing date/time data this 判型 is 軍隊d ーするために always edit the 十分な century.  
DATETIME_END End of DateTime 判型s (last 判型) 
BOOLEAN BOOLEAN 判型 @ATTENTION Not defined in 地元の data, but 生成するd by the number formatter. If you want to 接近 this 判型 you MUST do it 経由で ::com::sun::星/主役にする::util::XNumberFormatTypes::getFormatIndex() instead of XNumberFormatCode::getFormatCode().  
TEXT Text 判型 @ATTENTION Not defined in 地元の data, but 生成するd by the number formatter. If you want to 接近 this 判型 you MUST do it 経由で ::com::sun::星/主役にする::util::XNumberFormatTypes::getFormatIndex() instead of XNumberFormatCode::getFormatCode()  
INDEX_TABLE_ENTRIES count of built-in 判型 codes. 
Constants' 詳細(に述べる)s
NUMBER_START
const short NUMBER_START = 0;
Description
Start of simple 数値/数字による 判型s (first 判型)
NUMBER_STANDARD
const short NUMBER_STANDARD = NUMBER_START;
Description
The "General" 基準 判型
NUMBER_INT
const short NUMBER_INT = NUMBER_START+1;
Description
0
Integer number
NUMBER_DEC2
const short NUMBER_DEC2 = NUMBER_START+2;
Description
0.00
Decimal number with 2 decimals
NUMBER_1000INT
const short NUMBER_1000INT = NUMBER_START+3;
Description
#,##0
Integer number with group separator
NUMBER_1000DEC2
const short NUMBER_1000DEC2 = NUMBER_START+4;
Description
#,##0.00
Decimal number with group separator
NUMBER_SYSTEM
const short NUMBER_SYSTEM = NUMBER_START+5;
Description
#,##0.00
In SO5/勝利,勝つ this 判型 was retrieved from the 地域の Settings
NUMBER_END
const short NUMBER_END = NUMBER_SYSTEM ;
Description
End of simple 数値/数字による 判型s (last 判型)
SCIENTIFIC_START
const short SCIENTIFIC_START = NUMBER_END+1;
Description
Start of 科学の 判型s (first 判型)
SCIENTIFIC_000E000
const short SCIENTIFIC_000E000 = SCIENTIFIC_START;
Description
0.00E+000
Number in 科学の notation with exponent in 3 digit placeholders
SCIENTIFIC_000E00
const short SCIENTIFIC_000E00 = SCIENTIFIC_START+1;
Description
0.00E+00
Number in 科学の notation with exponent in 2 digit placeholders
SCIENTIFIC_END
const short SCIENTIFIC_END = SCIENTIFIC_000E00;
Description
End of 科学の 判型s (last 判型)
PERCENT_START
const short PERCENT_START = SCIENTIFIC_END+1;
Description
Start of パーセント 判型s (first 判型)
PERCENT_INT
const short PERCENT_INT = PERCENT_START;
Description
0%
百分率 判型, 一連の会議、交渉/完成するd to integer
PERCENT_DEC2
const short PERCENT_DEC2 = PERCENT_START+1;
Description
0.00%
百分率 判型, 一連の会議、交渉/完成するd to 2 decimals
PERCENT_END
const short PERCENT_END = PERCENT_DEC2;
Description
End of パーセント 判型s (last 判型)
FRACTION_START
const short FRACTION_START = PERCENT_END+1;
Description
Start of Fraction 判型s (first 判型)
FRACTION_1
const short FRACTION_1 = FRACTION_START;
Description
# ?/?
Number with decimal in fraction in 1 digit placeholder
FRACTION_2
const short FRACTION_2 = FRACTION_START+1;
Description
# ??/??
Number with decimal in fraction in 2 digit placeholders
FRACTION_END
const short FRACTION_END = FRACTION_2;
Description
End of Fraction 判型s (last 判型)
CURRENCY_START
const short CURRENCY_START = FRACTION_END+1;
Description
Start of 通貨 判型s (first 判型)
CURRENCY_1000INT
const short CURRENCY_1000INT = CURRENCY_START;
Description
#,##0 DM
Integer 通貨 判型 with group separator
CURRENCY_1000DEC2
const short CURRENCY_1000DEC2 = CURRENCY_START+1;
Description
#,##0.00 DM
Decimal 通貨 判型 with group separator
CURRENCY_1000INT_RED
const short CURRENCY_1000INT_RED = CURRENCY_START+2;
Description
#,##0 DM
Integer 通貨 判型 with 消極的な in red
CURRENCY_1000DEC2_RED
const short CURRENCY_1000DEC2_RED = CURRENCY_START+3;
Description
#,##0.00 DM
Decimal 通貨 判型 with 消極的な in red
CURRENCY_1000DEC2_CCC
const short CURRENCY_1000DEC2_CCC = CURRENCY_START+4;
Description
#,##0.00 DEM
通貨 in ISO-4217 abbreviation 判型
CURRENCY_1000DEC2_DASHED
const short CURRENCY_1000DEC2_DASHED = CURRENCY_START+5;
Description
#,##0.-- DM
通貨 判型 with dash 代表するing 0 in decimals
CURRENCY_END
const short CURRENCY_END = CURRENCY_1000DEC2_DASHED;
Description
End of 通貨 判型s (last 判型)
DATE_START
const short DATE_START = CURRENCY_END+1;
Description
Start of Date 判型s (first 判型)
DATE_SYSTEM_SHORT
const short DATE_SYSTEM_SHORT = DATE_START;
Description
08.10.97
see also DATE_SYSTEM_... explanation
DATE_SYSTEM_LONG
const short DATE_SYSTEM_LONG = DATE_START+1;
Description
Wednesday, 8. October 1997
see also DATE_SYSTEM_... explanation
DATE_SYS_DDMMYY
const short DATE_SYS_DDMMYY = DATE_START+2;
Description
08.10.97
see also DATE_SYS_... explanation
DATE_SYS_DDMMYYYY
const short DATE_SYS_DDMMYYYY = DATE_START+3;
Description
08.10.1997
see also DATE_SYS_... explanation
公式文書,認める: When editing already 存在するing date data this 判型 is 軍隊d ーするために always edit the 十分な century.
DATE_SYS_DMMMYY
const short DATE_SYS_DMMMYY = DATE_START+4;
Description
8. Oct 97
see also DATE_SYS_... explanation
DATE_SYS_DMMMYYYY
const short DATE_SYS_DMMMYYYY = DATE_START+5;
Description
8. Oct 1997
see also DATE_SYS_... explanation
DATE_DIN_DMMMYYYY
const short DATE_DIN_DMMMYYYY = DATE_START+6;
Description
8. Oct. 1997
DIN/EN
DATE_SYS_DMMMMYYYY
const short DATE_SYS_DMMMMYYYY = DATE_START+7;
Description
8. October 1997
see also DATE_SYS_... explanation
DATE_DIN_DMMMMYYYY
const short DATE_DIN_DMMMMYYYY = DATE_START+8;
Description
8. October 1997
DIN/EN
DATE_SYS_NNDMMMYY
const short DATE_SYS_NNDMMMYY = DATE_START+9;
Description
結婚する, 8. Oct 97
see also DATE_SYS_... explanation
DATE_DEF_NNDDMMMYY
const short DATE_DEF_NNDDMMMYY = DATE_START+10;
Description
結婚する 08.Oct 97
see also DATE_DEF_... explanation
DATE_SYS_NNDMMMMYYYY
const short DATE_SYS_NNDMMMMYYYY = DATE_START+11;
Description
結婚する, 8. October 1997
see also DATE_SYS_... explanation
DATE_SYS_NNNNDMMMMYYYY
const short DATE_SYS_NNNNDMMMMYYYY = DATE_START+12;
Description
Wednesday, 8. October 1997
DATE_DIN_MMDD
const short DATE_DIN_MMDD = DATE_START+13;
Description
10-08
DIN/EN
DATE_DIN_YYMMDD
const short DATE_DIN_YYMMDD = DATE_START+14;
Description
97-10-08
DIN/EN/ISO
DATE_DIN_YYYYMMDD
const short DATE_DIN_YYYYMMDD = DATE_START+15;
Description
1997-10-08
DIN/EN/ISO
DATE_SYS_MMYY
const short DATE_SYS_MMYY = DATE_START+16;
Description
10.97
see also DATE_SYS_... explanation
DATE_SYS_DDMMM
const short DATE_SYS_DDMMM = DATE_START+17;
Description
08.Oct
see also DATE_SYS_... explanation
DATE_MMMM
const short DATE_MMMM = DATE_START+18;
Description
October
DATE_QQJJ
const short DATE_QQJJ = DATE_START+19;
Description
4th 4半期/4分の1 97
DATE_WW
const short DATE_WW = DATE_START+20;
Description
week of year
DATE_END
const short DATE_END = DATE_WW;
Description
End of Date 判型s (last 判型)
TIME_START
const short TIME_START = DATE_END+1;
Description
Start of Time 判型s (first 判型)
TIME_HHMM
const short TIME_HHMM = TIME_START;
Description
HH:MM
Time 判型 with hour and minute
TIME_HHMMSS
const short TIME_HHMMSS = TIME_START+1;
Description
HH:MM:SS
Time 判型 with hour, minute and second
TIME_HHMMAMPM
const short TIME_HHMMAMPM = TIME_START+2;
Description
HH:MM AM/PM
Time 判型 with hour, minute and morning/afternoon notation
TIME_HHMMSSAMPM
const short TIME_HHMMSSAMPM = TIME_START+3;
Description
HH:MM:SS AM/PM
Time 判型 with hour, minute, second and morning/afternoon notation
TIME_HH_MMSS
const short TIME_HH_MMSS = TIME_START+4;
Description
[HH]:MM:SS
Time 判型 with 量 of hours
TIME_MMSS00
const short TIME_MMSS00 = TIME_START+5;
Description
MM:SS,00
Time 判型 with second in fraction
TIME_HH_MMSS00
const short TIME_HH_MMSS00 = TIME_START+6;
Description
[HH]:MM:SS,00
Time 判型 with 量 of hours and seconds with fraction
TIME_END
const short TIME_END = TIME_HH_MMSS00;
Description
End of Time 判型s (last 判型)
DATETIME_START
const short DATETIME_START = TIME_END + 1;
Description
Start of DateTime 判型s (first 判型)
DATETIME_SYSTEM_SHORT_HHMM
const short DATETIME_SYSTEM_SHORT_HHMM = DATETIME_START;
Description
08.10.97 01:23 Date/time 判型
DATETIME_SYS_DDMMYYYY_HHMMSS
const short DATETIME_SYS_DDMMYYYY_HHMMSS = DATETIME_START+1;
Description
08.10.1997 01:23:45 Date/time 判型 with second
公式文書,認める: When editing already 存在するing date/time data this 判型 is 軍隊d ーするために always edit the 十分な century.
DATETIME_END
const short DATETIME_END = DATETIME_SYS_DDMMYYYY_HHMMSS;
Description
End of DateTime 判型s (last 判型)
BOOLEAN
const short BOOLEAN = DATETIME_END+1;
Description
BOOLEAN 判型 @ATTENTION Not defined in 地元の data, but 生成するd by the number formatter. If you want to 接近 this 判型 you MUST do it 経由で ::com::sun::星/主役にする::util::XNumberFormatTypes::getFormatIndex() instead of XNumberFormatCode::getFormatCode().
TEXT
const short TEXT = BOOLEAN+1;
Description
Text 判型 @ATTENTION Not defined in 地元の data, but 生成するd by the number formatter. If you want to 接近 this 判型 you MUST do it 経由で ::com::sun::星/主役にする::util::XNumberFormatTypes::getFormatIndex() instead of XNumberFormatCode::getFormatCode()
INDEX_TABLE_ENTRIES
const short INDEX_TABLE_ENTRIES = TEXT+1;
Description
count of built-in 判型 codes.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.