Home » JCraft » jxl » write » biff » [javadoc | source]
class: SupbookRecord [javadoc | source]

All Implemented Interfaces:

Stores the supporting workbook information. For files written by JExcelApi this will only reference internal sheets
Field Summary
public static final  SupbookType INTERNAL     
public static final  SupbookType EXTERNAL     
public static final  SupbookType ADDIN     
public static final  SupbookType LINK     
public static final  SupbookType UNKNOWN     
Fields inherited from jxl.biff.WritableRecordData:
 public SupbookRecord() 
 public SupbookRecord(int sheets,
    WorkbookSettings ws) 
    Constructor for internal sheets
 public SupbookRecord(String fn,
    WorkbookSettings ws) 
    Constructor for external sheets
    fn - the filename of the external supbook
    ws - the workbook settings
 public SupbookRecord(SupbookRecord sr,
    WorkbookSettings ws) 
    Constructor used when copying from an external workbook
Method from jxl.write.biff.SupbookRecord Summary:
adjustInternal,   getData,   getFileName,   getNumberOfSheets,   getSheetIndex,   getSheetName,   getType
Methods from jxl.biff.WritableRecordData:
getBytes,   getData
Methods from jxl.biff.RecordData:
getCode,   getRecord
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.write.biff.SupbookRecord Detail:
  void adjustInternal(int sheets) 
    Adjust the number of internal sheets. Called by WritableSheet when a sheet is added or or removed to the workbook
 public byte[] getData() 
    The binary data to be written out
 public String getFileName() 
    Accessor for the file name
 public int getNumberOfSheets() 
    Gets the number of sheets. This will only be non-zero for internal and external supbooks
 public int getSheetIndex(String s) 
    Adds the worksheet name to this supbook
 public String getSheetName(int s) 
    Accessor for the sheet name
 public SupbookType getType() 
    Gets the type of this supbook record