New Post: Date vs. Numeric NPOI 2.0.6
if (cell.CellType == CellType.Numeric) { object[targetRowNum, targetColNum] = cell.NumericCellValue.ToString(); if (DateUtil.IsCellDateFormatted(cell)) { object[targetRowNum, targetColNum] =...
View ArticleNew Post: Impossible to read Excel 2003 XML file with NPOI for .Net Framework...
When I use the following code to open the an Excel 2003 XML file I have the "Invalid header signature; read 0x6C6D783F3CBFBBEF, expected 0xE11AB1A1E011CFD0" Exception : using (StreamReader input = new...
View ArticleNew Post: XSSFSheet - Multiple images in single sheet
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Table name evaluation
Hi, I tried to retreive an excel table using this code : XSSFWorkbook workbook = new XSSFWorkbook(fs); var table = workbook.GetName("Table1"); The returned value is null. Does someone have a solution...
View ArticleNew Post: add image to XWPFDocument results in error
I also posted this message on stackoverflow: click here I want to add an image to a XWPFDocument. I've created a memoryStream containing the image. (which is correct because If I render the base64...
View ArticleNew Post: error --- string search and replace
More in detail, i have a ".docx" WORD with paragraphs and tables, Say, i have a paragraph "Name" followed with a table, and i want my c# app can read the "name" and repalce new word now execute code ....
View ArticleNew Post: NPOI use in commercial product
Hello, We are developing plugins for CMS that we sell to our clients. We want to use npoi in our product. As we can tell from license NPOI can be used in commercial product. We only sell compiled...
View ArticleNew Post: NPOI use in commercial product
Apache 2.0 license doesn't need any payment. But you need to show NPOI logo or text in some documents or your website. That's the only thing you need to do. Would you please let me know the company...
View ArticleNew Post: Apply border right style to a cell is applied also to all cells...
Hi, I love this plugin, it is very useful. While developing an application, I met some issue from my point of view. I posted question to stackoverflow:...
View ArticleNew Post: NPOI use in commercial product
Thank you for a quick answer. We are using it as backup feature so users can export/import blog posts. We just started to work on this feature and it will not be released soon. I will send you company...
View ArticleNew Post: Does XWPF support export word with inserting data by bookmark
There is no XSSFBookmark. But you can try to use low-level API like CT_Bookmark
View ArticleNew Post: add image to XWPFDocument results in error
This is a bug in NPOI 2.0.6. It will be fixed in NPOI 2.1
View ArticleNew Post: Impossible to read Excel 2003 XML file with NPOI for .Net Framework...
NPOI never supports Excel XML format. only xls and xlsx are supported.
View ArticleNew Post: Build DOCX files from scratch
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Build DOCX files from scratch
I had managed to achieve a table of similar quality to the one shown in archive 614, and successfully created a Run in Table Cells. However failure to set background color (this seemed really close)...
View ArticleNew Post: add image to XWPFDocument results in error
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Couldn't find anything about parse .rtf documents feature
I wish I could read rich text format files by NPOI, but couldn't find anyting about that. Was implented that feature in NPOI?
View ArticleNew Post: Table name evaluation
Hi, I found the solution myself : Here the code I used : FileStream fs = new FileStream("c:\MyExcelFile.xls"", FileMode.Open); XSSFWorkbook workbook = new XSSFWorkbook(fs); ISheet iWorksheet =...
View Article