public class ExcelStyleUtils extends Object
| 构造器和说明 |
|---|
ExcelStyleUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.poi.ss.usermodel.CellStyle |
cloneCellStyle(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Cell cell) |
static org.apache.poi.ss.usermodel.CellStyle |
color(org.apache.poi.ss.usermodel.CellStyle cellStyle,
int r,
int g,
int b,
BiConsumer<org.apache.poi.xssf.usermodel.XSSFCellStyle,org.apache.poi.xssf.usermodel.XSSFColor> consumer) |
static org.apache.poi.ss.usermodel.CellStyle |
font(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border,
Consumer<org.apache.poi.ss.usermodel.Font> consumer) |
static org.apache.poi.xssf.usermodel.XSSFColor |
getColor(int r,
int g,
int b) |
static org.apache.poi.ss.usermodel.CellStyle |
getDefaultCellStyle(org.apache.poi.ss.usermodel.Workbook workbook) |
static org.apache.poi.ss.usermodel.CellStyle |
getDefaultCellStyle(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border) |
static org.apache.poi.ss.usermodel.CellStyle |
style(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border,
BiConsumer<org.apache.poi.ss.usermodel.CellStyle,org.apache.poi.ss.usermodel.Font> consumer) |
static org.apache.poi.ss.usermodel.CellStyle |
style(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border,
Consumer<org.apache.poi.ss.usermodel.CellStyle> consumer) |
public static org.apache.poi.ss.usermodel.CellStyle getDefaultCellStyle(org.apache.poi.ss.usermodel.Workbook workbook)
public static org.apache.poi.ss.usermodel.CellStyle getDefaultCellStyle(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border)
public static org.apache.poi.ss.usermodel.CellStyle cloneCellStyle(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Cell cell)
public static org.apache.poi.xssf.usermodel.XSSFColor getColor(int r,
int g,
int b)
public static org.apache.poi.ss.usermodel.CellStyle color(org.apache.poi.ss.usermodel.CellStyle cellStyle,
int r,
int g,
int b,
BiConsumer<org.apache.poi.xssf.usermodel.XSSFCellStyle,org.apache.poi.xssf.usermodel.XSSFColor> consumer)
public static org.apache.poi.ss.usermodel.CellStyle font(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border,
Consumer<org.apache.poi.ss.usermodel.Font> consumer)
public static org.apache.poi.ss.usermodel.CellStyle style(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border,
Consumer<org.apache.poi.ss.usermodel.CellStyle> consumer)
public static org.apache.poi.ss.usermodel.CellStyle style(org.apache.poi.ss.usermodel.Workbook workbook,
boolean border,
BiConsumer<org.apache.poi.ss.usermodel.CellStyle,org.apache.poi.ss.usermodel.Font> consumer)
Copyright © 2022–2023. All rights reserved.