jxl.read.biff
Class DimensionRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.read.biff.DimensionRecord

class DimensionRecord
extends RecordData

Contains the cell dimensions of this worksheet


Inner Class Summary
private static class DimensionRecord.Biff7
          Dummy indicators for overloading the constructor
 
Field Summary
static DimensionRecord.Biff7 biff7
           
private  int numCols
          The number of columns in this worksheet
private  int numRows
          The number of rows in this sheet
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
DimensionRecord(Record t)
          Constructs the dimensions from the raw data
DimensionRecord(Record t, DimensionRecord.Biff7 biff7)
          Constructs the dimensions from the raw data
 
Method Summary
 int getNumberOfColumns()
          Accessor for the number of columns in this sheet
 int getNumberOfRows()
          Accessor for the number of rows in this sheet
private  void read10ByteData(byte[] data)
          Reads in the data for data records of length 10
private  void read14ByteData(byte[] data)
          Reads in the data for data records of length 14
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

numRows

private int numRows
The number of rows in this sheet

numCols

private int numCols
The number of columns in this worksheet

biff7

public static DimensionRecord.Biff7 biff7
Constructor Detail

DimensionRecord

public DimensionRecord(Record t)
Constructs the dimensions from the raw data
Parameters:
t - the raw data

DimensionRecord

public DimensionRecord(Record t,
                       DimensionRecord.Biff7 biff7)
Constructs the dimensions from the raw data
Parameters:
t - the raw data
dummy - an indicator to initialise this record for biff 7 format
Method Detail

read10ByteData

private void read10ByteData(byte[] data)
Reads in the data for data records of length 10

read14ByteData

private void read14ByteData(byte[] data)
Reads in the data for data records of length 14

getNumberOfRows

public int getNumberOfRows()
Accessor for the number of rows in this sheet
Returns:
the number of rows

getNumberOfColumns

public int getNumberOfColumns()
Accessor for the number of columns in this sheet
Returns:
the number of columns