/** * Constructs the dimensions from the raw data * * @param t the raw data * @param biff7 an indicator to initialise this record for biff 7 format */ public DimensionRecord(Record t, Biff7 biff7) { super(t); byte[] data = t.getData(); read10ByteData(data); }
/** * Constructs the dimensions from the raw data * * @param t the raw data * @param biff7 an indicator to initialise this record for biff 7 format */ public DimensionRecord(Record t, Biff7 biff7) { super(t); byte[] data = t.getData(); read10ByteData(data); }
/** * Constructs the dimensions from the raw data * * @param t the raw data */ public DimensionRecord(Record t) { super(t); byte[] data = t.getData(); // Sometimes, if the spreadsheet is being generated by dodgy VB modules, // even though the excel format is biff8, the dimension record is // generated in the old biff 7 format. This horrible if construct // handles that eventuality if (data.length == 10) { read10ByteData(data); } else { read14ByteData(data); } }
/** * Constructs the dimensions from the raw data * * @param t the raw data */ public DimensionRecord(Record t) { super(t); byte[] data = t.getData(); // Sometimes, if the spreadsheet is being generated by dodgy VB modules, // even though the excel format is biff8, the dimension record is // generated in the old biff 7 format. This horrible if construct // handles that eventuality if (data.length == 10) { read10ByteData(data); } else { read14ByteData(data); } }