jxl.biff
Class BuiltInStyle

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.biff.BuiltInStyle
All Implemented Interfaces:
ByteData

class BuiltInStyle
extends WritableRecordData

Represents a built in, rather than a user defined, style. This class is used by the FormattingRecords class when writing out the hard* coded styles


Field Summary
private  int styleNumber
          The reference number of this style
private  int xfIndex
          The XF index of this style
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
BuiltInStyle(int xfind, int sn)
          Constructor
 
Method Summary
 byte[] getData()
          Abstract method implementation to get the raw byte data ready to write out
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

xfIndex

private int xfIndex
The XF index of this style

styleNumber

private int styleNumber
The reference number of this style
Constructor Detail

BuiltInStyle

public BuiltInStyle(int xfind,
                    int sn)
Constructor
Parameters:
xfind - the xf index of this style
sn - the style number of this style
Method Detail

getData

public byte[] getData()
Abstract method implementation to get the raw byte data ready to write out
Overrides:
getData in class WritableRecordData
Returns:
The byte data