/** * Gets the position of the current record in the biff file * * @return the position */ public int getPos() { return file.getPos() - record.getLength() - 4; } }
/** * Gets the length of the data portion of this record * Used to adjust when reading sheets which contain just a chart * @return the length of the data portion of this record */ int getLength() { return getRecord().getLength(); }
/** * Gets the position of the current record in the biff file * * @return the position */ public int getPos() { return file.getPos() - record.getLength() - 4; } }
/** * Gets the length of the data portion of this record * Used to adjust when reading sheets which contain just a chart * @return the length of the data portion of this record */ int getLength() { return getRecord().getLength(); }
/** * Constructs the blank records from the raw data * * @param t the raw data */ public MulBlankRecord(Record t) { super(t); byte[] data = getRecord().getData(); int length = getRecord().getLength(); row = IntegerHelper.getInt(data[0], data[1]); colFirst = IntegerHelper.getInt(data[2], data[3]); colLast = IntegerHelper.getInt(data[length - 2], data[length - 1]); numblanks = colLast - colFirst + 1; xfIndices = new int[numblanks]; readBlanks(data); }
/** * Constructs the blank records from the raw data * * @param t the raw data */ public MulBlankRecord(Record t) { super(t); byte[] data = getRecord().getData(); int length = getRecord().getLength(); row = IntegerHelper.getInt(data[0], data[1]); colFirst = IntegerHelper.getInt(data[2], data[3]); colLast = IntegerHelper.getInt(data[length - 2], data[length - 1]); numblanks = colLast - colFirst + 1; xfIndices = new int[numblanks]; readBlanks(data); }
/** * Constructs the rk numbers from the raw data * * @param t the raw data */ public MulRKRecord(Record t) { super(t); byte[] data = getRecord().getData(); int length = getRecord().getLength(); row = IntegerHelper.getInt(data[0], data[1]); colFirst = IntegerHelper.getInt(data[2], data[3]); colLast = IntegerHelper.getInt(data[length - 2], data[length - 1]); numrks = colLast - colFirst + 1; rknumbers = new int[numrks]; xfIndices = new int[numrks]; readRks(data); }
/** * Constructs the rk numbers from the raw data * * @param t the raw data */ public MulRKRecord(Record t) { super(t); byte[] data = getRecord().getData(); int length = getRecord().getLength(); row = IntegerHelper.getInt(data[0], data[1]); colFirst = IntegerHelper.getInt(data[2], data[3]); colLast = IntegerHelper.getInt(data[length - 2], data[length - 1]); numrks = colLast - colFirst + 1; rknumbers = new int[numrks]; xfIndices = new int[numrks]; readRks(data); }