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() |
protected byte |
getSid() |
int |
getSize() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
write(LittleEndianOutput out) |
formatReferenceAsString, getColumn, getDefaultOperandClass, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinates
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
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)
protected byte getSid()
public RefPtg copy()
copy
in interface Duplicatable
copy
in class OperandPtg
public void write(LittleEndianOutput out)
public final java.lang.String toFormulaString()
Ptg
toFormulaString
in class Ptg
public final int getSize()
public final java.lang.String toString()
Ptg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.