jxl.biff.drawing
Class Chart

java.lang.Object
  extended byjxl.biff.drawing.Chart
All Implemented Interfaces:
ByteData, jxl.biff.drawing.EscherStream

public class Chart
extends java.lang.Object
implements ByteData, jxl.biff.drawing.EscherStream

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


Constructor Summary
Chart(MsoDrawingRecord mso, ObjRecord obj, DrawingData dd, 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
 byte[] getData()
          Implementation of the EscherStream method
 void rationalize(IndexMapping xfMapping, IndexMapping fontMapping, IndexMapping formatMapping)
          Rationalizes the sheet's xf index mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chart

public Chart(MsoDrawingRecord mso,
             ObjRecord obj,
             DrawingData dd,
             int sp,
             int ep,
             File f,
             WorkbookSettings ws)
Constructor

Parameters:
mso - a MsoDrawingRecord value
obj - an ObjRecord value
sp - an int value
ep - an int value
f - a File value
ws - the workbook settings
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

getData

public byte[] getData()
Implementation of the EscherStream method

Specified by:
getData in interface jxl.biff.drawing.EscherStream
Returns:
the data

rationalize

public void rationalize(IndexMapping xfMapping,
                        IndexMapping fontMapping,
                        IndexMapping formatMapping)
Rationalizes the sheet's xf index mapping

Parameters:
xfMapping - the index mapping for XFRecords
fontMapping - the index mapping for fonts
formatMapping - the index mapping for formats