Package loci.poi.hssf.record.formula
Class RefNPtg
- java.lang.Object
-
- loci.poi.hssf.record.formula.Ptg
-
- loci.poi.hssf.record.formula.ReferencePtg
-
- loci.poi.hssf.record.formula.RefNPtg
-
public class RefNPtg extends ReferencePtg
RefNPtg- Author:
- Jason Height (jheight at apache dot com)
-
-
Field Summary
Fields Modifier and Type Field Description static byte
sid
-
Fields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RefNPtg()
RefNPtg(RecordInputStream in)
Creates new ValueReferencePtg
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getRefPtgName()
String
toFormulaString(Workbook book)
return a string representation of this token alonevoid
writeBytes(byte[] array, int offset)
write this Ptg to a byte array-
Methods inherited from class loci.poi.hssf.record.formula.ReferencePtg
getColumn, getColumnRaw, getDefaultOperandClass, getRow, getRowAsInt, getSize, isColRelative, isRowRelative, setColRelative, setColumn, setColumnRaw, setRow, setRow, setRowRelative, toString
-
Methods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
-
-
-
-
Field Detail
-
sid
public static final byte sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RefNPtg
protected RefNPtg()
-
RefNPtg
public RefNPtg(RecordInputStream in)
Creates new ValueReferencePtg
-
-
Method Detail
-
writeBytes
public void writeBytes(byte[] array, int offset)
Description copied from class:Ptg
write this Ptg to a byte array- Overrides:
writeBytes
in classReferencePtg
-
getRefPtgName
public String getRefPtgName()
- Overrides:
getRefPtgName
in classReferencePtg
-
toFormulaString
public String toFormulaString(Workbook book)
Description copied from class:Ptg
return a string representation of this token alone- Overrides:
toFormulaString
in classReferencePtg
-
clone
public Object clone()
- Overrides:
clone
in classReferencePtg
-
-