org.apache.poi.hssf.record.formula
Class RefPtg
java.lang.Object
org.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.OperandPtg
org.apache.poi.hssf.record.formula.RefPtgBase
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
|
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.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 |
sid
public static final byte sid
- See Also:
- Constant Field Values
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)
getSid
protected byte getSid()
- Specified by:
getSid
in class RefPtgBase
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.