1 19 20 package jxl.write.biff; 21 22 import jxl.biff.Type; 23 import jxl.biff.IntegerHelper; 24 import jxl.biff.StringHelper; 25 import jxl.biff.WritableRecordData; 26 27 31 class GuttersRecord extends WritableRecordData 32 { 33 36 private byte[] data; 37 40 private int rowGutter; 41 44 private int colGutter; 45 48 private int maxRowOutline; 49 52 private int maxColOutline; 53 54 57 public GuttersRecord() 58 { 59 super(Type.GUTS); 60 } 61 62 67 public byte[] getData() 68 { 69 data = new byte[8]; 70 IntegerHelper.getTwoBytes(rowGutter, data, 0); 71 IntegerHelper.getTwoBytes(colGutter, data, 2); 72 IntegerHelper.getTwoBytes(maxRowOutline, data, 4); 73 IntegerHelper.getTwoBytes(maxColOutline, data, 6); 74 return data; 75 } 76 } 77 78 79 | Popular Tags |