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,50 @@
package jxl.read.biff;
import common.Logger;
import jxl.biff.IntegerHelper;
import jxl.biff.RecordData;
class Window2Record extends RecordData {
private static Logger logger = Logger.getLogger(Window2Record.class);
private boolean selected;
private boolean showGridLines;
private boolean displayZeroValues;
private boolean frozenPanes;
private boolean frozenNotSplit;
public Window2Record(Record t) {
super(t);
byte[] data = t.getData();
int options = IntegerHelper.getInt(data[0], data[1]);
this.selected = ((options & 0x200) != 0);
this.showGridLines = ((options & 0x2) != 0);
this.frozenPanes = ((options & 0x8) != 0);
this.displayZeroValues = ((options & 0x10) != 0);
this.frozenNotSplit = ((options & 0x100) != 0);
}
public boolean isSelected() {
return this.selected;
}
public boolean getShowGridLines() {
return this.showGridLines;
}
public boolean getDisplayZeroValues() {
return this.displayZeroValues;
}
public boolean getFrozen() {
return this.frozenPanes;
}
public boolean getFrozenNotSplit() {
return this.frozenNotSplit;
}
}