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.62k stars 1.41k forks source link

Fluent API support for ICell #257

Open artisvilcins opened 4 years ago

artisvilcins commented 4 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 3 years ago

THere is no plan to support fluent API.