1 19 20 package jxl.read.biff; 21 22 import common.Logger; 23 24 import jxl.biff.IntegerHelper; 25 import jxl.biff.RecordData; 26 27 30 class PaneRecord extends RecordData 31 { 32 35 private static Logger logger = Logger.getLogger(PaneRecord.class); 36 37 40 private int rowsVisible; 41 44 private int columnsVisible; 45 46 51 public PaneRecord(Record t) 52 { 53 super(t); 54 byte[] data = t.getData(); 55 56 columnsVisible = IntegerHelper.getInt(data[0], data[1]); 57 rowsVisible = IntegerHelper.getInt(data[2], data[3]); 58 } 59 60 65 public final int getRowsVisible() 66 { 67 return rowsVisible; 68 } 69 70 75 public final int getColumnsVisible() 76 { 77 return columnsVisible; 78 } 79 } 80 81 82 83 84 85 86 87 | Popular Tags |