1 19 20 package jxl.read.biff; 21 22 import jxl.biff.IntegerHelper; 23 import jxl.biff.RecordData; 24 25 28 class DefaultRowHeightRecord extends RecordData 29 { 30 33 private int height; 34 35 40 public DefaultRowHeightRecord(Record t) 41 { 42 super(t); 43 byte[] data = t.getData(); 44 45 if (data.length > 2) 46 { 47 height = IntegerHelper.getInt(data[2], data[3]); 48 } 49 } 50 51 56 public int getHeight() 57 { 58 return height; 59 } 60 } 61 62 63 64 65 66 67 68 | Popular Tags |