/** * Constructs this object from the raw data * * @param t the raw data * @param fr the formatting records * @param si the sheet */ public BooleanRecord(Record t, FormattingRecords fr, SheetImpl si) { super(t, fr, si); error = false; value = false; byte[] data = getRecord().getData(); error = (data[7] == 1); if (!error) { value = data[6] == 1 ? true : false; } }
/** * Constructs this object from the raw data * * @param t the raw data * @param fr the formatting records * @param si the sheet */ public BooleanRecord(Record t, FormattingRecords fr, SheetImpl si) { super(t, fr, si); error = false; value = false; byte[] data = getRecord().getData(); error = (data[7] == 1); if (!error) { value = data[6] == 1 ? true : false; } }
ErrorRecord er = new ErrorRecord(br.getRecord(), formattingRecords, sheet); addCell(er);
ErrorRecord er = new ErrorRecord(br.getRecord(), formattingRecords, sheet); addCell(er);