jxl.biff
Class WorkspaceInformationRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.biff.WritableRecordData
|
+--jxl.biff.WorkspaceInformationRecord
- All Implemented Interfaces:
- ByteData
- public class WorkspaceInformationRecord
- extends WritableRecordData
A record detailing whether the sheet is protected
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
wsoptions
private int wsoptions
- The options byte
fitToPages
private static final int fitToPages
defaultOptions
private static final int defaultOptions
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
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
- Overrides:
getData
in class WritableRecordData
- Returns:
- the binary data