org.apache.poi.hssf.record.formula
Class RefNPtg

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.Ptg
      extended by org.apache.poi.hssf.record.formula.ReferencePtg
          extended by org.apache.poi.hssf.record.formula.RefNPtg

public class RefNPtg
extends ReferencePtg

RefNPtg

Author:
Jason Height (jheight at apache dot com)

Field Summary
static byte sid
           
 
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
 
Constructor Summary
protected RefNPtg()
           
  RefNPtg(RecordInputStream in)
          Creates new ValueReferencePtg
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getRefPtgName()
           
 java.lang.String toFormulaString(Workbook book)
          return a string representation of this token alone
 void writeBytes(byte[] array, int offset)
          write this Ptg to a byte array
 
Methods inherited from class org.apache.poi.hssf.record.formula.ReferencePtg
getColumn, getColumnRaw, getDefaultOperandClass, getRow, getRowAsInt, getSize, isColRelative, isRowRelative, setColRelative, setColumn, setColumnRaw, setRow, setRow, setRowRelative, toString
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 class ReferencePtg

getRefPtgName

public java.lang.String getRefPtgName()
Overrides:
getRefPtgName in class ReferencePtg

toFormulaString

public java.lang.String toFormulaString(Workbook book)
Description copied from class: Ptg
return a string representation of this token alone

Overrides:
toFormulaString in class ReferencePtg

clone

public java.lang.Object clone()
Overrides:
clone in class ReferencePtg


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.