public final class NameXPtg extends OperandPtg implements WorkbookDependentFormula
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Constructor and Description |
|---|
NameXPtg(int sheetRefIndex,
int nameIndex) |
NameXPtg(LittleEndianInput in) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getDefaultOperandClass() |
int |
getNameIndex() |
int |
getSheetRefIndex() |
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
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) |
copy, isBaseTokenclone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClasspublic static final short sid
public NameXPtg(int sheetRefIndex,
int nameIndex)
sheetRefIndex - index to REF entry in externsheet recordnameIndex - index to defined name or externname tablepublic NameXPtg(LittleEndianInput in)
public void write(LittleEndianOutput out)
public void write(LittleEndianOutput out, SpreadsheetVersion version)
public int getSize()
public int getSize(SpreadsheetVersion version)
public String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString in interface WorkbookDependentFormulapublic String toFormulaString()
PtgtoFormulaString in class Ptgpublic String toString()
Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class Ptgpublic int getSheetRefIndex()
public int getNameIndex()
public String toInternalFormulaString(FormulaRenderingWorkbook book)
toInternalFormulaString in interface WorkbookDependentFormulaCopyright © 2020. All rights reserved.