Files
HRMS/hrmsEjb/src/jxl/biff/BuiltInStyle.java
2025-07-28 16:44:54 +05:30

23 lines
479 B
Java

package jxl.biff;
class BuiltInStyle extends WritableRecordData {
private int xfIndex;
private int styleNumber;
public BuiltInStyle(int xfind, int sn) {
super(Type.STYLE);
this.xfIndex = xfind;
this.styleNumber = sn;
}
public byte[] getData() {
byte[] data = new byte[4];
IntegerHelper.getTwoBytes(this.xfIndex, data, 0);
data[1] = (byte)(data[1] | 0x80);
data[2] = (byte)this.styleNumber;
data[3] = -1;
return data;
}
}