public final class NameXPtg extends OperandPtg implements WorkbookDependentFormula
This is HSSF only, as it matches the HSSF file format way of
referring to the sheet by an extern index. The XSSF equivalent
is NameXPxg
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 |
---|---|
NameXPtg |
copy() |
byte |
getDefaultOperandClass() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getNameIndex() |
int |
getSheetRefIndex() |
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 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 byte getSid()
public int getSize()
public java.lang.String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString
in interface WorkbookDependentFormula
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
public int getSheetRefIndex()
public int getNameIndex()
public NameXPtg copy()
copy
in interface Duplicatable
copy
in class OperandPtg
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.