first commit
This commit is contained in:
30
hrmsEjb/jxl/write/biff/GuttersRecord.java
Normal file
30
hrmsEjb/jxl/write/biff/GuttersRecord.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import jxl.biff.IntegerHelper;
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
|
||||
class GuttersRecord extends WritableRecordData {
|
||||
private byte[] data;
|
||||
|
||||
private int rowGutter;
|
||||
|
||||
private int colGutter;
|
||||
|
||||
private int maxRowOutline;
|
||||
|
||||
private int maxColOutline;
|
||||
|
||||
public GuttersRecord() {
|
||||
super(Type.GUTS);
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
this.data = new byte[8];
|
||||
IntegerHelper.getTwoBytes(this.rowGutter, this.data, 0);
|
||||
IntegerHelper.getTwoBytes(this.colGutter, this.data, 2);
|
||||
IntegerHelper.getTwoBytes(this.maxRowOutline, this.data, 4);
|
||||
IntegerHelper.getTwoBytes(this.maxColOutline, this.data, 6);
|
||||
return this.data;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user