/** * reads only the range (1 {@link CellRangeAddress8Bit}) from the stream * * @param in The interface for reading the record data. */ public SharedValueRecordBase(LittleEndianInput in) { _range = new CellRangeAddress8Bit(in); }
private void resetField6() { // this is necessary in Excel to actually make Workbook.setActiveCell() take effect field_6_refs = new CellRangeAddress8Bit[] { new CellRangeAddress8Bit(field_2_row_active_cell, field_2_row_active_cell, field_3_col_active_cell, field_3_col_active_cell), }; }
public SharedFormulaRecord() { this(new CellRangeAddress8Bit(0,0,0,0)); } private SharedFormulaRecord(CellRangeAddress8Bit range) {
/** * Creates a default selection record (cell A1, in pane ID 3) * * @param activeCellRow the active cells row index * @param activeCellCol the active cells column index */ public SelectionRecord(int activeCellRow, int activeCellCol) { field_1_pane = 3; // pane id 3 is always present. see OOO sec 5.75 'PANE' field_2_row_active_cell = activeCellRow; field_3_col_active_cell = activeCellCol; field_4_active_cell_ref_index = 0; field_6_refs = new CellRangeAddress8Bit[] { new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol), }; }
protected SharedValueRecordBase() { this(new CellRangeAddress8Bit(0, 0, 0, 0)); }
public void setArrayFormula(CellRangeAddress r, Ptg[] ptgs) { ArrayRecord arr = new ArrayRecord(Formula.create(ptgs), new CellRangeAddress8Bit(r.getFirstRow(), r.getLastRow(), r.getFirstColumn(), r.getLastColumn())); _sharedValueManager.addArrayRecord(arr); } /**
public CellRangeAddress8Bit copy() { return new CellRangeAddress8Bit(getFirstRow(), getLastRow(), getFirstColumn(), getLastColumn()); }
public SelectionRecord(RecordInputStream in) { field_1_pane = in.readByte(); field_2_row_active_cell = in.readUShort(); field_3_col_active_cell = in.readShort(); field_4_active_cell_ref_index = in.readShort(); int field_5_num_refs = in.readUShort(); field_6_refs = new CellRangeAddress8Bit[field_5_num_refs]; for (int i = 0; i < field_6_refs.length; i++) { field_6_refs[i] = new CellRangeAddress8Bit(in); } }
/** * Creates a default selection record (cell A1, in pane ID 3) */ public SelectionRecord(int activeCellRow, int activeCellCol) { field_1_pane = 3; // pane id 3 is always present. see OOO sec 5.75 'PANE' field_2_row_active_cell = activeCellRow; field_3_col_active_cell = activeCellCol; field_4_active_cell_ref_index = 0; field_6_refs = new CellRangeAddress8Bit[] { new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol), }; }
/** * reads only the range (1 {@link CellRangeAddress8Bit}) from the stream */ public SharedValueRecordBase(LittleEndianInput in) { _range = new CellRangeAddress8Bit(in); }
private void resetField6() { // this is necessary in Excel to actually make Workbook.setActiveCell() take effect field_6_refs = new CellRangeAddress8Bit[] { new CellRangeAddress8Bit(field_2_row_active_cell, field_2_row_active_cell, field_3_col_active_cell, field_3_col_active_cell), }; }
/** * reads only the range (1 {@link CellRangeAddress8Bit}) from the stream */ public SharedValueRecordBase(LittleEndianInput in) { _range = new CellRangeAddress8Bit(in); }
public SharedFormulaRecord() { this(new CellRangeAddress8Bit(0,0,0,0)); } private SharedFormulaRecord(CellRangeAddress8Bit range) {
/** * reads only the range (1 {@link CellRangeAddress8Bit}) from the stream * * @param in The interface for reading the record data. */ public SharedValueRecordBase(LittleEndianInput in) { _range = new CellRangeAddress8Bit(in); }
/** * Creates a default selection record (cell A1, in pane ID 3) */ public SelectionRecord(int activeCellRow, int activeCellCol) { field_1_pane = 3; // pane id 3 is always present. see OOO sec 5.75 'PANE' field_2_row_active_cell = activeCellRow; field_3_col_active_cell = activeCellCol; field_4_active_cell_ref_index = 0; field_6_refs = new CellRangeAddress8Bit[] { new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol), }; }
public void setArrayFormula(CellRangeAddress r, Ptg[] ptgs) { ArrayRecord arr = new ArrayRecord(Formula.create(ptgs), new CellRangeAddress8Bit(r.getFirstRow(), r.getLastRow(), r.getFirstColumn(), r.getLastColumn())); _sharedValueManager.addArrayRecord(arr); } /**
public void setArrayFormula(CellRangeAddress r, Ptg[] ptgs) { ArrayRecord arr = new ArrayRecord(Formula.create(ptgs), new CellRangeAddress8Bit(r.getFirstRow(), r.getLastRow(), r.getFirstColumn(), r.getLastColumn())); _sharedValueManager.addArrayRecord(arr); } /**
public void setArrayFormula(CellRangeAddress r, Ptg[] ptgs) { ArrayRecord arr = new ArrayRecord(Formula.create(ptgs), new CellRangeAddress8Bit(r.getFirstRow(), r.getLastRow(), r.getFirstColumn(), r.getLastColumn())); _sharedValueManager.addArrayRecord(arr); } /**
public SelectionRecord(RecordInputStream in) { field_1_pane = in.readByte(); field_2_row_active_cell = in.readUShort(); field_3_col_active_cell = in.readShort(); field_4_active_cell_ref_index = in.readShort(); int field_5_num_refs = in.readUShort(); field_6_refs = new CellRangeAddress8Bit[field_5_num_refs]; for (int i = 0; i < field_6_refs.length; i++) { field_6_refs[i] = new CellRangeAddress8Bit(in); } }
public SelectionRecord(RecordInputStream in) { field_1_pane = in.readByte(); field_2_row_active_cell = in.readUShort(); field_3_col_active_cell = in.readShort(); field_4_active_cell_ref_index = in.readShort(); int field_5_num_refs = in.readUShort(); field_6_refs = new CellRangeAddress8Bit[field_5_num_refs]; for (int i = 0; i < field_6_refs.length; i++) { field_6_refs[i] = new CellRangeAddress8Bit(in); } }