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) |
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final short sid
public NamePtg(int nameIndex)
nameIndex
- zero-based index to name within workbook
(nameIndex - 工作簿中名称的从零开始的索引)
public 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
WorkbookDependentFormula
(接口 WorkbookDependentFormula 中的 toFormulaString)
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class
Ptg
(Ptg 类中的 toFormulaString)
public byte getDefaultOperandClass()
getDefaultOperandClass
in class
Ptg
(类 Ptg 中的 getDefaultOperandClass)
public NamePtg copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
OperandPtg
(在类 OperandPtg 中复制)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.