Files
HRMS/hrmsEjb/jxl/write/biff/ScenarioProtectRecord.java
2025-07-28 13:56:49 +05:30

24 lines
503 B
Java

package jxl.write.biff;
import jxl.biff.IntegerHelper;
import jxl.biff.Type;
import jxl.biff.WritableRecordData;
class ScenarioProtectRecord extends WritableRecordData {
private boolean protection;
private byte[] data;
public ScenarioProtectRecord(boolean prot) {
super(Type.SCENPROTECT);
this.protection = prot;
this.data = new byte[2];
if (this.protection)
IntegerHelper.getTwoBytes(1, this.data, 0);
}
public byte[] getData() {
return this.data;
}
}