Excel to XML Conversion
Hi, I want to convert Excel to XML which should include text as well as images, shapes ect. There is any way we can get openxml (Office Open XML) using POI API ? I can able to get xml using Save As...
View Articleimport embedded files like xls in a new ppt slide
Hi, My problem is that, i can't import a embedded xls-file in to a ppt slide. Does anyone have a solution for this problem? Thank you for your help. Here is my code: class createPPT { public static...
View ArticlePOI and Macros in Powerpoint
Hi, I've tried to modify a powerpoint presentation which contains a macro (eg. "Test.pptm"). After saving the presentation and opening it with powerpoint, powerpoint crashes when I try to open the...
View Article"Colspan" cell
Hi, i have this code: Code: XSSFRow row = this.sheet.getRow(1); for (Cell cell : row) { // cell get colspan(number columns used) } my cell is colspaned, it is used(4 columns). How i can get the colspan...
View ArticleAdd image to WORD in header doc or docx
Hi everyone I have the following 2 classes which add an image to the body of a word document. Now I need to add an image but to the header. Please provide me with the solution. Thanks all! I have...
View ArticleApache POI excel sheet formula reference to another sheet.
I have a excel sheet which has a formula reference to another sheet of the same workbook. Currently, I'm on sheet1 and trying to set a formula for a cell using cell.setFormula(Sheet2[#All]). While I'm...
View ArticleaddTab() missing
Hello everyone, I'm using the Apache POI (poi-3.10.1) in order to generate a docx-document. The documentation says that there is a method, called addTab(). But when I'm trying to call this method...
View Articledocx to pdf
Hi guys, i am unable to convert docx into pdf and am using latest 1.0.4 libraries.I am unable to attach failure document.As i am completely blocked here can anyone suggest this. Code Snippet:...
View Articleread values of userform Textbox and Checkbox
Hi, I have an excel sheet that is used as a form (created using Developer mode). It contains labels, textboxes and checkboxes. Using POI I have managed to get a list of these objects as instance of...
View Articleread and select dropdown list on xlsm file.
I have a xlsm file with multiples dropdown list. This is my first time i'm using java and apache poi. How can i read a dropdown list from cell and select the option?.
View Articlecheck checkbox in xlsm file with POI
I have multiples checkboxes in my xlsm file. I would like to know how to check/uncheck a checkbox using POI. I attached an image with an example of a cell. Attached Images Capturar.PNG (846 Bytes)
View ArticleIs it possible to extract property details from MSI installable using POI?
Could anyone advice whether it is possible to read the property table details from an MSI installable file using POI? I need to extract the product name and product version details from the property...
View ArticleIs there any way to uncheck textboxes, footnotes and endnotes
Hi, Is there anyway to uncheck the textboxes, footnotes and endnotes option while creating word docx using POI. Suggest some idea
View Articlecreate Theme in new XSSFWorkbook
Is it is possible to create empty Theme if I create XSSFWorkbook by constructor XSSFWorkbook()? I tried to do this, but there is a lot of fields (like Relations) to fill when I create Theme - and...
View ArticleSet Image undertext with Apache-Poi
I have insert a image in a document .docx but i must set undertext. Code to insert image: Code: XWPFRun xwpfRun = p.createRun();...
View ArticleHow can I create nestedTables XWPF
Hello, I have some trouble with POI. It's not possible for me to create nestedTables. I tested some things but no one get the wished result. It's possible for me to load a document with nested tables,...
View ArticleNeed working example of Poi-ooxml for osgi bundle
Hello , I am working on stream based excel in order to export large excel file so we are using poi-ooxml jar . We need to create osgi bundle and we deploy the created bundle inside apache Karaf . But...
View Articleadd a logo in header
hi, can any body please help me to add a logo in header of docx. Code: public static void main(String[] args) { try { //XWPFDocument docx = new XWPFDocument();...
View Articleexcell comments in large excell files ?
Hello, I am writing a large excell file using java poi version 3.9 (the file has 3500 lines). I have a problems with writing excell comments. I mean, if write just hundred excell lines, everythihg...
View Article