public void Flush() { Frames.Clear(); CommandRow.Flush(this, 0); CommandCol.Flush(this, 0); PopSet.Flush(this, 0); }
//public ExcelWorksheet EnsureWorksheet() => WS ?? (WS = WB.Worksheets.Add($"Sheet {WB.Worksheets.Count + 1}")); //public ExcelRangeBase Get(string cells) => WS.Cells[this.DecodeAddress(cells)]; //public ExcelRangeBase Next(ExcelRangeBase range, NextDirection? nextDirection = null) => (nextDirection ?? NextDirection) == NextDirection.Column ? range.Offset(0, DeltaX) : range.Offset(DeltaY, 0); //public ExcelColumn Next(ExcelColumn col) => throw new NotImplementedException(); //public ExcelRow Next(ExcelRow row) => throw new NotImplementedException(); public void Flush() { //if (Sets.Count == 0) this.WriteRowLast(null); Frames.Clear(); CommandRow.Flush(this, 0); CommandCol.Flush(this, 0); PopSet.Flush(this, 0); }