first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package jxl.write.biff;
import jxl.biff.IntegerHelper;
import jxl.biff.Type;
import jxl.biff.WritableRecordData;
class DefaultRowHeightRecord extends WritableRecordData {
private byte[] data;
private int rowHeight;
private boolean changed;
public DefaultRowHeightRecord(int h, boolean ch) {
super(Type.DEFAULTROWHEIGHT);
this.data = new byte[4];
this.rowHeight = h;
this.changed = ch;
}
public byte[] getData() {
if (this.changed)
this.data[0] = (byte)(this.data[0] | 0x1);
IntegerHelper.getTwoBytes(this.rowHeight, this.data, 2);
return this.data;
}
}