jxl.write.biff
Class HeaderRecord

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

class HeaderRecord
extends WritableRecordData

Record which specifies a print header for a work sheet


Field Summary
private  byte[] data
          The binary data
private  java.lang.String header
          The print header string
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
HeaderRecord(HeaderRecord hr)
          Consructor invoked when copying a spreadsheet
HeaderRecord(HeaderRecord hr)
          Consructor invoked when copying a sheets
HeaderRecord(java.lang.String l, java.lang.String c, java.lang.String r)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the binary data for output to file
 
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

data

private byte[] data
The binary data

header

private java.lang.String header
The print header string
Constructor Detail

HeaderRecord

public HeaderRecord(java.lang.String l,
                    java.lang.String c,
                    java.lang.String r)
Constructor
Parameters:
l - the print header to print on the left side
c - the print header to print in the centre
r - the print header to print on the right hand side

HeaderRecord

public HeaderRecord(HeaderRecord hr)
Consructor invoked when copying a spreadsheet
Parameters:
hr - the read header record

HeaderRecord

public HeaderRecord(HeaderRecord hr)
Consructor invoked when copying a sheets
Parameters:
hr - the read header record
Method Detail

getData

public byte[] getData()
Gets the binary data for output to file
Overrides:
getData in class WritableRecordData
Returns:
the binary data