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

Commented Unassigned: LastCellNum与lastrownum逻辑不符 [12610]

LastCellNum 与 LastRowNum逻辑不符,新建一个xlsx文件新建一行一列,LastRowNum显示0 但是LastCellNum 却显示1如果 CreateCell(2) , LastCellNum 显示3void Button1Click(object sender, EventArgs e) { IWorkbook myBook=new XSSFWorkbook();...

View Article


Edited Issue: VerticalAlignment.Top [12555]

Setting VerticalAlignment property of CellStyle in *.xls format actually appears as Center when opening the result in Excel 2007. Setting the VerticalAlignment.Top enum int value to 0 instead of 1...

View Article


Closed Unassigned: a problem [12649]

这个可能是一个bug,我用的是NPOI2.0Comments: Duplicate with issue 12555

View Article

Closed Issue: VerticalAlignment.Top [12555]

Setting VerticalAlignment property of CellStyle in *.xls format actually appears as Center when opening the result in Excel 2007. Setting the VerticalAlignment.Top enum int value to 0 instead of 1...

View Article

Closed Unassigned: Reg. Error while Saving Excel using NPOI 2.0Beta [12558]

FileStream file = new FileStream(@"C:\test.xls", FileMode.Open, FileAccess.ReadWrite); HSSFWorkbook wrkBook = new HSSFWorkbook(file); ISheet ws = wrkBook.GetSheetAt(1); IRow r = ws.GetRow(20); ICell c...

View Article


Closed Unassigned: NPOI2.0版本的打印设置有问题 [12361]

NPOI2.0 版本的打印设置有问题: ISheet sheet = hssfworkbook.CreateSheet(sheetName); sheet.SetMargin(MarginType.RightMargin, (double)0.1); sheet.SetMargin(MarginType.TopMargin, (double)0.1);...

View Article

Edited Issue: Excel 2013, XSSF CellComment, Shape problem [12320]

Excel 2013 displays an curved arrow instead of a rectangular shape as comment box in excel file created from xssf class library (2.0.1 beta). The picture from generated test.xlsx example is in...

View Article

Commented Issue: VerticalAlignment.Top [12555]

Setting VerticalAlignment property of CellStyle in *.xls format actually appears as Center when opening the result in Excel 2007. Setting the VerticalAlignment.Top enum int value to 0 instead of 1...

View Article


New Post: Excel found unreadable content in filename.xls

Hi! I'm trying to run some examples and when I open excel files, occurs an error: "Excel found unreadable content in filename.xls" I compiled the example: "CreateEmptyWorkbook" thanks!

View Article


Created Unassigned: 2.0版本 XSSF读取EXCEL的问题 [12682]

假如我读取一个 10行 6列的EXCEL表格。我用的是2.0版本XSSF读取EXCEL2013的文件。但其中可能有的单元格是空行或者空格。比如第7行的第3列和第8行的第6列都是空的。那么程序读第7行的时候没有问题,其中第3列的单元格是空字符串,第7行总共读出了6列,是正确的。但读第8行的时候出现了问题,第8行的LastCellNum属性是正确的,反映了该行的最后一列数,但是row.Cells[5]...

View Article

Commented Unassigned: 2.0版本 XSSF读取EXCEL的问题 [12682]

假如我读取一个 10行 6列的EXCEL表格。我用的是2.0版本XSSF读取EXCEL2013的文件。但其中可能有的单元格是空行或者空格。比如第7行的第3列和第8行的第6列都是空的。那么程序读第7行的时候没有问题,其中第3列的单元格是空字符串,第7行总共读出了6列,是正确的。但读第8行的时候出现了问题,第8行的LastCellNum属性是正确的,反映了该行的最后一列数,但是row.Cells[5]...

View Article

Commented Unassigned: 2.0版本 XSSF读取EXCEL的问题 [12682]

噢。我重新想了一下。不知道算不算BUG,这个问题是这样的。之前我说的有问题,记错了额,已经删了,现在重新描述一下。假如一行有6列的EXCEL表格。假如第3列为空。那么读出来的ROW,第3个单元格是“”空字符串。但它确实是有6个单元格对象。但假如第6列是“”空字符串的话,那么读出来的ROW的LastCellNum属性就是5,这一行ROW就只包含5个单元格属性。这两点表现不一致哇。我觉得。Comment...

View Article

Created Unassigned: NPOI XSSF on Excel 2010 [12685]

Hi,I'm using npoi for 2 year with no problem it's a wonderfull product, but since i passed on XHHF when i try open the generated file it tells me that the file is corrupted and excel will recover it,...

View Article


New Post: Excel found unreadable content in filename.xls

Hi! I'm experiencing the same issue, with example "ScatterChart" excel 2010. Here is link on result file. Is there any workaround?

View Article

New Post: Excel found unreadable content in filename.xls

Yes, thekg, there is a workaround. The worksheet XML that is being written has the wrong decimal separator ("," instead of "."). (Unzip the xlsx and find the xl\worksheets\worksheet1.xml file, find the...

View Article


Commented Unassigned: NPOI XSSF on Excel 2010 [12685]

Hi,I'm using npoi for 2 year with no problem it's a wonderfull product, but since i passed on XHHF when i try open the generated file it tells me that the file is corrupted and excel will recover it,...

View Article

Commented Unassigned: NPOI XSSF on Excel 2010 File is Corrupted [12685]

Hi,I'm using npoi for 2 year with no problem it's a wonderfull product, but since i passed on XSSF when i try open the generated file it tells me that the file is corrupted and excel will recover it,...

View Article


Commented Unassigned: NPOI XSSF on Excel 2010 File is Corrupted [12685]

Hi,I'm using npoi for 2 year with no problem it's a wonderfull product, but since i passed on XSSF when i try open the generated file it tells me that the file is corrupted and excel will recover it,...

View Article

Created Issue: Excel found unreadable content in filename.xls [12686]

Yes, thekg, there is a workaround. The worksheet XML that is being written has the wrong decimal separator ("," instead of "."). (Unzip the xlsx and find the xl\worksheets\worksheet1.xml file, find the...

View Article

New Post: Excel found unreadable content in filename.xls

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

View Article
Browsing all 1621 articles
Browse latest View live


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