public final class Ref3DPtg extends RefPtgBase implements WorkbookDependentFormula, ExternSheetReferenceToken
Description: Defined a cell in extern sheet.
REFERENCE:
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
Ref3DPtg(CellReference c,
int externIdx) |
Ref3DPtg(LittleEndianInput in,
SpreadsheetVersion version) |
Ref3DPtg(String cellref,
int externIdx) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
format2DRefAsString() |
int |
getExternSheetIndex() |
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
int |
hashCode() |
void |
setExternSheetIndex(int index) |
String |
toFormulaString()
return a string representation of this token alone
|
String |
toFormulaString(FormulaRenderingWorkbook book) |
String |
toInternalFormulaString(FormulaRenderingWorkbook book) |
String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
write(LittleEndianOutput out) |
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
formatReferenceAsString, getColumn, getDefaultOperandClass, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinates
copy, isBaseToken
clone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClass
public static final byte sid
public Ref3DPtg(LittleEndianInput in, SpreadsheetVersion version)
public Ref3DPtg(String cellref, int externIdx)
public Ref3DPtg(CellReference c, int externIdx)
public String toString()
Ptg
public void write(LittleEndianOutput out)
public void write(LittleEndianOutput out, SpreadsheetVersion version)
public int getSize()
public int getSize(SpreadsheetVersion version)
public int getExternSheetIndex()
getExternSheetIndex
in interface ExternSheetReferenceToken
public void setExternSheetIndex(int index)
public String format2DRefAsString()
format2DRefAsString
in interface ExternSheetReferenceToken
public String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString
in interface WorkbookDependentFormula
public String toFormulaString()
Ptg
toFormulaString
in class Ptg
public int hashCode()
hashCode
in class RefPtgBase
public boolean equals(Object o)
equals
in class RefPtgBase
public String toInternalFormulaString(FormulaRenderingWorkbook book)
toInternalFormulaString
in interface WorkbookDependentFormula
Copyright © 2020. All rights reserved.