|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.chart.Chart
Contains the various biff records used to insert a chart into a worksheet
Field Summary | |
private byte[] |
data
The chart byte data |
private int |
endpos
The start pos of the chart bof stream in the data file |
private File |
file
A handle to the Excel file |
private boolean |
initialized
Flag which indicates that the byte data has been initialized |
private MsoDrawingRecord |
msoDrawingRecord
The MsoDrawingRecord associated with the chart |
private ObjRecord |
objRecord
The ObjRecord associated with the chart |
private int |
startpos
The start pos of the chart bof stream in the data file |
private WorkbookSettings |
workbookSettings
The workbook settings |
Constructor Summary | |
Chart(MsoDrawingRecord mso,
ObjRecord obj,
int sp,
int ep,
File f,
WorkbookSettings ws)
Constructor |
Method Summary | |
byte[] |
getBytes()
Gets the entire binary record for the chart as a chunk of binary data |
private void |
initialize()
Initializes the charts byte data |
void |
rationalize(IndexMapping xfMapping,
IndexMapping fontMapping,
IndexMapping formatMapping)
Rationalizes the sheets xf index mapping |
Methods inherited from class java.lang.Object |
|
Field Detail |
private MsoDrawingRecord msoDrawingRecord
private ObjRecord objRecord
private int startpos
private int endpos
private File file
private byte[] data
private boolean initialized
private WorkbookSettings workbookSettings
Constructor Detail |
public Chart(MsoDrawingRecord mso, ObjRecord obj, int sp, int ep, File f, WorkbookSettings ws)
mso
- a MsoDrawingRecord
valueobj
- an ObjRecord
valuesp
- an int
valueep
- an int
valuef
- a File
valuews
- the workbook settingsMethod Detail |
public byte[] getBytes()
getBytes
in interface ByteData
private void initialize()
public void rationalize(IndexMapping xfMapping, IndexMapping fontMapping, IndexMapping formatMapping)
xfMapping
- the index mapping for XFRecordsfontMapping
- the index mapping for fontsformatMapping
- the index mapping for formats
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |