public final class NameXPxg extends OperandPtg implements Pxg
This is XSSF only, as it stores the sheet / book references
in String form. The HSSF equivalent using indexes is NameXPtg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
NameXPxg(int externalWorkbookNumber,
java.lang.String sheetName,
java.lang.String nameName) |
NameXPxg(NameXPxg other) |
NameXPxg(java.lang.String nameName) |
NameXPxg(java.lang.String sheetName,
java.lang.String nameName) |
Modifier and Type | Method and Description |
---|---|
NameXPxg |
copy() |
byte |
getDefaultOperandClass() |
int |
getExternalWorkbookNumber() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.lang.String |
getNameName() |
java.lang.String |
getSheetName() |
byte |
getSid() |
int |
getSize() |
void |
setSheetName(java.lang.String sheetName) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
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 NameXPxg(int externalWorkbookNumber, java.lang.String sheetName, java.lang.String nameName)
public NameXPxg(NameXPxg other)
public NameXPxg(java.lang.String sheetName, java.lang.String nameName)
public NameXPxg(java.lang.String nameName)
public int getExternalWorkbookNumber()
getExternalWorkbookNumber
in interface Pxg
public java.lang.String getSheetName()
getSheetName
in interface Pxg
public java.lang.String getNameName()
public void setSheetName(java.lang.String sheetName)
setSheetName
in interface Pxg
public java.lang.String toFormulaString()
Ptg
toFormulaString
in interface Pxg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
public byte getSid()
public int getSize()
public void write(LittleEndianOutput out)
public NameXPxg 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.