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, writeCoordinatesisBaseTokencreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClasspublic 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 Duplicatablecopy in class OperandPtgpublic void write(LittleEndianOutput out)
public final java.lang.String toFormulaString()
PtgtoFormulaString in class Ptgpublic final int getSize()
public final java.lang.String toString()
PtgCopyright 2020 The Apache Software Foundation or its licensors, as applicable.