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
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 |
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
workbookSettings
private WorkbookSettings workbookSettings
- The workbook settings
Chart
public Chart(MsoDrawingRecord mso,
ObjRecord obj,
int sp,
int ep,
File f,
WorkbookSettings ws)
- Constructor
- Parameters:
mso
- a MsoDrawingRecord
valueobj
- an ObjRecord
valuesp
- an int
valueep
- an int
valuef
- a File
valuews
- the workbook settings
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