public interface RefEval extends ValueEval, SheetRange
CellType.NUMERIC
, the contained value object should be of type NumberEval; if cell type is
CellType.STRING
, contained value object should be of type StringEval
(RefEval 是 Ref2D 和 Ref3DEval 的超级接口。基本上,RefEval impl 应该包含对原始 ReferencePtg 或 Ref3DPtg 的引用以及对单元格引用的评估产生的最终“值”。因此,如果 Cell 的类型为 CellType.NUMERIC,则包含的值对象应该是 NumberEval 类型;如果单元格类型为 CellType.STRING,则包含的值对象应为 StringEval 类型)
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
returns the zero based column index.
(返回基于零的列索引。)
|
int |
getFirstSheetIndex()
returns the first sheet index this applies to
(返回适用于的第一个工作表索引)
|
ValueEval |
getInnerValueEval(int sheetIndex) |
int |
getLastSheetIndex()
returns the last sheet index this applies to, which will be the same as the first for a 2D and many 3D references
(返回适用的最后一个工作表索引,这与 2D 和许多 3D 参考的第一个索引相同)
|
int |
getNumberOfSheets()
returns the number of sheets this applies to
(返回适用的张数)
|
int |
getRow()
returns the zero based row index.
(返回基于零的行索引。)
|
AreaEval |
offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
Creates an
AreaEval offset by a relative amount from this RefEval
(从这个 RefEval 创建一个相对量的 AreaEval 偏移量)
|
ValueEval getInnerValueEval(int sheetIndex)
int getColumn()
int getRow()
int getFirstSheetIndex()
getFirstSheetIndex
in interface
SheetRange
(接口 SheetRange 中的 getFirstSheetIndex)
int getLastSheetIndex()
getLastSheetIndex
in interface
SheetRange
(接口 SheetRange 中的 getLastSheetIndex)
int getNumberOfSheets()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.