| 程序包 | 说明 |
|---|---|
| org.ttzero.excel.entity | |
| org.ttzero.excel.entity.style |
| 限定符和类型 | 方法和说明 |
|---|---|
Column |
Column.setCellStyle(Font font)
Setting the cell styles
|
Column |
Column.setCellStyle(Font font,
Border border)
Setting the cell styles
|
Column |
Column.setCellStyle(Font font,
Border border,
int horizontal)
Setting the cell styles
|
Column |
Column.setCellStyle(Font font,
Fill fill,
Border border)
Setting the cell styles
|
Column |
Column.setCellStyle(Font font,
Fill fill,
Border border,
int horizontal)
Setting the cell styles
|
Column |
Column.setCellStyle(Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the cell styles
|
Column |
Column.setCellStyle(Font font,
int horizontal)
Setting the cell styles
|
Column |
Column.setCellStyle(NumFmt numFmt,
Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the cell styles
|
Sheet |
Sheet.setHeadStyle(Font font,
Fill fill,
Border border)
Setting the header column styles
|
Sheet |
Sheet.setHeadStyle(Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the header column styles
|
Sheet |
Sheet.setHeadStyle(NumFmt numFmt,
Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the header column styles
|
| 限定符和类型 | 方法和说明 |
|---|---|
Font |
Font.bold() |
Font |
Font.clone() |
Font |
Font.delBold() |
Font |
Font.delItalic() |
Font |
Font.delUnderLine() |
Font |
Styles.getFont(int style) |
Font |
Font.italic() |
static Font |
Font.parse(String fontString)
Create a Font from font-string
italic_bold_underLine_size_family_color or italic bold underLine size family color
eq: italic_bold_12_宋体 // 斜体 加粗 12号字 宋体
eq: bold underLine 12 'Times New Roman' red // 加粗 12号字 Times New Roman字体 红字
|
Font |
Font.setCharset(int charset) |
Font |
Font.setColor(Color color) |
Font |
Font.setFamily(int family) |
Font |
Font.setName(String name) |
Font |
Font.setScheme(String scheme) |
Font |
Font.setSize(int size) |
Font |
Font.setStyle(int style) |
Font |
Font.underLine() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
Styles.addFont(Font font)
Add font
|
Copyright © 2022. All rights reserved.