jxl.write.biff
Class CalcModeRecord

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

class CalcModeRecord
extends WritableRecordData

The calculation mode for the workbook, as set from the Options dialog box


Inner Class Summary
private static class CalcModeRecord.CalcMode
           
 
Field Summary
(package private) static CalcModeRecord.CalcMode automatic
          Automatic calculation
(package private) static CalcModeRecord.CalcMode automaticNoTables
          Automatic calculation, except tables
private  CalcModeRecord.CalcMode calculationMode
          The calculation mode (manual, automatic)
(package private) static CalcModeRecord.CalcMode manual
          Manual calculation
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
CalcModeRecord(CalcModeRecord.CalcMode cm)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the binary to data to write to the output 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

calculationMode

private CalcModeRecord.CalcMode calculationMode
The calculation mode (manual, automatic)

manual

static CalcModeRecord.CalcMode manual
Manual calculation

automatic

static CalcModeRecord.CalcMode automatic
Automatic calculation

automaticNoTables

static CalcModeRecord.CalcMode automaticNoTables
Automatic calculation, except tables
Constructor Detail

CalcModeRecord

public CalcModeRecord(CalcModeRecord.CalcMode cm)
Constructor
Parameters:
cm - the calculation mode
Method Detail

getData

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