first commit
This commit is contained in:
commit
4d332ef662
27586 changed files with 3281783 additions and 0 deletions
22
rus/WEB-INF/lib/jxl_src/jxl/biff/BuiltInStyle.java
Normal file
22
rus/WEB-INF/lib/jxl_src/jxl/biff/BuiltInStyle.java
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue