jxl.biff.drawing
Class MsoDrawingRecord

java.lang.Object
  extended byjxl.biff.RecordData
      extended byjxl.biff.WritableRecordData
          extended byjxl.biff.drawing.MsoDrawingRecord
All Implemented Interfaces:
ByteData

public class MsoDrawingRecord
extends WritableRecordData

A record which merely holds the MSODRAWING data. Used when copying files which contain images


Field Summary
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Constructor Summary
MsoDrawingRecord(byte[] d)
          Constructor
MsoDrawingRecord(Record t)
          Constructs this object from the raw data
 
Method Summary
 byte[] getData()
          Expose the protected function
 Record getRecord()
          Expose the protected function to the SheetImpl in this package
 boolean isFirst()
          Accessor for the first drawing on the sheet.
 void setFirst()
          Sets the flag to indicate that this is the first drawing on the sheet
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsoDrawingRecord

public MsoDrawingRecord(Record t)
Constructs this object from the raw data

Parameters:
t - the raw data

MsoDrawingRecord

public MsoDrawingRecord(byte[] d)
Constructor

Parameters:
d - the drawing data
Method Detail

getData

public byte[] getData()
Expose the protected function

Specified by:
getData in class WritableRecordData
Returns:
the raw record data

getRecord

public Record getRecord()
Expose the protected function to the SheetImpl in this package

Overrides:
getRecord in class RecordData
Returns:
the raw record data

setFirst

public void setFirst()
Sets the flag to indicate that this is the first drawing on the sheet


isFirst

public boolean isFirst()
Accessor for the first drawing on the sheet. This is used when copying unmodified sheets to indicate that this drawing contains the first time Escher gubbins

Returns:
TRUE if this MSORecord is the first drawing on the sheet