| 程序包 | 说明 |
|---|---|
| com.gitee.qdbp.tools.excel | |
| com.gitee.qdbp.tools.excel.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
IndexRangeCondition |
XMetadata.getFieldRows()
字段名所在的行
|
IndexRangeCondition |
XMetadata.getFooterRows()
页脚所在的行号
|
IndexRangeCondition |
XMetadata.getHeaderRows()
表头所在的行号
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XMetadata.setFieldRows(IndexRangeCondition fieldRows)
字段名所在的行
|
void |
XMetadata.setFooterRows(IndexRangeCondition footerRows)
页脚所在的行号
|
void |
XMetadata.setHeaderRows(IndexRangeCondition headerRows)
表头所在的行号
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<FieldInfo> |
MetadataTools.parseFieldInfoByRows(org.apache.poi.ss.usermodel.Sheet sheet,
IndexRangeCondition fieldRows)
解析字段列表配置
星号开头或(*)结尾的字段为必填字段: [*name] or [name(*)] |
static List<ColumnInfo> |
MetadataTools.parseHeaders(org.apache.poi.ss.usermodel.Sheet sheet,
IndexRangeCondition headerRows,
List<FieldInfo> fieldInfos)
解析表头数据
星号开头或(*)结尾的字段为必填字段: [* 姓名] or [姓名 (*)] |
Copyright © 2020. All rights reserved.