public final 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
|
NamePtg(NamePtg other) |
| Modifier and Type | Method and Description |
|---|---|
NamePtg |
copy() |
byte |
getDefaultOperandClass() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getIndex() |
byte |
getSid() |
int |
getSize() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toFormulaString(FormulaRenderingWorkbook book) |
void |
write(LittleEndianOutput out) |
isBaseTokencreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic static final short sid
public NamePtg(int nameIndex)
nameIndex - zero-based index to name within workbookpublic NamePtg(NamePtg other)
public NamePtg(LittleEndianInput in)
public int getIndex()
public void write(LittleEndianOutput out)
public byte getSid()
public int getSize()
public java.lang.String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString in interface WorkbookDependentFormulapublic java.lang.String toFormulaString()
PtgtoFormulaString in class Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class Ptgpublic NamePtg copy()
copy in interface Duplicatablecopy in class OperandPtgpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.