Пример #1
0
 /**
  * Constructor for generating a sheet BOF record
  *
  * @param dummy - a dummy argument for overloading purposes
  */
 public BOFRecord(SheetBOF dummy)
     : base(Type.BOF)
 {
     // Create the data as biff 8 format with a substream type of
     // worksheet
     data = new byte[]
     {
         (byte)0x0,
         (byte)0x6,
         (byte)0x10,                         // 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
     };
 }
Пример #2
0
 /**
  * Constructor for generating a sheet BOF record
  *
  * @param dummy - a dummy argument for overloading purposes
  */
 public BOFRecord(SheetBOF dummy)
     : base(Type.BOF)
 {
     // Create the data as biff 8 format with a substream type of
     // worksheet
     data = new byte[]
             {
             (byte) 0x0,
             (byte) 0x6,
             (byte) 0x10, // 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
             };
 }