Esempio n. 1
0
        // Add suppSheet[suppCols, suppRows] except sheet[col,row] to support set
        public void AddSupport(Sheet sheet,
                               int col,
                               int row,
                               Sheet suppSheet,
                               Interval suppCols,
                               Interval suppRows)
        {
            SupportRange range = SupportRange.Make(suppSheet, suppCols, suppRows);

            // Console.WriteLine("{0} supports {1}", new FullCellAddr(sheet, col, row), range);
            // If RemoveCell removed something (giving true), it also added remaining ranges
            if (!range.RemoveCell(this, sheet, col, row))
            {
                ranges.Add(range);
            }
        }
Esempio n. 2
0
		public void Add(SupportRange range) { ranges.Add(range); }
Esempio n. 3
0
 public void Add(SupportRange range)
 {
     ranges.Add(range);
 }