/// <summary> /// Adds a BLANK Biffrecord to the internal list /// additional the method adds the specific BLANK Data to a data container /// </summary> /// <param name="number">NUMBER Biffrecord</param> public void addBLANK(Blank blank) { this.BLANKList.Add(blank); RowData rowData = this.getSpecificRow(blank.rw); BlankCell cell = new BlankCell(); cell.Col = blank.col; cell.Row = blank.rw; cell.TemplateID = blank.ixfe; rowData.addCell(cell); }
/// <summary> /// Adds a mulblank record element to the internal list /// a mulblank record stores some blank cells and their formating /// </summary> /// <param name="mulrk">The MULRK Record</param> public void addMULBLANK(MulBlank mulblank) { this.MULBLANKList.Add(mulblank); RowData rowData = this.getSpecificRow(mulblank.rw); for (int i = 0; i < mulblank.ixfe.Count; i++) { BlankCell cell = new BlankCell(); cell.Col = mulblank.colFirst + i; cell.Row = mulblank.rw; cell.TemplateID = mulblank.ixfe[i]; rowData.addCell(cell); } }
// Add supportedSheet[supportedColumns, supportedRows] to support set of this[col,row] public void AddSupport(int col, int row, Sheet supportedSheet, Interval supportedCols, Interval supportedRows) { if (this[col, row] == null) { this[col, row] = new BlankCell(); } if (this[col, row] != null) // May still be null because outside sheet { this[col, row].AddSupport(this, col, row, supportedSheet, supportedCols, supportedRows); } }