jxl.biff.drawing
Class ObjRecord

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

public class ObjRecord
extends WritableRecordData

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


Field Summary
static jxl.biff.drawing.ObjRecord.ObjType BUTTON
           
static jxl.biff.drawing.ObjRecord.ObjType CHART
           
static jxl.biff.drawing.ObjRecord.ObjType CHECKBOX
           
static jxl.biff.drawing.ObjRecord.ObjType COMBOBOX
           
static jxl.biff.drawing.ObjRecord.ObjType DIALOGUEBOX
           
static jxl.biff.drawing.ObjRecord.ObjType EDITBOX
           
static jxl.biff.drawing.ObjRecord.ObjType EXCELNOTE
           
static jxl.biff.drawing.ObjRecord.ObjType FORMCONTROL
           
static jxl.biff.drawing.ObjRecord.ObjType GROUPBOX
           
static jxl.biff.drawing.ObjRecord.ObjType LABEL
           
static jxl.biff.drawing.ObjRecord.ObjType LISTBOX
           
static jxl.biff.drawing.ObjRecord.ObjType MSOFFICEDRAWING
           
static jxl.biff.drawing.ObjRecord.ObjType OPTION
           
static jxl.biff.drawing.ObjRecord.ObjType PICTURE
           
static jxl.biff.drawing.ObjRecord.ObjType TBD
           
static jxl.biff.drawing.ObjRecord.ObjType TBD2
           
static jxl.biff.drawing.ObjRecord.ObjType TEXT
           
static jxl.biff.drawing.ObjRecord.ObjType UNKNOWN
           
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Constructor Summary
ObjRecord(Record t)
          Constructs this object from the raw data
 
Method Summary
 byte[] getData()
          Expose the protected function to the SheetImpl in this package
 Record getRecord()
          Expose the protected function to the SheetImpl in this package
 jxl.biff.drawing.ObjRecord.ObjType getType()
          Accessor for the object type
 
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
 

Field Detail

TBD2

public static final jxl.biff.drawing.ObjRecord.ObjType TBD2

TBD

public static final jxl.biff.drawing.ObjRecord.ObjType TBD

CHART

public static final jxl.biff.drawing.ObjRecord.ObjType CHART

TEXT

public static final jxl.biff.drawing.ObjRecord.ObjType TEXT

BUTTON

public static final jxl.biff.drawing.ObjRecord.ObjType BUTTON

PICTURE

public static final jxl.biff.drawing.ObjRecord.ObjType PICTURE

CHECKBOX

public static final jxl.biff.drawing.ObjRecord.ObjType CHECKBOX

OPTION

public static final jxl.biff.drawing.ObjRecord.ObjType OPTION

EDITBOX

public static final jxl.biff.drawing.ObjRecord.ObjType EDITBOX

LABEL

public static final jxl.biff.drawing.ObjRecord.ObjType LABEL

DIALOGUEBOX

public static final jxl.biff.drawing.ObjRecord.ObjType DIALOGUEBOX

LISTBOX

public static final jxl.biff.drawing.ObjRecord.ObjType LISTBOX

GROUPBOX

public static final jxl.biff.drawing.ObjRecord.ObjType GROUPBOX

COMBOBOX

public static final jxl.biff.drawing.ObjRecord.ObjType COMBOBOX

MSOFFICEDRAWING

public static final jxl.biff.drawing.ObjRecord.ObjType MSOFFICEDRAWING

FORMCONTROL

public static final jxl.biff.drawing.ObjRecord.ObjType FORMCONTROL

EXCELNOTE

public static final jxl.biff.drawing.ObjRecord.ObjType EXCELNOTE

UNKNOWN

public static final jxl.biff.drawing.ObjRecord.ObjType UNKNOWN
Constructor Detail

ObjRecord

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

Parameters:
t - the raw data
Method Detail

getData

public byte[] getData()
Expose the protected function to the SheetImpl in this package

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

getType

public jxl.biff.drawing.ObjRecord.ObjType getType()
Accessor for the object type

Returns:
the object type