| 程序包 | 说明 |
|---|---|
| org.ttzero.excel.entity | |
| org.ttzero.excel.entity.style |
| 限定符和类型 | 方法和说明 |
|---|---|
Sheet.Column |
Sheet.Column.setCellStyle(Font font,
Border border)
Setting the cell styles
|
Sheet.Column |
Sheet.Column.setCellStyle(Font font,
Border border,
int horizontal)
Setting the cell styles
|
Sheet.Column |
Sheet.Column.setCellStyle(Font font,
Fill fill,
Border border)
Setting the cell styles
|
Sheet.Column |
Sheet.Column.setCellStyle(Font font,
Fill fill,
Border border,
int horizontal)
Setting the cell styles
|
Sheet.Column |
Sheet.Column.setCellStyle(Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the cell styles
|
Sheet.Column |
Sheet.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
|
| 限定符和类型 | 方法和说明 |
|---|---|
Border |
Styles.getBorder(int style) |
static Border |
Border.parse(String text)
The setting order is top -> right -> bottom -> left, the
attribute order is style-name + color, if the orientation setting
is not complete, the unset orientation has no border.
|
Border |
Border.setBorder(BorderStyle style)
Setting top-right-bottom-left line style
|
Border |
Border.setBorder(BorderStyle style,
Color color)
Setting top-right-bottom-left line style
|
Border |
Border.setBorderBottom(BorderStyle style)
Bottom line style
|
Border |
Border.setBorderBottom(BorderStyle style,
Color color)
Bottom line style
|
Border |
Border.setBorderLeft(BorderStyle style)
Left line style
|
Border |
Border.setBorderLeft(BorderStyle style,
Color color)
Left line style
|
Border |
Border.setBorderRight(BorderStyle style)
Right line style
|
Border |
Border.setBorderRight(BorderStyle style,
Color color)
Right line style
|
Border |
Border.setBorderTop(BorderStyle style)
Top line style
|
Border |
Border.setBorderTop(BorderStyle style,
Color color)
Top line style
|
Border |
Border.setDiagonal(BorderStyle style)
Setting top-left to bottom-right and bottom-left to top-right line style [X]
|
Border |
Border.setDiagonal(BorderStyle style,
Color color)
Setting top-left to bottom-right and bottom-left to top-right line style [X]
|
Border |
Border.setDiagonalDown(BorderStyle style)
Top-left to bottom-right line style [\]
|
Border |
Border.setDiagonalDown(BorderStyle style,
Color color)
Top-left to bottom-right line style [\]
|
Border |
Border.setDiagonalUp(BorderStyle style)
Bottom-left to top-right line style [/]
|
Border |
Border.setDiagonalUp(BorderStyle style,
Color color)
Bottom-left to top-right line style [/]
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
Styles.addBorder(Border border)
Add border
|
Copyright © 2020. All rights reserved.