java.lang.Cloneable
public final class RefPtg extends RefPtgBase
Modifier and Type | Field | Description |
---|---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor | Description |
---|---|
RefPtg(int row,
int column,
boolean isRowRelative,
boolean isColumnRelative) |
|
RefPtg(java.lang.String cellref) |
Takes in a String representation of a cell reference and fills out the
numeric fields.
|
RefPtg(CellReference cr) |
|
RefPtg(LittleEndianInput in) |
Modifier and Type | Method | Description |
---|---|---|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
formatReferenceAsString, getColumn, getDefaultOperandClass, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinates
public static final byte sid
public RefPtg(java.lang.String cellref)
public RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative)
public RefPtg(LittleEndianInput in)
public RefPtg(CellReference cr)
protected byte getSid()
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 2018 The Apache Software Foundation or its licensors, as applicable.