first commit
This commit is contained in:
19
hrmsEjb/jxl/read/biff/MarginRecord.java
Normal file
19
hrmsEjb/jxl/read/biff/MarginRecord.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package jxl.read.biff;
|
||||
|
||||
import jxl.biff.DoubleHelper;
|
||||
import jxl.biff.RecordData;
|
||||
import jxl.biff.Type;
|
||||
|
||||
abstract class MarginRecord extends RecordData {
|
||||
private double margin;
|
||||
|
||||
protected MarginRecord(Type t, Record r) {
|
||||
super(t);
|
||||
byte[] data = r.getData();
|
||||
this.margin = DoubleHelper.getIEEEDouble(data, 0);
|
||||
}
|
||||
|
||||
double getMargin() {
|
||||
return this.margin;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user