|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jxl.biff.formula.ParseItem
|
+--jxl.biff.formula.Operand
|
+--jxl.biff.formula.CellReference3d
A 3d cell reference in a formula
| Field Summary | |
private int |
column
The column reference |
private boolean |
columnRelative
Indicates whether the column reference is relative or absolute |
private Cell |
relativeTo
The cell containing the formula. |
private int |
row
The row reference |
private boolean |
rowRelative
Indicates whether the row reference is relative or absolute |
private int |
sheet
The sheet which the reference is present on |
private ExternalSheet |
workbook
A handle to the container of the external sheets ie. |
| Fields inherited from class jxl.biff.formula.ParseItem |
parent |
| Constructor Summary | |
CellReference3d(Cell rt,
ExternalSheet w)
Constructor |
|
CellReference3d(java.lang.String s,
ExternalSheet w)
Constructs this object from a string |
|
| Method Summary | |
(package private) byte[] |
getBytes()
Gets the token representation of this item in RPN |
int |
getColumn()
Accessor for the column |
int |
getRow()
Accessor for the row |
void |
getString(java.lang.StringBuffer buf)
Gets the string version of this cell reference |
int |
read(byte[] data,
int pos)
Reads the ptg data from the array starting at the specified position |
| Methods inherited from class jxl.biff.formula.ParseItem |
setParent |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private boolean columnRelative
private boolean rowRelative
private int column
private int row
private Cell relativeTo
private int sheet
private ExternalSheet workbook
| Constructor Detail |
public CellReference3d(Cell rt,
ExternalSheet w)
the - cell containing the formulathe - list of external sheets
public CellReference3d(java.lang.String s,
ExternalSheet w)
throws FormulaException
s - the stringw - the external sheetFormulaException - | Method Detail |
public int read(byte[] data,
int pos)
read in interface ParsedThingdata - the RPN arraypos - the current position in the array, excluding the ptg identifierpublic int getColumn()
public int getRow()
public void getString(java.lang.StringBuffer buf)
getString in class ParseItembuf - the buffer to append tobyte[] getBytes()
getBytes in class ParseItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||