nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Apache License 2.0
5.74k stars 1.43k forks source link

Fluent API support for ICell #257

Open artisvilcins opened 5 years ago

artisvilcins commented 5 years ago

Feature request! When Generating new excel file I would want to be able to set cell value in one line with setting the cell type so that this:

                var cell = row.CreateCell(0);
                cell.SetCellType(CellType.Numeric);
                cell.SetCellValue(p.Id);

would become: row.CreateCell(0).SetCellType(CellType.Numeric).SetCellValue(35) In my opinion that would make a loot less code for large number of cells.

tonyqus commented 4 years ago

THere is no plan to support fluent API.