Package loci.poi.hssf.record.formula
Class NameXPtg
- java.lang.Object
-
- loci.poi.hssf.record.formula.Ptg
-
- loci.poi.hssf.record.formula.NameXPtg
-
public class NameXPtg extends Ptg
- Author:
- aviks
-
-
Field Summary
Fields Modifier and Type Field Description static shortsid-
Fields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
-
-
Constructor Summary
Constructors Constructor Description NameXPtg(java.lang.String name)Creates new NamePtgNameXPtg(RecordInputStream in)Creates new NamePtg
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()bytegetDefaultOperandClass()intgetSize()java.lang.StringtoFormulaString(Workbook book)return a string representation of this token alonevoidwriteBytes(byte[] array, int offset)write this Ptg to a byte array-
Methods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NameXPtg
public NameXPtg(java.lang.String name)
Creates new NamePtg
-
NameXPtg
public NameXPtg(RecordInputStream in)
Creates new NamePtg
-
-
Method Detail
-
writeBytes
public void writeBytes(byte[] array, int offset)Description copied from class:Ptgwrite this Ptg to a byte array- Specified by:
writeBytesin classPtg
-
toFormulaString
public java.lang.String toFormulaString(Workbook book)
Description copied from class:Ptgreturn a string representation of this token alone- Specified by:
toFormulaStringin classPtg
-
getDefaultOperandClass
public byte getDefaultOperandClass()
- Specified by:
getDefaultOperandClassin classPtg
-
-