jxl.biff.drawing
Class SheetDrawingWriter

java.lang.Object
  extended byjxl.biff.drawing.SheetDrawingWriter

public class SheetDrawingWriter
extends java.lang.Object

Handles the writing out of the different charts and images on a sheet. Called by the SheetWriter object


Constructor Summary
SheetDrawingWriter(WorkbookSettings ws)
          Constructor
 
Method Summary
 Chart[] getCharts()
          Accessor for the charts on the sheet
 void setCharts(Chart[] ch)
          Sets the charts on the sheet
 void setDrawings(java.util.ArrayList dr, boolean mod)
          The drawings on the sheet
 void write(File outputFile)
          Writes out the MsoDrawing records and Obj records for each image and chart on the sheet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SheetDrawingWriter

public SheetDrawingWriter(WorkbookSettings ws)
Constructor

Parameters:
ws - the workbook settings
Method Detail

setDrawings

public void setDrawings(java.util.ArrayList dr,
                        boolean mod)
The drawings on the sheet

Parameters:
dr - the list of drawings
mod - flag indicating whether the drawings have been tampered with

write

public void write(File outputFile)
           throws java.io.IOException
Writes out the MsoDrawing records and Obj records for each image and chart on the sheet

Parameters:
outputFile -
Throws:
java.io.IOException

setCharts

public void setCharts(Chart[] ch)
Sets the charts on the sheet

Parameters:
ch - the charts

getCharts

public Chart[] getCharts()
Accessor for the charts on the sheet

Returns:
the charts