1 19 20 package jxl.biff.drawing; 21 22 import common.Logger; 23 import jxl.biff.WritableRecordData; 24 import jxl.biff.Type; 25 import jxl.read.biff.Record; 26 27 31 public class MsoDrawingRecord extends WritableRecordData 32 { 33 36 private static Logger logger = Logger.getLogger(MsoDrawingRecord.class); 37 38 42 private boolean first; 43 46 private byte[] data; 47 48 53 public MsoDrawingRecord(Record t) 54 { 55 super(t); 56 data = getRecord().getData(); 57 first = false; 58 } 59 60 65 public MsoDrawingRecord(byte[] d) 66 { 67 super(Type.MSODRAWING); 68 data = d; 69 first = false; 70 } 71 72 77 public byte[] getData() 78 { 79 return data; 80 } 81 82 87 public Record getRecord() 88 { 89 return super.getRecord(); 90 } 91 92 95 public void setFirst() 96 { 97 first = true; 98 } 99 100 107 public boolean isFirst() 108 { 109 return first; 110 } 111 } 112 113 114 115 116 | Popular Tags |