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 30 class PrintGridLinesRecord extends WritableRecordData 31 { 32 35 private byte[] data; 36 39 private boolean printGridLines; 40 41 46 public PrintGridLinesRecord(boolean pgl) 47 { 48 super(Type.PRINTGRIDLINES); 49 printGridLines = pgl; 50 51 data = new byte[2]; 52 53 if (printGridLines) 54 { 55 data[0] = 1; 56 } 57 } 58 59 64 public byte[] getData() 65 { 66 return data; 67 } 68 } 69 70 71 | Popular Tags |