public class ComplexCell extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private Integer[] |
locationIndex
header原生坐标, 如0,0,0,0
|
private java.util.function.BiConsumer<org.apache.poi.ss.usermodel.Font,org.apache.poi.ss.usermodel.CellStyle> |
style
样式定义
|
private String |
text
显示内容
|
| 构造器和说明 |
|---|
ComplexCell() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer[] |
getLocationIndex()
获取单元格定位
|
java.util.function.BiConsumer<org.apache.poi.ss.usermodel.Font,org.apache.poi.ss.usermodel.CellStyle> |
getStyle()
获取样式
|
String |
getText()
获取显示内容
|
void |
setLocationIndex(Integer[] locationIndex)
设置坐标
|
void |
setLocationIndex(String location)
设置坐标
|
void |
setStyle(java.util.function.BiConsumer<org.apache.poi.ss.usermodel.Font,org.apache.poi.ss.usermodel.CellStyle> style)
设置样式
|
void |
setText(String text)
设置文本
|
private Integer[] locationIndex
private java.util.function.BiConsumer<org.apache.poi.ss.usermodel.Font,org.apache.poi.ss.usermodel.CellStyle> style
private String text
public String getText()
public java.util.function.BiConsumer<org.apache.poi.ss.usermodel.Font,org.apache.poi.ss.usermodel.CellStyle> getStyle()
public Integer[] getLocationIndex()
public void setLocationIndex(Integer[] locationIndex)
locationIndex - excel坐标public void setLocationIndex(String location)
location - excel坐标public void setStyle(java.util.function.BiConsumer<org.apache.poi.ss.usermodel.Font,org.apache.poi.ss.usermodel.CellStyle> style)
style - 样式public void setText(String text)
text - 显示文本Copyright © 2023. All rights reserved.