public class VirtualCell
extends org.apache.poi.ss.usermodel.CellBase
Constructor and Description |
---|
VirtualCell(org.apache.poi.ss.usermodel.Cell cell,
int x,
int y)
构造
|
VirtualCell(org.apache.poi.ss.usermodel.Cell cell,
int x,
int y,
Object value)
构造
|
VirtualCell(org.apache.poi.ss.usermodel.Row row,
int x,
int y)
构造
|
Modifier and Type | Method and Description |
---|---|
org.apache.poi.ss.util.CellRangeAddress |
getArrayFormulaRange() |
boolean |
getBooleanCellValue() |
org.apache.poi.ss.usermodel.CellType |
getCachedFormulaResultType() |
org.apache.poi.ss.usermodel.Comment |
getCellComment() |
String |
getCellFormula() |
org.apache.poi.ss.usermodel.CellStyle |
getCellStyle() |
org.apache.poi.ss.usermodel.CellType |
getCellType() |
int |
getColumnIndex() |
Date |
getDateCellValue() |
byte |
getErrorCellValue() |
org.apache.poi.ss.usermodel.Hyperlink |
getHyperlink() |
LocalDateTime |
getLocalDateTimeCellValue() |
double |
getNumericCellValue() |
org.apache.poi.ss.usermodel.RichTextString |
getRichStringCellValue() |
org.apache.poi.ss.usermodel.Row |
getRow() |
int |
getRowIndex() |
org.apache.poi.ss.usermodel.Sheet |
getSheet() |
protected org.apache.poi.ss.SpreadsheetVersion |
getSpreadsheetVersion() |
String |
getStringCellValue() |
boolean |
isPartOfArrayFormulaGroup() |
void |
removeCellComment() |
protected void |
removeFormulaImpl() |
void |
removeHyperlink() |
void |
setAsActiveCell() |
void |
setCellComment(org.apache.poi.ss.usermodel.Comment comment) |
void |
setCellErrorValue(byte value) |
protected void |
setCellFormulaImpl(String formula) |
void |
setCellStyle(org.apache.poi.ss.usermodel.CellStyle style) |
protected void |
setCellTypeImpl(org.apache.poi.ss.usermodel.CellType cellType) |
void |
setCellValue(boolean value) |
protected void |
setCellValueImpl(Calendar value) |
protected void |
setCellValueImpl(Date value) |
protected void |
setCellValueImpl(double value) |
protected void |
setCellValueImpl(LocalDateTime value) |
protected void |
setCellValueImpl(org.apache.poi.ss.usermodel.RichTextString value) |
protected void |
setCellValueImpl(String value) |
void |
setHyperlink(org.apache.poi.ss.usermodel.Hyperlink link) |
getAddress, getValueType, removeFormula, setBlank, setCellFormula, setCellType, setCellValue, setCellValue, setCellValue, setCellValue, setCellValue, setCellValue, tryToDeleteArrayFormula
public VirtualCell(org.apache.poi.ss.usermodel.Cell cell, int x, int y)
cell
- 参照单元格x
- 新的列号,从0开始y
- 新的行号,从0开始public VirtualCell(org.apache.poi.ss.usermodel.Cell cell, int x, int y, Object value)
cell
- 参照单元格x
- 新的列号,从0开始y
- 新的行号,从0开始value
- 新值public VirtualCell(org.apache.poi.ss.usermodel.Row row, int x, int y)
row
- 行y
- 行号,从0开始x
- 列号,从0开始protected void setCellTypeImpl(org.apache.poi.ss.usermodel.CellType cellType)
setCellTypeImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellFormulaImpl(String formula)
setCellFormulaImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void removeFormulaImpl()
removeFormulaImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellValueImpl(double value)
setCellValueImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellValueImpl(Date value)
setCellValueImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellValueImpl(LocalDateTime value)
setCellValueImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellValueImpl(Calendar value)
setCellValueImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellValueImpl(String value)
setCellValueImpl
in class org.apache.poi.ss.usermodel.CellBase
protected void setCellValueImpl(org.apache.poi.ss.usermodel.RichTextString value)
setCellValueImpl
in class org.apache.poi.ss.usermodel.CellBase
protected org.apache.poi.ss.SpreadsheetVersion getSpreadsheetVersion()
getSpreadsheetVersion
in class org.apache.poi.ss.usermodel.CellBase
public int getColumnIndex()
public int getRowIndex()
public org.apache.poi.ss.usermodel.Sheet getSheet()
public org.apache.poi.ss.usermodel.Row getRow()
public org.apache.poi.ss.usermodel.CellType getCellType()
public org.apache.poi.ss.usermodel.CellType getCachedFormulaResultType()
public String getCellFormula()
public double getNumericCellValue()
public Date getDateCellValue()
public LocalDateTime getLocalDateTimeCellValue()
public org.apache.poi.ss.usermodel.RichTextString getRichStringCellValue()
public String getStringCellValue()
public void setCellValue(boolean value)
public void setCellErrorValue(byte value)
public boolean getBooleanCellValue()
public byte getErrorCellValue()
public void setCellStyle(org.apache.poi.ss.usermodel.CellStyle style)
public org.apache.poi.ss.usermodel.CellStyle getCellStyle()
public void setAsActiveCell()
public void setCellComment(org.apache.poi.ss.usermodel.Comment comment)
public org.apache.poi.ss.usermodel.Comment getCellComment()
public void removeCellComment()
public org.apache.poi.ss.usermodel.Hyperlink getHyperlink()
public void setHyperlink(org.apache.poi.ss.usermodel.Hyperlink link)
public void removeHyperlink()
public org.apache.poi.ss.util.CellRangeAddress getArrayFormulaRange()
public boolean isPartOfArrayFormulaGroup()
Copyright © 2025. All rights reserved.