1 19 20 package jxl.write.biff; 21 22 import jxl.biff.Type; 23 import jxl.biff.WritableRecordData; 24 25 29 class BOFRecord extends WritableRecordData 30 { 31 34 private byte[] data; 35 36 private static class WorkbookGlobalsBOF{}; 38 private static class SheetBOF{}; 39 40 public final static WorkbookGlobalsBOF workbookGlobals 41 = new WorkbookGlobalsBOF(); 42 public final static SheetBOF sheet = new SheetBOF(); 43 44 49 public BOFRecord(WorkbookGlobalsBOF dummy) 50 { 51 super(Type.BOF); 52 53 data = new byte[] 56 {(byte) 0x0, 57 (byte) 0x6, 58 (byte) 0x5, (byte) 0x0, (byte) 0xf2, (byte) 0x15, (byte) 0xcc, (byte) 0x07, (byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x6, (byte) 0x0, (byte) 0x0, (byte) 0x0 }; 73 } 74 75 80 public BOFRecord(SheetBOF dummy) 81 { 82 super(Type.BOF); 83 84 data = new byte[] 87 {(byte) 0x0, 88 (byte) 0x6, 89 (byte) 0x10, (byte) 0x0, (byte) 0xf2, (byte) 0x15, (byte) 0xcc, (byte) 0x07, (byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x6, (byte) 0x0, (byte) 0x0, (byte) 0x0 }; 104 } 105 106 111 public byte[] getData() 112 { 113 return data; 114 } 115 } 116 117 | Popular Tags |