first commit
This commit is contained in:
18
hrmsEjb/jxl/read/biff/CentreRecord.java
Normal file
18
hrmsEjb/jxl/read/biff/CentreRecord.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package jxl.read.biff;
|
||||
|
||||
import jxl.biff.IntegerHelper;
|
||||
import jxl.biff.RecordData;
|
||||
|
||||
class CentreRecord extends RecordData {
|
||||
private boolean centre;
|
||||
|
||||
public CentreRecord(Record t) {
|
||||
super(t);
|
||||
byte[] data = getRecord().getData();
|
||||
this.centre = (IntegerHelper.getInt(data[0], data[1]) != 0);
|
||||
}
|
||||
|
||||
public boolean isCentre() {
|
||||
return this.centre;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user