| 程序包 | 说明 |
|---|---|
| cn.gjing.tools.excel.util | |
| cn.gjing.tools.excel.write.valid |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ExcelUtils.addCustomValid(String formula,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int lastRow,
int colIndex,
boolean showErrorBox,
Rank errorBoxRank,
String errorTitle,
String errorContent)
Add custom validation when export
|
static void |
ExcelUtils.addDateValid(OperatorType operatorType,
String expr1,
String expr2,
String pattern,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int lastRow,
int colIndex,
boolean showErrorBox,
Rank errorBoxRank,
String errorTitle,
String errorContent,
boolean showTip,
String tipTitle,
String tipContent)
Add date validation when export
|
static void |
ExcelUtils.addDropdownBox(String[] combobox,
boolean showErrorBox,
Rank errorBoxRank,
String errorTitle,
String errorContent,
org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int lastRow,
int colIndex,
String[] values)
Add a dropdown box when export
|
static void |
ExcelUtils.addNumericValid(ValidType validType,
OperatorType operatorType,
String expr1,
String expr2,
org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int lastRow,
int colIndex,
boolean showErrorBox,
Rank errorBoxRank,
String errorTitle,
String errorContent,
boolean showTip,
String tipTitle,
String tipContent)
Add numeric validation when export,
|
static void |
ExcelUtils.addRepeatValid(org.apache.poi.ss.usermodel.Sheet sheet,
int firstRow,
int lastRow,
int colIndex,
boolean showErrorBox,
Rank errorBoxRank,
String errorTitle,
String errorContent)
Add repeat validation when export
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Rank |
Rank.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Rank[] |
Rank.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
Copyright © 2020. All rights reserved.