first commit
This commit is contained in:
22
hrmsEjb/jxl/read/biff/CalcModeRecord.java
Normal file
22
hrmsEjb/jxl/read/biff/CalcModeRecord.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package jxl.read.biff;
|
||||
|
||||
import common.Logger;
|
||||
import jxl.biff.IntegerHelper;
|
||||
import jxl.biff.RecordData;
|
||||
|
||||
class CalcModeRecord extends RecordData {
|
||||
private static Logger logger = Logger.getLogger(CalcModeRecord.class);
|
||||
|
||||
private boolean automatic;
|
||||
|
||||
public CalcModeRecord(Record t) {
|
||||
super(t);
|
||||
byte[] data = t.getData();
|
||||
int mode = IntegerHelper.getInt(data[0], data[1]);
|
||||
this.automatic = (mode == 1);
|
||||
}
|
||||
|
||||
public boolean isAutomatic() {
|
||||
return this.automatic;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user