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,43 @@
package jxl.read.biff;
import jxl.WorkbookSettings;
import jxl.biff.IntegerHelper;
import jxl.biff.RecordData;
import jxl.biff.StringHelper;
public class FooterRecord extends RecordData {
private String footer;
private static class Biff7 {
private Biff7() {}
}
public static Biff7 biff7 = new Biff7();
FooterRecord(Record t, WorkbookSettings ws) {
super(t);
byte[] data = getRecord().getData();
if (data.length == 0)
return;
int chars = IntegerHelper.getInt(data[0], data[1]);
boolean unicode = (data[2] == 1);
if (unicode) {
this.footer = StringHelper.getUnicodeString(data, chars, 3);
} else {
this.footer = StringHelper.getString(data, chars, 3, ws);
}
}
FooterRecord(Record t, WorkbookSettings ws, Biff7 dummy) {
super(t);
byte[] data = getRecord().getData();
if (data.length == 0)
return;
int chars = data[0];
this.footer = StringHelper.getString(data, chars, 1, ws);
}
String getFooter() {
return this.footer;
}
}