New Post: Convert/Save HSSFWorkbook as XSSFWorkbook
public void SaveExcel() { try { FileStream fwriter = new FileStream("c:\\ss.xlsx",FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite); MemoryStream file = new MemoryStream();...
View ArticleNew Post: Will SetActiveCell be implemented in 2.0? Stress test proves...
I did a quick stress test of npoi 2.0 beta and I simply wrote a string in the first cell of each row up to 100k. The output was as follows: Start time: 5/14/2013 5:05:39 PM [00:00:00.0170017] 0 rows...
View ArticleNew Post: Will SetActiveCell be implemented in 2.0? Stress test proves...
I tried using cell.SetAsActiveCell() and there was no improvement to performance... tiny bit worse actually. Start time: 5/14/2013 6:36:50 PM [00:00:00.0190019] 0 rows written [00:00:02.8392839] 10000...
View ArticleNew Post: Stress test of XSSF proves exponential time (performance concerns)
Also, if you simply change XSSFWorkbook to HSSFWorkbook (Still using NPOI 2.0 beta)... these are the results Start time: 5/15/2013 11:09:36 AM [00:00:00.0270027] 0 rows written [00:00:00.0540054] 10000...
View ArticleNew Post: New Version On NuGet
Hi, is it planned to upload the current version (2.0 beta 1) to NuGet? The current version in NuGet is 1.2.5 which unfortunately doesn't support generating xlsx files. The version 2.0 works good enough...
View ArticleNew Post: change existing xls file
Hi. may somebody have experience in change an existing excel file, i mean specific cells, and save or print it after that? how i do that with npoi? thanks
View ArticleNew Post: How to read cell text when formula is attached to cell.
Hello, I am reading a excel file using NPOI dll. This excel file have few cells which have formulas associated with it. now when i read the cell value it return the formula instead of actual text. Here...
View ArticleNew Post: Stress test of XSSF proves exponential time (performance concerns)
Hi zosea, Thank you for your stress test result. The reason that HSSFWorkbook is much faster than XSSFWorkbook is because the internal implement of xls and xlsx. xls is using binary to save data but...
View ArticleNew Post: How to read cell text when formula is attached to cell.
I am also facing the same problem. When the Excel is converted to DataTable, the columns holds the formulas, but I need the value evaluated from the formulas. Is there any way in NPOI, which gives us...
View ArticleNew Post: shared formula coding error
When I am trying to set a formula, it is occurring an exception like "shared formula coding error". Can you help me to identifying where is the problem?
View ArticleNew Post: Export to PDF or jpg?
Hi, Is there any function which can export the docx file to pdf or jpg? Thanks.
View ArticleNew Post: Excel2003字体修改无效
我运行1.2.5的ApplyFontInXls的范例,把字体修改为宋体以外的字体,用Excel2003打开都会显示为宋体,并且设置的字体会失效,例如设置成黑体,则整个表格中的黑体都显示为宋体。
View ArticleNew Post: Picture Line Border in Excel using HSSF UserModel
Is there a way to add a picture line border to a picture that has been inserted into an anchor tag on a given worksheet? If so, how would this be done?
View ArticleNew Post: Reading Specific Columns or other ideas?
At the moment I need 3 specific columns from an xls file and have been loading the whole sheet into a datatable. From there I am deleting rows and columns I do not need. It is sort of working but also...
View ArticleNew Post: Format as Table
Guys, can I populate an excel file (xlsx) with that 'Format as Table' feature? I haven't found a way to create it through code, neither putting it on my template. Is there some class that helps me with...
View ArticleNew Post: New Version On NuGet
Hi, Since alpha or beta version is not qualified to be a final release candidate, it will not appear on NuGet. There are still a lot of bugs of 2.0 to be fixed. The current version may break the file...
View ArticleNew Post: Format as Table
This looks to be a new feature in Office 2007 or above because the file format is xlsx. I'm afraid it's not supported so far.
View ArticleNew Post: Dose NPOI support WinRT and WindowsPhone
Hi, I just want to know that, dose NPOI support WinRT and WindowsPhone? if not, what can be other alternatives Thanks JZ
View Article