| 程序包 | 说明 |
|---|---|
| org.ttzero.excel.entity | |
| org.ttzero.excel.entity.style |
| 限定符和类型 | 字段和说明 |
|---|---|
NumFmt |
Column.numFmt
Specify the cell number format
|
| 限定符和类型 | 方法和说明 |
|---|---|
NumFmt |
Column.getNumFmt()
Returns the column
NumFmt |
| 限定符和类型 | 方法和说明 |
|---|---|
Column |
Column.setCellStyle(NumFmt numFmt,
Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the cell styles
|
Sheet |
Sheet.setHeadStyle(NumFmt numFmt,
Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the header column styles
|
| 限定符和类型 | 字段和说明 |
|---|---|
static NumFmt |
NumFmt.DATE_FORMAT
Format as
yyyy-mm-dd hh:mm:ss |
static NumFmt |
NumFmt.DATETIME_FORMAT
Format as
yyyy-mm-dd hh:mm:ss |
static NumFmt |
NumFmt.TIME_FORMAT
Format as
yyyy-mm-dd hh:mm:ss |
| 限定符和类型 | 方法和说明 |
|---|---|
NumFmt |
Styles.getNumFmt(int style) |
static NumFmt |
NumFmt.of(String code)
Create a NumFmt
|
static NumFmt |
NumFmt.valueOf(int id)
Built-In number format
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
Styles.addNumFmt(NumFmt numFmt)
Add number format
|
int |
NumFmt.compareTo(NumFmt o) |
Copyright © 2022. All rights reserved.