first commit
This commit is contained in:
42
hrmsEjb/jxl/biff/drawing/MsoDrawingRecord.java
Normal file
42
hrmsEjb/jxl/biff/drawing/MsoDrawingRecord.java
Normal file
@@ -0,0 +1,42 @@
|
||||
package jxl.biff.drawing;
|
||||
|
||||
import common.Logger;
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
import jxl.read.biff.Record;
|
||||
|
||||
public class MsoDrawingRecord extends WritableRecordData {
|
||||
private static Logger logger = Logger.getLogger(MsoDrawingRecord.class);
|
||||
|
||||
private boolean first;
|
||||
|
||||
private byte[] data;
|
||||
|
||||
public MsoDrawingRecord(Record t) {
|
||||
super(t);
|
||||
this.data = getRecord().getData();
|
||||
this.first = false;
|
||||
}
|
||||
|
||||
public MsoDrawingRecord(byte[] d) {
|
||||
super(Type.MSODRAWING);
|
||||
this.data = d;
|
||||
this.first = false;
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public Record getRecord() {
|
||||
return super.getRecord();
|
||||
}
|
||||
|
||||
public void setFirst() {
|
||||
this.first = true;
|
||||
}
|
||||
|
||||
public boolean isFirst() {
|
||||
return this.first;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user