jxl.write.biff
Class ExternalSheetRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.biff.WritableRecordData
|
+--jxl.write.biff.ExternalSheetRecord
- All Implemented Interfaces:
- ByteData
- class ExternalSheetRecord
- extends WritableRecordData
An external sheet record, used to maintain integrity when formulas
are copied from read databases
Field Summary |
private byte[] |
data
The underlying external sheet data |
private java.util.ArrayList |
xtis
The list of XTI structures |
Method Summary |
byte[] |
getData()
Gets the binary data for output to file |
int |
getFirstTabIndex(int index)
Gets the first tab index for the specified external sheet |
(package private) int |
getIndex(int supbookind,
int sheetind)
Gets the extern sheet index for the specified parameters, creating
a new xti record if necessary |
int |
getLastTabIndex(int index)
Gets the last tab index for the specified external sheet |
int |
getSupbookIndex(int index)
Gets the supbook index for the specified external sheet |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
data
private byte[] data
- The underlying external sheet data
xtis
private java.util.ArrayList xtis
- The list of XTI structures
ExternalSheetRecord
public ExternalSheetRecord(ExternalSheetRecord esf)
- Constructor
- Parameters:
esf
- the external sheet record to copy
ExternalSheetRecord
public ExternalSheetRecord()
- Constructor used for writable workbooks
getIndex
int getIndex(int supbookind,
int sheetind)
- Gets the extern sheet index for the specified parameters, creating
a new xti record if necessary
- Parameters:
supbookind
- the internal supbook referencesheetind
- the sheet index
getData
public byte[] getData()
- Gets the binary data for output to file
- Overrides:
getData
in class WritableRecordData
- Returns:
- the binary data
getSupbookIndex
public 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
public 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
public 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