first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
package jxl.write.biff;
import jxl.biff.IntegerHelper;
import jxl.biff.Type;
import jxl.biff.WritableRecordData;
class CalcModeRecord extends WritableRecordData {
private CalcMode calculationMode;
private static class CalcMode {
int value;
public CalcMode(int m) {
this.value = m;
}
}
static CalcMode manual = new CalcMode(0);
static CalcMode automatic = new CalcMode(1);
static CalcMode automaticNoTables = new CalcMode(-1);
public CalcModeRecord(CalcMode cm) {
super(Type.CALCMODE);
this.calculationMode = cm;
}
public byte[] getData() {
byte[] data = new byte[2];
IntegerHelper.getTwoBytes(this.calculationMode.value, data, 0);
return data;
}
}