Search in sources :

Example 1 with RowBlocksReader

use of org.apache.poi.hssf.model.RowBlocksReader in project poi by apache.

the class TestValueRecordsAggregate method constructValueRecord.

private void constructValueRecord(List<Record> records) {
    RowBlocksReader rbr = new RowBlocksReader(new RecordStream(records, 0));
    SharedValueManager sfrh = rbr.getSharedFormulaManager();
    RecordStream rs = rbr.getPlainRecordStream();
    while (rs.hasNext()) {
        Record rec = rs.getNext();
        valueRecord.construct((CellValueRecordInterface) rec, rs, sfrh);
    }
}
Also used : RecordStream(org.apache.poi.hssf.model.RecordStream) RowBlocksReader(org.apache.poi.hssf.model.RowBlocksReader) Record(org.apache.poi.hssf.record.Record) MulBlankRecord(org.apache.poi.hssf.record.MulBlankRecord) SharedFormulaRecord(org.apache.poi.hssf.record.SharedFormulaRecord) WindowTwoRecord(org.apache.poi.hssf.record.WindowTwoRecord) BlankRecord(org.apache.poi.hssf.record.BlankRecord) FormulaRecord(org.apache.poi.hssf.record.FormulaRecord)

Aggregations

RecordStream (org.apache.poi.hssf.model.RecordStream)1 RowBlocksReader (org.apache.poi.hssf.model.RowBlocksReader)1 BlankRecord (org.apache.poi.hssf.record.BlankRecord)1 FormulaRecord (org.apache.poi.hssf.record.FormulaRecord)1 MulBlankRecord (org.apache.poi.hssf.record.MulBlankRecord)1 Record (org.apache.poi.hssf.record.Record)1 SharedFormulaRecord (org.apache.poi.hssf.record.SharedFormulaRecord)1 WindowTwoRecord (org.apache.poi.hssf.record.WindowTwoRecord)1