|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.read.biff.SupbookRecord
A record containing the references to the various sheets (internal and external) referenced by formulas in this workbook
| Inner Class Summary | |
private static class |
SupbookRecord.Type
The type of supbook this refers to |
| Field Summary | |
static SupbookRecord.Type |
ADDIN
|
static SupbookRecord.Type |
EXTERNAL
|
private java.lang.String |
fileName
The name of the external file |
static SupbookRecord.Type |
INTERNAL
|
static SupbookRecord.Type |
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.Type |
type
The type of this supbook record |
static SupbookRecord.Type |
UNKNOWN
|
| Fields inherited from class jxl.biff.RecordData |
code, record |
| Constructor Summary | |
(package private) |
SupbookRecord(Record t,
WorkbookSettings ws)
Constructs this object from the raw data |
| Method Summary | |
byte[] |
getData()
Gets the data - used when copying a spreadsheet |
private java.lang.String |
getEncodedFilename(byte[] data,
int ln,
int pos)
Gets the encoded string from the data array |
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 |
SupbookRecord.Type |
getType()
Gets the type of this supbook record |
private java.lang.String |
getUnicodeEncodedFilename(byte[] data,
int ln,
int pos)
Gets the encoded string from the data array |
private void |
readExternal(byte[] data,
WorkbookSettings ws)
Reads the external data records |
| Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private SupbookRecord.Type type
private int numSheets
private java.lang.String fileName
private java.lang.String[] sheetNames
public static final SupbookRecord.Type INTERNAL
public static final SupbookRecord.Type EXTERNAL
public static final SupbookRecord.Type ADDIN
public static final SupbookRecord.Type LINK
public static final SupbookRecord.Type UNKNOWN
| Constructor Detail |
SupbookRecord(Record t,
WorkbookSettings ws)
t - the raw data| Method Detail |
private void readExternal(byte[] data,
WorkbookSettings ws)
data - public SupbookRecord.Type getType()
public int getNumberOfSheets()
public java.lang.String getFileName()
public java.lang.String getSheetName(int i)
i - the index of the external sheetpublic byte[] getData()
private java.lang.String getEncodedFilename(byte[] data,
int ln,
int pos)
data - the dataln - length of the stringpos - the position in the array
private java.lang.String getUnicodeEncodedFilename(byte[] data,
int ln,
int pos)
data - the dataln - length of the stringpos - the position in the array
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||