public class BuiltinFormats extends Object
If it is not Chinese, it is recommended to directly modify the builtinFormats, which will better support internationalization in the future.
Specific correspondence please see: https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.numberingformat?view=openxml-2.8.1
| 限定符和类型 | 字段和说明 |
|---|---|
static String[] |
BUILTIN_FORMATS_CN |
static Map<String,Short> |
BUILTIN_FORMATS_MAP_CN |
static Map<String,Short> |
BUILTIN_FORMATS_MAP_US |
static String[] |
BUILTIN_FORMATS_US |
static short |
GENERAL |
static short |
MIN_CUSTOM_DATA_FORMAT_INDEX |
| 构造器和说明 |
|---|
BuiltinFormats() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getBuiltinFormat(Short index,
String defaultFormat,
Locale locale) |
static String[] |
switchBuiltinFormats(Locale locale) |
static Map<String,Short> |
switchBuiltinFormatsMap(Locale locale) |
Copyright © 2018–2022 Alibaba Group. All rights reserved.