1 19 20 package jxl.write.biff; 21 22 import jxl.biff.Type; 23 import jxl.biff.IntegerHelper; 24 import jxl.biff.WritableRecordData; 25 26 29 class Prot4RevRecord extends WritableRecordData 30 { 31 34 private boolean protection; 35 38 private byte[] data; 39 40 45 public Prot4RevRecord(boolean prot) 46 { 47 super(Type.PROT4REV); 48 49 protection = prot; 50 51 data = new byte[2]; 53 54 if (protection) 55 { 56 IntegerHelper.getTwoBytes(1, data, 0); 57 } 58 } 59 60 65 public byte[] getData() 66 { 67 return data; 68 } 69 } 70 | Popular Tags |