jxl.biff
Class WorkspaceInformationRecord

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

public class WorkspaceInformationRecord
extends WritableRecordData

A record detailing whether the sheet is protected


Field Summary
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Constructor Summary
WorkspaceInformationRecord()
          Constructs this object from the raw data
WorkspaceInformationRecord(Record t)
          Constructs this object from the raw data
 
Method Summary
 byte[] getData()
          Gets the binary data for output to file
 boolean getFitToPages()
          Gets the fit to pages flag
 void setFitToPages(boolean b)
          Sets the fit to page flag
 
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, toString, wait, wait, wait
 

Constructor Detail

WorkspaceInformationRecord

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

Parameters:
t - the raw data

WorkspaceInformationRecord

public WorkspaceInformationRecord()
Constructs this object from the raw data

Method Detail

getFitToPages

public boolean getFitToPages()
Gets the fit to pages flag

Returns:
TRUE if fit to pages is set

setFitToPages

public void setFitToPages(boolean b)
Sets the fit to page flag

Parameters:
b - fit to page indicator

getData

public byte[] getData()
Gets the binary data for output to file

Specified by:
getData in class WritableRecordData
Returns:
the binary data