first commit
This commit is contained in:
22
hrmsEjb/jxl/write/biff/HorizontalCentreRecord.java
Normal file
22
hrmsEjb/jxl/write/biff/HorizontalCentreRecord.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
|
||||
class HorizontalCentreRecord extends WritableRecordData {
|
||||
private byte[] data;
|
||||
|
||||
private boolean centre;
|
||||
|
||||
public HorizontalCentreRecord(boolean ce) {
|
||||
super(Type.HCENTER);
|
||||
this.centre = ce;
|
||||
this.data = new byte[2];
|
||||
if (this.centre)
|
||||
this.data[0] = 1;
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
return this.data;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user