|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.biff.WritableRecordData
|
+--jxl.write.biff.SupbookRecord
Stores the supporting workbook information. For files written by JExcelApi this will only reference internal sheets
| Inner Class Summary | |
private static class |
SupbookRecord.SupbookType
The type of supbook this refers to |
| Field Summary | |
static SupbookRecord.SupbookType |
ADDIN
|
private byte[] |
data
The data to be written to the binary file |
static SupbookRecord.SupbookType |
EXTERNAL
|
private java.lang.String |
fileName
The name of the external file |
static SupbookRecord.SupbookType |
INTERNAL
|
static SupbookRecord.SupbookType |
LINK
|
private int |
numSheets
The number of sheets - internal & external supbooks only |
private java.lang.String[] |
sheetNames
The names of the external sheets |
private SupbookRecord.SupbookType |
type
The type of this supbook record |
static SupbookRecord.SupbookType |
UNKNOWN
|
| Fields inherited from class jxl.biff.RecordData |
code, record |
| Constructor Summary | |
SupbookRecord(int sheets)
Constructor for internal sheets |
|
SupbookRecord(SupbookRecord sr)
Constructor used when copying from an external workbook |
|
| Method Summary | |
byte[] |
getData()
The binary data to be written out |
int |
getNumberOfSheets()
Gets the number of sheets. |
SupbookRecord.SupbookType |
getType()
Gets the type of this supbook record |
private void |
initExternal(SupbookRecord sr)
Initializes an external supbook record |
private void |
initInternal(SupbookRecord sr)
Initializes an internal supbook record |
| Methods inherited from class jxl.biff.WritableRecordData |
getBytes |
| Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private SupbookRecord.SupbookType type
private byte[] data
private int numSheets
private java.lang.String fileName
private java.lang.String[] sheetNames
public static final SupbookRecord.SupbookType INTERNAL
public static final SupbookRecord.SupbookType EXTERNAL
public static final SupbookRecord.SupbookType ADDIN
public static final SupbookRecord.SupbookType LINK
public static final SupbookRecord.SupbookType UNKNOWN
| Constructor Detail |
public SupbookRecord(int sheets)
public SupbookRecord(SupbookRecord sr)
| Method Detail |
private void initInternal(SupbookRecord sr)
sr - the read supbook record to copy fromprivate void initExternal(SupbookRecord sr)
sr - the read supbook record to copy frompublic byte[] getData()
getData in class WritableRecordDatapublic SupbookRecord.SupbookType getType()
public int getNumberOfSheets()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||