jxl.biff.formula
Class Area3d

java.lang.Object
  |
  +--jxl.biff.formula.ParseItem
        |
        +--jxl.biff.formula.Operand
              |
              +--jxl.biff.formula.Area3d
All Implemented Interfaces:
ParsedThing

class Area3d
extends Operand
implements ParsedThing

A nested class to hold range information


Field Summary
private  int columnFirst
           
private  boolean columnFirstRelative
           
private  int columnLast
           
private  boolean columnLastRelative
           
private  int rowFirst
           
private  boolean rowFirstRelative
           
private  int rowLast
           
private  boolean rowLastRelative
           
private  int sheet
           
private  ExternalSheet workbook
          A handle to the workbook
 
Fields inherited from class jxl.biff.formula.ParseItem
parent
 
Constructor Summary
(package private) Area3d(ExternalSheet es)
           
 
Method Summary
(package private)  byte[] getBytes()
          Gets the token representation of this item in RPN
(package private)  int getFirstColumn()
           
(package private)  int getFirstRow()
           
(package private)  int getLastColumn()
           
(package private)  int getLastRow()
           
 void getString(java.lang.StringBuffer buf)
          Gets the string representation of this item
 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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

sheet

private int sheet

columnFirst

private int columnFirst

rowFirst

private int rowFirst

columnLast

private int columnLast

rowLast

private int rowLast

columnFirstRelative

private boolean columnFirstRelative

rowFirstRelative

private boolean rowFirstRelative

columnLastRelative

private boolean columnLastRelative

rowLastRelative

private boolean rowLastRelative

workbook

private ExternalSheet workbook
A handle to the workbook
Constructor Detail

Area3d

Area3d(ExternalSheet es)
Method Detail

getFirstColumn

int getFirstColumn()

getFirstRow

int getFirstRow()

getLastColumn

int getLastColumn()

getLastRow

int getLastRow()

read

public int read(byte[] data,
                int pos)
Reads the ptg data from the array starting at the specified position
Specified by:
read in interface ParsedThing
Parameters:
data - the RPN array
pos - the current position in the array, excluding the ptg identifier
Returns:
the number of bytes read

getString

public void getString(java.lang.StringBuffer buf)
Description copied from class: ParseItem
Gets the string representation of this item
Overrides:
getString in class ParseItem
Following copied from class: jxl.biff.formula.ParseItem
Parameters:
ws - the workbook settings

getBytes

byte[] getBytes()
Gets the token representation of this item in RPN
Overrides:
getBytes in class ParseItem
Returns:
the bytes applicable to this formula