23 lines
428 B
Java
23 lines
428 B
Java
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;
|
|
}
|
|
}
|