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 |
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
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
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 datadummy
- an indicator to initialise this record for biff 7 format
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