Problem getting cell Color (XSSF)
Hi all, I would like to read de backgroung color of cells, but i am always getting null while trying my code. Surfing the net people always use HSF for this task but i need to use XSSF instead. Code:...
View Articleread excel cell value using cell id or name
I want to read excel cell value through the cell name or id rather than using the row and column position. I can't find any methods to read cell value by using cell name.... plz help me....
View ArticlePage break
Hi I have a project which one is convert docx to html (using apache poi). But i cannt give page break right position.How can i give right thing in right position like as PDF . Thanks in advance....
View ArticleDesperation and and misadventures with java.lang.NoClassDefFoundError
Hi fellows! I'm in a bit of a pickle with using our dear POI, for I'm having this dastard error and I really can't identify why it's happening. Would you guys mind helping me? My SO is win7(x64) and I...
View ArticleExample to Load existing power point using Apache POI
Is it possible with apache POI to load the existing power point document, and to load a particular slide in the ppt. Any examples or references URL's are helpful? Thanks in advance.
View ArticleHow to enable Excel Images?
I trying to do xlsx support to a software. Almost everything is working as it was working before with xls files. My only problem is that images are disabled at the start. When I change to some other...
View ArticleWhat the set?
So... now I have another issue to wich I simply can't see a good reason for it to happen... Code: SEVERE: Error Rendering View[/users.xhtml] javax.el.PropertyNotFoundException: /users.xhtml @40,30...
View ArticleHow to create a combo box or drop down with POI 3.0
I know we have DATAVALidation in Poi 3.5 , any work around to create drop down in POI 3.0
View ArticleApace POI XSSF does not support column count, WHY ?
Hi Team, I am new to Java. I am writing a program to read XL file (xlsx format). I go through the Apache POI API document, I found that I can get row count from XL file. However there is no function to...
View ArticleIllegal xml character breakes .xlsx file
Hi! I'm pretty new programming with POI, but I'm having a problem. I'm generating a xlsx file using SXSSFWorkbook. This file contains Facebook posts and comments from my pages. All comments are stored...
View Articleretrieve number of pages of document
I know with POI I can use the SummaryInformation class to retrieve the page count of .doc, .xls documents. How can I do the same with xml based .docx, .xlsx? I see that I can get the CoreProperties...
View ArticlePPTX page number
Hi All, i use poi 3.9 and i join several pptx document with success, but how can i insert the pages number? Thanks in advance
View ArticlePPTX Error: org.apache.poi.POIXMLException:...
consider that i use Tomcat 4.1.18 and jvm 1.5, when i execute this line: XMLSlideShow ppt = new XMLSlideShow() i receive thsi error: org.apache.poi.POIXMLException: org.apache.poi.POIXMLException:...
View ArticleHow to convert XSSFColor to java.awt.Color?
I working with Excel support for a software which uses both xls and xlsx file formats. A small part of the code is shown below. I am writing code which gets java.awt.Color from...
View ArticleHow to copy column style properly?
I working with Excel support for a software which uses both xls and xlsx file formats. I am writing code which reads an excel spreadsheet and shows the spreadsheet in a JTable. The software calculates...
View ArticlegetDateCellValue() sometimes misses year
I am using getDateCellValue() like this: Code: cell = row.getCell( EXCEL_COLUMN_BUCKET_END ); forecastLine.setBucketEnd( cell == null ? null : cell.getDateCellValue() ); On two of the sheets (separate...
View ArticleHow to lock first two rows of an excel and remaining rows editable.
I want to lock first two rows of an excel and other rows should be editable for the user.
View ArticleHow to display chineese characters in a cell using XSSF api
How to display chineese characters in a cell using XSSF api Hi Im getting the values from db as(ex: ଃ) now i need show this value as a chineese character in a cell in excel how is this...
View ArticleCan we disable CTRL+X option in excel using XSSF poi.
Can we disable CTRL+X option in excel using XSSF poi. Hi i need to restrict the user not Cut the value from a cell and paste it in another cell, is it possible with XSSF api. Thanks.
View ArticleSXSSF for Writing huge data on exisitng excel
Hi ALL, I have been using apache poi for quit sometime . i have found that for writing large excel files apache asks the developer to use SXSSF . I have tried out this but the problem is that using...
View Article