Quantcast
Browsing all 1621 articles
Browse latest View live

Commented Unassigned: How to autofit cell content? [13279]

I have cell with very long text.How to automatically set the height of the row so that the text would fit in it?Comments: ** Comment from web user: tonyqus ** There is no way to automatically change...

View Article


Closed Unassigned: How to autofit cell content? [13279]

I have cell with very long text.How to automatically set the height of the row so that the text would fit in it?

View Article


Closed Unassigned: Vertical Alignment not working. [13263]

Version : 2.0.6.0workbook type : HSSFWorkbookVertical alignment's enum value not correct.NPOI.SS.UserModel.VerticalAlignmentI set Center(2) but result worksheet's vertical alignment was Bottom(3)Then I...

View Article

Commented Unassigned: XSSFWorkbook is corrupt when...

```c#IWorkbook workbook;ISheet sheet;Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");workbook = new XSSFWorkbook();sheet = workbook.CreateSheet();using (var stream = new...

View Article

New Post: Open XLS from a URL

Please make sure the downloaded xls file is a real Excel. If it's a html-based Excel file, it will not be recognized by NPOI. You can save the response result to a file first to check what's going on.

View Article


Commented Unassigned: Export Excel 2007, open the excel show "We found a...

Hi Team,I used the NPOI to export a excel file from the asp.net mvc application. And all codes are ok. and export the excel file is ok. However, when I open the downloaded excel file, it will show the...

View Article

Commented Unassigned: XSSFWorkbook is corrupt when...

```c#IWorkbook workbook;ISheet sheet;Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");workbook = new XSSFWorkbook();sheet = workbook.CreateSheet();using (var stream = new...

View Article

New Post: Unable to add new sheet to existing workbook

A thousand thanks, tonyqus. That worked like a charm. For anyone else having the problem, here's how I fixed it: //Check for existing workbook FileStream fs = new FileStream(myExistingWorkbook.xlsx,...

View Article


New Post: Display newest worksheet on Workbook Open

Another question regarding NPOI 2.1.3: When I add a new page to an existing workbook, I want that new page to be the first one my user sees when the newly-updated workbook opens in Excel. I've tried...

View Article


New Post: display a number with thousand separator in Indian style( 12,...

Hello, I am using latest NPOI version 2.1.3 but i didn't get any solution for making particular column as number with thousand separator. For example i want to display 550550.56 as like 5,50,550.56...

View Article

Created Unassigned: CloneStyleFrom not working as expected [13369]

Hi,I'm trying to clone a cellstyle using CloneStyleFrom however, it doesn't appear to be working as expected.When I modify the 'cloned' style, the original cell style is also modified.FYI - I'm using...

View Article

Commented Unassigned: CloneStyleFrom not working as expected [13369]

Hi,I'm trying to clone a cellstyle using CloneStyleFrom however, it doesn't appear to be working as expected.When I modify the 'cloned' style, the original cell style is also modified.FYI - I'm using...

View Article

Commented Unassigned: 通过网页下载xlsx文件报错,丢失文件 [13361]

运行代码:FileStream file = new FileStream("test.xlsx", FileMode.Open, FileAccess.Read);//读入excel模板var workbook = new XSSFWorkbook(file);MemoryStream ms = new MemoryStream();workbook.Write(ms);//写入内存流byte[]...

View Article


New Post: display a number with thousand separator in Indian style( 12,...

Hi Herin, I think the inbuilt format your looking for is "#,##0.00" as opposed to "##,##,##,##0.00" There's a list/description of Excel's built in number formats somewhere on the web (apologies, I...

View Article

Closed Issue: SetSheetOrder breaks XLSX [13142]

NPOI 2.1XSSFWorkbook.csIssue:When setting the sheet order (i.e. moving a worksheet) with XSSF, the XLSX file will break and cannot be opened with Excel. Reason: CT_Sheet.Set will set the SheetId of the...

View Article


Released: NPOI 2.1.3 (Dec 10, 2014)

BUG FIXES a. fix 2 charts insert in the same sheet issue b. fix a lot of Excel 2007 serialization issues c. fix some Word 2007 serialiation issues d. fix RemoteSheetAt bug e. support changing...

View Article

Updated Release: NPOI 2.1.3 (十二月 10, 2014)

BUG FIXESa. fix 2 charts insert in the same sheet issueb. fix a lot of Excel 2007 serialization issuesc. fix some Word 2007 serialiation issuesd. fix RemoteSheetAt buge. support changing background in...

View Article


Updated Release: NPOI 2.1.3.1

NPOI BUG FIXESa. fix incorrect comment shapeb. POI BUG FIXES55729 - DataFormatter should format Error cells, returning the Excel error string49237 - HSSF Row Style XfIndex is 12 not 16 bits of...

View Article

Commented Unassigned: 通过网页下载xlsx文件报错,丢失文件 [13361]

运行代码:FileStream file = new FileStream("test.xlsx", FileMode.Open, FileAccess.Read);//读入excel模板var workbook = new XSSFWorkbook(file);MemoryStream ms = new MemoryStream();workbook.Write(ms);//写入内存流byte[]...

View Article

Commented Unassigned: 通过网页下载xlsx文件报错,丢失文件 [13361]

运行代码:FileStream file = new FileStream("test.xlsx", FileMode.Open, FileAccess.Read);//读入excel模板var workbook = new XSSFWorkbook(file);MemoryStream ms = new MemoryStream();workbook.Write(ms);//写入内存流byte[]...

View Article
Browsing all 1621 articles
Browse latest View live


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