Quantcast
Channel: NPOI
Browsing all 1621 articles
Browse latest View live

New Post: Cell Comments appears to corrupt xls file after creating/adding...

To be honest, you are the first one to ask the maximum comment a xls supports. This is never tested. Can you tell me why there are so many comments in your Excel file? Maybe we can work around it by...

View Article


New Post: Invalid header signature; read 0x2020202020202020, expected...

NPOI is created to create BINARY xls file and OOXML xlsx files. Html is not a supported option in NPOI because Html is plain text, you can totally use StreamWriter to finish the creation of Html.

View Article


New Post: [XSS] XLSX file : repair needed when using Double in SetCellValue()

Hi Mukuahya, Can you narrow down the issue to a Double value which may break the file via SetCellValue? This should be tested in the test cases. Btw, why do you think this is an XSS attack? XSS attack...

View Article

New Post: [NPOI.XSSF.UserModel] XLSX file : repair needed when using Double...

Easy way to reproduce (SetCellValueInXlsx sample modified to provoque the error) : using System; using System.Collections.Generic; using System.Text; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel;...

View Article

New Post: Cell Comments appears to corrupt xls file after creating/adding...

The 1406 appears to be a red herring have created and save files with 1273 and 26397 commands. This appears to be a hard bug to tack down to a single create call as the call will work if comments calls...

View Article


New Post: Applying HTML tags to output

I am using NPOI to write content to an excel file like this: CreateCell(wb, qandARow, styQuestions, question.QuestionDescription, question.Level); However some of the question.QuestionDescription...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: Home

This project is the .NET version of POI Java project at http://poi.apache.org/. POI is an open source project which can help you read/write xls, doc, ppt files. It has a wide application.For example,...

View Article

New Post: [NPOI.XSSF.UserModel] XLSX file : repair needed when using Double...

I have the same problem, please provide fix. BR

View Article


Reviewed: NPOI 2.0 beta 1 (三月 18, 2013)

Rated 5 Stars (out of 5) -...

View Article


New Post: ISheet.AutoSizeColumn throws NullReferenceException when...

In "ApplyFontInXlsx" example, I add two lines//apply font to "Microsoft Office" IFont font4 = workbook.CreateFont(); font4.FontHeightInPoints = 12; font4.Boldweight = (short)FontBoldWeight.NORMAL; //...

View Article

Reviewed: NPOI 2.0 beta 1 (三月 20, 2013)

Rated 1 Stars (out of 5) - KeyNotFoundException at ShiftRows

View Article

New Post: Create row and relative formula reference

Hi, CopyRow function does not update relative references in formulas for the cells in the new row. Is this a correct behavior or is there something I have not taken into account? Unless CopyRow update...

View Article

New Post: Convert/Save HSSFWorkbook as XSSFWorkbook

I'd like to know, if there is a way to save a HSSFWorkbook as XSSFWorkbook (and vice versa) I tried the following, but it's not working: HSSFWorkbook lXlsWorkbook = new HSSFWorkbook("c:\file.xls");...

View Article


New Post: Converting Excel XSL to XSLX (Office 2003 to Offiece 2007)

Hi all! Is there a way to convert Excel XSL to XSLX using NPOI? If you have any informaton, I'll be very appreciate!!! Thanks in advance

View Article

New Post: Convert/Save HSSFWorkbook as XSSFWorkbook

Hi. I'm also very interested in this question. Please, someone! Help!!! :-)

View Article


New Post: Add pictures to exists Excel file with pictures

Tony, how would I go about checking my version? I am having a very similar issue. Thanks, Carl

View Article

New Post: No XSSFRow.IsHidden?

Dear NG, I was just trying to change my Excel output from HSSF to XSSF but noticed, that XSSFRow.IsHidden doesn't seem to exist. How will I make a row hidden in XSSFWorkbook? Kind regards, Thomas

View Article


New Post: No XSSFRow.IsHidden?

Ok, having a close look at the examples reveals the solution. Instead of using XSSFRow.IsHidden = true; I just needed to use use the property XSSFRow.ZeroHeight = true;

View Article

New Post: AutoSizeColumn got slow in NPOI 2.0

Dear NG, I was wondering if anyone experienced a significant slow down when using ISheet.AutoSizeColumn. I have a sheet with 70 columns by 2000 rows. The process of auto-sizing all columns incresed...

View Article

Created Issue: AutoSizeColumn not working correctly [11661]

Currently using NPOI 1.2.5 to generate Excel 2003 reports from an MVC3 application. When I use the following lines of code it doesn't autosize the columns correctly.> for (var i = 0; i < 14;...

View Article
Browsing all 1621 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>