jxl.read.biff
Class SupbookRecord

java.lang.Object
  extended byjxl.biff.RecordData
      extended byjxl.read.biff.SupbookRecord

public class SupbookRecord
extends RecordData

A record containing the references to the various sheets (internal and external) referenced by formulas in this workbook


Field Summary
static jxl.read.biff.SupbookRecord.Type ADDIN
           
static jxl.read.biff.SupbookRecord.Type EXTERNAL
           
static jxl.read.biff.SupbookRecord.Type INTERNAL
           
static jxl.read.biff.SupbookRecord.Type LINK
           
static jxl.read.biff.SupbookRecord.Type UNKNOWN
           
 
Method Summary
 byte[] getData()
          Gets the data - used when copying a spreadsheet
 java.lang.String getFileName()
          Gets the name of the external file
 int getNumberOfSheets()
          Gets the number of sheets.
 java.lang.String getSheetName(int i)
          Gets the name of the external sheet
 jxl.read.biff.SupbookRecord.Type getType()
          Gets the type of this supbook record
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL

public static final jxl.read.biff.SupbookRecord.Type INTERNAL

EXTERNAL

public static final jxl.read.biff.SupbookRecord.Type EXTERNAL

ADDIN

public static final jxl.read.biff.SupbookRecord.Type ADDIN

LINK

public static final jxl.read.biff.SupbookRecord.Type LINK

UNKNOWN

public static final jxl.read.biff.SupbookRecord.Type UNKNOWN
Method Detail

getType

public jxl.read.biff.SupbookRecord.Type getType()
Gets the type of this supbook record

Returns:
the type of this supbook

getNumberOfSheets

public int getNumberOfSheets()
Gets the number of sheets. This will only be non-zero for internal and external supbooks

Returns:
the number of sheets

getFileName

public java.lang.String getFileName()
Gets the name of the external file

Returns:
the name of the external file

getSheetName

public java.lang.String getSheetName(int i)
Gets the name of the external sheet

Parameters:
i - the index of the external sheet
Returns:
the name of the sheet

getData

public byte[] getData()
Gets the data - used when copying a spreadsheet

Returns:
the raw external sheet data