Constructor and Description |
---|
CompositeCellValue(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellType cellType,
CellEditor cellEditor)
构造
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
获取单元格值
|
static CompositeCellValue |
of(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellType cellType,
CellEditor cellEditor)
创建CompositeCellValue
|
public CompositeCellValue(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.usermodel.CellType cellType, CellEditor cellEditor)
cell
- Cell
单元格cellType
- 单元格值类型CellType
枚举,如果为null
默认使用cell的类型cellEditor
- 单元格值编辑器。可以通过此编辑器对单元格值做自定义操作public static CompositeCellValue of(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.usermodel.CellType cellType, CellEditor cellEditor)
cell
- Cell
单元格cellType
- 单元格值类型CellType
枚举,如果为null
默认使用cell的类型cellEditor
- 单元格值编辑器。可以通过此编辑器对单元格值做自定义操作Copyright © 2025. All rights reserved.