jxl.biff.chart
Class Chart

java.lang.Object
  |
  +--jxl.biff.chart.Chart
All Implemented Interfaces:
ByteData

public class Chart
extends java.lang.Object
implements ByteData

Contains the various biff records used to insert a chart into a worksheet


Field Summary
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  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
 
Constructor Summary
Chart(MsoDrawingRecord mso, ObjRecord obj, int sp, int ep, File f)
          Constructor
 
Method Summary
 byte[] getBytes()
          Gets the entire binary record for the chart as a chunk of binary data
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

msoDrawingRecord

private MsoDrawingRecord msoDrawingRecord
The MsoDrawingRecord associated with the chart

objRecord

private ObjRecord objRecord
The ObjRecord associated with the chart

startpos

private int startpos
The start pos of the chart bof stream in the data file

endpos

private int endpos
The start pos of the chart bof stream in the data file

file

private File file
A handle to the Excel file
Constructor Detail

Chart

public Chart(MsoDrawingRecord mso,
             ObjRecord obj,
             int sp,
             int ep,
             File f)
Constructor
Parameters:
mso - a MsoDrawingRecord value
obj - an ObjRecord value
sp - an int value
ep - an int value
f - a File value
Method Detail

getBytes

public byte[] getBytes()
Gets the entire binary record for the chart as a chunk of binary data
Specified by:
getBytes in interface ByteData
Returns:
the bytes