public final class RefPtg extends RefPtgBase
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
RefPtg(CellReference cr) |
RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative) |
RefPtg(LittleEndianInput in) |
RefPtg(RefPtg other) |
RefPtg(java.lang.String cellref)
Takes in a String representation of a cell reference and fills out the numeric fields.
|
Modifier and Type | Method and Description |
---|---|
RefPtg |
copy() |
byte |
getSid() |
int |
getSize() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
(单独返回此标记的字符串表示)
|
void |
write(LittleEndianOutput out) |
formatReferenceAsString, getColumn, getDefaultOperandClass, getGenericProperties, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinates
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final byte sid
public RefPtg(java.lang.String cellref)
public RefPtg(RefPtg other)
public RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative)
public RefPtg(LittleEndianInput in)
public RefPtg(CellReference cr)
public byte getSid()
public RefPtg copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
OperandPtg
(在类 OperandPtg 中复制)
public void write(LittleEndianOutput out)
public final java.lang.String toFormulaString()
Ptg
toFormulaString
in class
Ptg
(Ptg 类中的 toFormulaString)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.