Esempio n. 1
0
 /**
  * Constructor for generating a workbook globals BOF record
  *
  * @param dummy - a dummy argument for overloading purposes
  */
 public BOFRecord(WorkbookGlobalsBOF dummy)
     : base(Type.BOF)
 {
     // Create the data as biff 8 format with a substream type of
     // workbook globals
     data = new byte[]
     {
         (byte)0x0,
         (byte)0x6,
         (byte)0x5,                  // substream type
         (byte)0x0,                  // substream type
         (byte)0xf2,                 // rupBuild
         (byte)0x15,                 // rupBuild
         (byte)0xcc,                 // rupYear
         (byte)0x07,                 // rupYear
         (byte)0x0,                  // bfh
         (byte)0x0,                  // bfh
         (byte)0x0,                  // bfh
         (byte)0x0,                  // bfh
         (byte)0x6,                  // sfo
         (byte)0x0,                  // sfo,
         (byte)0x0,                  // sfo
         (byte)0x0                   // sfo
     };
 }
Esempio n. 2
0
 /**
  * Constructor for generating a workbook globals BOF record
  *
  * @param dummy - a dummy argument for overloading purposes
  */
 public BOFRecord(WorkbookGlobalsBOF dummy)
     : base(Type.BOF)
 {
     // Create the data as biff 8 format with a substream type of
     // workbook globals
     data = new byte[]
         {
         (byte) 0x0,
         (byte) 0x6,
         (byte) 0x5, // substream type
         (byte) 0x0, // substream type
         (byte) 0xf2, // rupBuild
         (byte) 0x15, // rupBuild
         (byte) 0xcc, // rupYear
         (byte) 0x07, // rupYear
         (byte) 0x0, // bfh
         (byte) 0x0, // bfh
         (byte) 0x0, // bfh
         (byte) 0x0, // bfh
         (byte) 0x6, // sfo
         (byte) 0x0, // sfo,
         (byte) 0x0, // sfo
         (byte) 0x0  // sfo
         };
 }