jxl.write.biff
Class StyleXFRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.biff.XFRecord
                    |
                    +--jxl.write.biff.StyleXFRecord
All Implemented Interfaces:
ByteData, CellFormat

public class StyleXFRecord
extends XFRecord

A style XF Record


Inner classes inherited from class jxl.biff.XFRecord
XFRecord.BiffType
 
Fields inherited from class jxl.biff.XFRecord
align, backgroundColour, biff7, biff8, biffType, bottomBorder, copied, date, dateFormat, dateFormats, excelFormat, font, fontIndex, format, formatIndex, formatInfoInitialized, formattingRecords, hidden, initialized, javaDateFormats, javaNumberFormats, leftBorder, locked, number, numberFormat, numberFormats, options, orientation, pattern, read, rightBorder, topBorder, valign, wrap, xfIndex
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
StyleXFRecord(FontRecord fnt, DisplayFormat form)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the binary data for output to file
 void setCellOptions(int opt)
          Sets the raw cell options.
 
Methods inherited from class jxl.biff.XFRecord
equals, getAlignment, getBackgroundColour, getBorder, getDateFormat, getFont, getFormat, getFormatRecord, getHidden, getLocked, getNumberFormat, getOrientation, getPattern, getVerticalAlignment, getWrap, getXFIndex, hasBorders, initialize, initializeFormatInformation, isDate, isInitialized, isNumber, isRead, setLocked, setXFAlignment, setXFBackground, setXFBorder, setXFCellOptions, setXFOrientation, setXFVerticalAlignment, setXFWrap, uninitialize
 
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, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

StyleXFRecord

public StyleXFRecord(FontRecord fnt,
                     DisplayFormat form)
Constructor
Parameters:
fnt - the font for this style
form - the format of this style
Method Detail

getData

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

setCellOptions

public final void setCellOptions(int opt)
Sets the raw cell options. Called by WritableFormattingRecord when setting the built in cell formats
Parameters:
opt - the cell options