/** * A special case which overrides the method in the subclass to get * hold of the raw data * * @return the record */ public Record getRecord() { return super.getRecord(); } }
if (fr.getFormula().getType() == CellType.NUMBER_FORMULA)
if (fr.getFormula().getType() == CellType.NUMBER_FORMULA)
/** * In case the shared formula is not added for any reason, we need * to expose the raw record data , in order to try again * * @return the record data from the base class */ public Record getRecord() { return super.getRecord(); }
if (fr.getFormula().getType() == CellType.NUMBER_FORMULA)
/** * A special case which overrides the method in the subclass to get * hold of the raw data * * @return the record */ public Record getRecord() { return super.getRecord(); } }
if (fr.getFormula().getType() == CellType.NUMBER_FORMULA)
/** * In case the shared formula is not added for any reason, we need * to expose the raw record data , in order to try again * * @return the record data from the base class */ public Record getRecord() { return super.getRecord(); }
/** * Constructs this object from the raw cell data * * @param t the raw cell data * @param fr the formatting records * @param si the sheet containing this cell */ protected CellValue(Record t, FormattingRecords fr, SheetImpl si) { super(t); byte[] data = getRecord().getData(); row = IntegerHelper.getInt(data[0], data[1]); column = IntegerHelper.getInt(data[2], data[3]); xfIndex = IntegerHelper.getInt(data[4], data[5]); sheet = si; formattingRecords = fr; initialized = false; }
/** * Constructs this object from the raw cell data * * @param t the raw cell data * @param fr the formatting records * @param si the sheet containing this cell */ protected CellValue(Record t, FormattingRecords fr, SheetImpl si) { super(t); byte[] data = getRecord().getData(); row = IntegerHelper.getInt(data[0], data[1]); column = IntegerHelper.getInt(data[2], data[3]); xfIndex = IntegerHelper.getInt(data[4], data[5]); sheet = si; formattingRecords = fr; initialized = false; }