jxl.read.biff
Class ExternalSheetRecord

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

public class ExternalSheetRecord
extends RecordData

An Externsheet record, containing the details of externally references workbooks


Inner Class Summary
private static class ExternalSheetRecord.Biff7
          Dummy indicators for overloading the constructor
private static class ExternalSheetRecord.XTI
          An XTI structure
 
Field Summary
static ExternalSheetRecord.Biff7 biff7
           
private  ExternalSheetRecord.XTI[] xtiArray
          The array of XTI structures
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
(package private) ExternalSheetRecord(Record t)
          Constructs this object from the raw data
(package private) ExternalSheetRecord(Record t, ExternalSheetRecord.Biff7 dummy)
          Constructs this object from the raw data in biff 7 format.
 
Method Summary
 byte[] getData()
          Used when copying a workbook to access the raw external sheet data
(package private)  int getFirstTabIndex(int index)
          Gets the first tab index for the specified external sheet
(package private)  int getLastTabIndex(int index)
          Gets the last tab index for the specified external sheet
(package private)  int getSupbookIndex(int index)
          Gets the supbook index for the specified external sheet
 
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

biff7

public static ExternalSheetRecord.Biff7 biff7

xtiArray

private ExternalSheetRecord.XTI[] xtiArray
The array of XTI structures
Constructor Detail

ExternalSheetRecord

ExternalSheetRecord(Record t)
Constructs this object from the raw data
Parameters:
t - the raw data

ExternalSheetRecord

ExternalSheetRecord(Record t,
                    ExternalSheetRecord.Biff7 dummy)
Constructs this object from the raw data in biff 7 format. Does nothing here
Parameters:
t - the raw data
Method Detail

getSupbookIndex

int getSupbookIndex(int index)
Gets the supbook index for the specified external sheet
Parameters:
the - index of the supbook record
Returns:
the supbook index

getFirstTabIndex

int getFirstTabIndex(int index)
Gets the first tab index for the specified external sheet
Parameters:
the - index of the supbook record
Returns:
the first tab index

getLastTabIndex

int getLastTabIndex(int index)
Gets the last tab index for the specified external sheet
Parameters:
the - index of the supbook record
Returns:
the last tab index

getData

public byte[] getData()
Used when copying a workbook to access the raw external sheet data
Returns:
the raw external sheet data