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,
SpreadsheetVersion version) |
RefPtg(String cellref)
Takes in a String representation of a cell reference and fills out the
numeric fields.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte |
getSid() |
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
String |
toFormulaString()
return a string representation of this token alone
|
String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
write(LittleEndianOutput out) |
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
equals, formatReferenceAsString, getColumn, getDefaultOperandClass, getRow, hashCode, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinatescopy, isBaseTokenclone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClasspublic static final byte sid
public RefPtg(String cellref)
public RefPtg(int row,
int column,
boolean isRowRelative,
boolean isColumnRelative)
public RefPtg(LittleEndianInput in, SpreadsheetVersion version)
public RefPtg(CellReference cr)
protected byte getSid()
public void write(LittleEndianOutput out)
public void write(LittleEndianOutput out, SpreadsheetVersion version)
public final String toFormulaString()
PtgtoFormulaString in class Ptgpublic final int getSize()
public final int getSize(SpreadsheetVersion version)
Copyright © 2020. All rights reserved.