Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi » hssf » record » [javadoc | source]
org.apache.cocoon.poi.hssf.record
public class: BOFRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.BOFRecord
Title: Beginning Of File

Description: Somewhat of a misnomer, its used for the beginning of a set of records that have a particular pupose or subject. Used in sheets and workbooks.

Copyright: Copyright (c) 2001 SuperLinkSoftware, Inc.

REFERENCE: PG 289 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

Field Summary
public static final  short sid    for BIFF8 files the BOF is 0x809. For earlier versions it was 0x09 or 0x(biffversion)09 
public static final  short VERSION    suggested default (0x06 - BIFF8) 
public static final  short BUILD    suggested default 0x10d3 
public static final  short BUILD_YEAR    suggested default 0x07CC (1996) 
public static final  short HISTORY_MASK    suggested default for a normal sheet (0x41) 
public static final  short TYPE_WORKBOOK     
public static final  short TYPE_VB_MODULE     
public static final  short TYPE_WORKSHEET     
public static final  short TYPE_CHART     
public static final  short TYPE_EXCEL_4_MACRO     
public static final  short TYPE_WORKSPACE_FILE     
Fields inherited from org.apache.cocoon.poi.hssf.record.Record:
sid
Constructor:
 public BOFRecord() 
 public BOFRecord(short id,
    short size,
    byte[] data) 
 public BOFRecord(short id,
    short size,
    byte[] data,
    int offset) 
Method from org.apache.cocoon.poi.hssf.record.BOFRecord Summary:
fillFields,   getBuild,   getBuildYear,   getHistoryBitMask,   getRequiredVersion,   getSid,   getType,   getVersion,   serialize,   setBuild,   setBuildYear,   setHistoryBitMask,   setRequiredVersion,   setType,   setVersion,   toString,   validateSid
Methods from org.apache.cocoon.poi.hssf.record.Record:
fillFields,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   processContinueRecord,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.hssf.record.BOFRecord Detail:
 protected  void fillFields(byte[] data,
    short size,
    int offset) 
 public short getBuild() 
    get the build that wrote this file
 public short getBuildYear() 
    Year of the build that wrote this file
 public int getHistoryBitMask() 
    get the history bit mask (not very useful)
 public int getRequiredVersion() 
    get the minimum version required to read this file
 public short getSid() 
 public short getType() 
    type of object this marks
 public short getVersion() 
    Version number - for BIFF8 should be 0x06
 public byte[] serialize() 
 public  void setBuild(short build) 
    build that wrote this file
 public  void setBuildYear(short year) 
    Year of the build that wrote this file
 public  void setHistoryBitMask(int bitmask) 
    set the history bit mask (not very useful)
 public  void setRequiredVersion(int version) 
    set the minimum version required to read this file
 public  void setType(short type) 
    type of object this marks
 public  void setVersion(short version) 
    Version number - for BIFF8 should be 0x06
 public String toString() 
 protected  void validateSid(short id)