1 19 20 package jxl.write.biff; 21 22 import common.Assert; 23 24 import jxl.biff.Type; 25 import jxl.biff.IntegerHelper; 26 import jxl.biff.WritableRecordData; 27 28 31 class HideobjRecord extends WritableRecordData 32 { 33 36 private boolean hideAll; 37 40 private byte[] data; 41 42 47 public HideobjRecord(boolean hide) 48 { 49 super(Type.HIDEOBJ); 50 51 hideAll = hide; 52 data = new byte[2]; 53 54 if (hideAll) 55 { 56 IntegerHelper.getTwoBytes(2, data, 0); 57 } 58 } 59 60 65 public byte[] getData() 66 { 67 return data; 68 } 69 } 70 | Popular Tags |