コード例 #1
0
        /// <summary>
        /// Constructs a Selection record and Sets its fields appropriately.
        /// </summary>
        /// <param name="in1">the RecordInputstream to Read the record from</param>
        public SelectionRecord(RecordInputStream in1)
        {
            field_1_pane = (byte)in1.ReadByte();
            
            field_2_row_active_cell = in1.ReadUShort();
            field_3_col_active_cell = in1.ReadShort();
            field_4_ref_active_cell = in1.ReadShort();
            int field_5_num_refs = in1.ReadUShort();

            field_6_refs = new CellRangeAddress8Bit[field_5_num_refs];
            for (int i = 0; i < field_5_num_refs; i++)
            {
                field_6_refs[i] = new CellRangeAddress8Bit(in1);
            }
        }
コード例 #2
0
 /**
  * reads only the range (1 {@link CellRangeAddress8Bit}) from the stream
  */
 public SharedValueRecordBase(RecordInputStream in1)
 {
     _range = new CellRangeAddress8Bit(in1);
 }
コード例 #3
0
 protected SharedValueRecordBase(CellRangeAddress8Bit range)
 {
     _range = range;
 }
コード例 #4
0
 private SharedFormulaRecord(CellRangeAddress8Bit range):
     base(range)
 {
     field_7_parsed_expr = Formula.Create(Ptg.EMPTY_PTG_ARRAY);
 }
コード例 #5
0
 public ArrayRecord(Zephyr.Utils.NPOI.SS.Formula.Formula formula, CellRangeAddress8Bit range):base(range)
 {
     _options = 0; //YK: Excel 2007 leaves this field unset
     _field3notUsed = 0;
     _formula = formula;
 }
コード例 #6
0
        public TableRecord(CellRangeAddress8Bit range)
            : base(range)
        {

            field_6_res = 0;
        }