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.lang.String |
getNameName() |
java.lang.String |
getSheetName() |
int |
getSize() |
void |
setSheetName(java.lang.String sheetName) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
write(LittleEndianOutput out) |
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
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 java.lang.String toString()
Ptg
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 int getSize()
public void write(LittleEndianOutput out)
public NameXPxg copy()
copy
in interface Duplicatable
copy
in class OperandPtg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.