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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.Ptg
      extended by org.apache.poi.hssf.record.formula.OperandPtg
          extended by org.apache.poi.hssf.record.formula.RefPtgBase
              extended by org.apache.poi.hssf.record.formula.RefPtg
All Implemented Interfaces:
java.lang.Cloneable

public final class RefPtg
extends RefPtgBase

ReferencePtg - handles references (such as A1, A2, IA4)

Author:
Andrew C. Oliver (acoliver@apache.org), Jason Height (jheight at chariot dot net dot au)

Field Summary
static byte sid
           
 
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE
 
Constructor Summary
RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative)
           
RefPtg(RecordInputStream in)
           
RefPtg(java.lang.String cellref)
          Takes in a String representation of a cell reference and fills out the numeric fields.
 
Method Summary
protected  byte getSid()
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.RefPtgBase
getColumn, getColumnRawX, getDefaultOperandClass, getRow, getRowAsInt, getSize, isColRelative, isRowRelative, setColRelative, setColumn, setColumnRawX, setRow, setRowRelative, toFormulaString, toString, writeBytes
 
Methods inherited from class org.apache.poi.hssf.record.formula.OperandPtg
isBaseToken
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
clone, copy, createParsedExpressionTokens, createPtg, getBytes, getEncodedSize, getEncodedSize, getPtgClass, readTokens, serializePtgs, 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

RefPtg

public RefPtg(java.lang.String cellref)
Takes in a String representation of a cell reference and fills out the numeric fields.


RefPtg

public RefPtg(int row,
              int column,
              boolean isRowRelative,
              boolean isColumnRelative)

RefPtg

public RefPtg(RecordInputStream in)
Method Detail

getSid

protected byte getSid()
Specified by:
getSid in class RefPtgBase


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