public class NamePtg 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 |
---|
NamePtg(int nameIndex) |
NamePtg(LittleEndianInput in)
Creates new NamePtg
|
Modifier and Type | Method and Description |
---|---|
byte |
getDefaultOperandClass() |
int |
getIndex() |
String |
getNameName() |
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
String |
toFormulaString()
return a string representation of this token alone
|
String |
toFormulaString(FormulaRenderingWorkbook book) |
String |
toInternalFormulaString(FormulaRenderingWorkbook book) |
void |
write(LittleEndianOutput out) |
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
copy, isBaseToken
clone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toString
public static final short sid
public NamePtg(int nameIndex)
nameIndex
- zero-based index to name within workbookpublic NamePtg(LittleEndianInput in)
public int getIndex()
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 WorkbookDependentFormula
public String toFormulaString()
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
public String toInternalFormulaString(FormulaRenderingWorkbook book)
toInternalFormulaString
in interface WorkbookDependentFormula
public String getNameName()
Copyright © 2020. All rights reserved.