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, writeCoordinatesisBaseTokencreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic 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 Duplicatablecopy in class OperandPtgpublic void write(LittleEndianOutput out)
public final java.lang.String toFormulaString()
PtgtoFormulaString in class PtgCopyright 2022 The Apache Software Foundation or its licensors, as applicable.