Commented Unassigned: 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 ArticleUpdated 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 ArticleReleased: NPOI 2.0 beta 2 (Dec 04, 2013)
Assembly version: 2.0.5 Provide 4 assembly versions: .net 2, .net 4, mono .net2, mono .net4New features a. Support Scatter chart in XSSF (xlsx) (other chart types are not supported yet) b. Extract...
View ArticleUpdated Release: NPOI 2.0 beta 2 (十二月 04, 2013)
Assembly version: 2.0.5Provide 4 assembly versions: .net 2, .net 4, mono .net2, mono .net4New featuresa. Support Scatter chart in XSSF (xlsx) (other chart types are not supported yet)b. Extract...
View ArticleUpdated Wiki: NPOI Release Plan
NPOI 1.1 [Released]corresponding to POI 3.1 finalNPOI.Util 1.1 NPOI.POIFS 1.1 (Microsoft Office File System / Compound File Format Library )NPOI.DDF 1.1 (Microsoft Office Drawing read/write...
View ArticleNew Comment on "NPOI Road Map"
PDF document is out of scope of NPOI because NPOI is for Office documents defined by Microsoft.
View ArticleCommented 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 ArticleNew Post: How to Insert a Column in a .xls or .xlsx file?
I know there's some way to insert rows. But how to insert columns?static void InsertRows(ref HSSFSheet sheet1, int fromRowIndex, int rowCount) { sheet1.ShiftRows(fromRowIndex, sheet1.LastRowNum,...
View ArticleNew Post: Build samples
Hello. When I open "NPOI.Examples.2010.sln" and try build it, I had multiple unresolved assembly reference errors. I know that I would be add reference to binary NPOI dll's in a some project samples...
View ArticleNew Post: Build samples
foxxxx wrote: Hello. When I open "NPOI.Examples.2010.sln" and try build it, I had multiple unresolved assembly reference errors. I know that I would be add reference to binary NPOI dll's in a some...
View ArticleNew Post: add pdf stream into worksheet
Hi I have two pdf files. I want to add each pdf file into worksheet. Is it possible? Regards, Alex
View ArticleNew Post: Merge two different excel files into one excel file
Hi, I I have created two HSSFWorkbook and want to merge these two workbook into one. May I know how I can merge? Regards, Alex
View ArticleNew Post: NPOI 2.0 beta 1 : Copy sheet between workbooks (contributed by Paul...
Hi, I saw Copy sheet between workbooks (contributed by Paul Kratt) in NPOI 2.0 beta 1 release. May I know how I can copy sheet between workbooks. Regards, Alex
View ArticleNew Post: How to get image position (Anchor) in excel
Hi, I have one function call GetVesselUtilizationReportFile and it generate one excel file base on outport. It can be generated successfully. Now I need to generate one excel file for all outports. so...
View ArticleNew Post: Build samples
You can use Notepad++ and replace all of the relative path of the assembly reference with an absolute path (on your computer) in the csproj file.
View ArticleNew Post: How to Insert a Column in a .xls or .xlsx file?
There is no native API to do that. But you can try to figure out by your own code.
View ArticleCommented Issue: NPOI doesn't work with a Excel template with macro [3804]
Since there is no documentation one can refer to, let me ask the author whether NPOI supports Excel files with macros? Probably I did something wrong, but each time I try to open such a file, fill it...
View ArticleCommented Issue: NPOI doesn't work with a Excel template with macro [3804]
Since there is no documentation one can refer to, let me ask the author whether NPOI supports Excel files with macros? Probably I did something wrong, but each time I try to open such a file, fill it...
View ArticleCreated 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