24 lines
486 B
Java
24 lines
486 B
Java
package jxl.write.biff;
|
|
|
|
import jxl.biff.IntegerHelper;
|
|
import jxl.biff.Type;
|
|
import jxl.biff.WritableRecordData;
|
|
|
|
class Prot4RevRecord extends WritableRecordData {
|
|
private boolean protection;
|
|
|
|
private byte[] data;
|
|
|
|
public Prot4RevRecord(boolean prot) {
|
|
super(Type.PROT4REV);
|
|
this.protection = prot;
|
|
this.data = new byte[2];
|
|
if (this.protection)
|
|
IntegerHelper.getTwoBytes(1, this.data, 0);
|
|
}
|
|
|
|
public byte[] getData() {
|
|
return this.data;
|
|
}
|
|
}
|