query from newbie:how to read openoffice documents

2007-04-09 Thread Rupanu Ranjaneswar
Hello everyone, I am new to POI and I am able to successfully read MS format files.But now I want to convert openoffice documents to txt files(read and write).I tried on .odt but could not.Can anyone help with that?

Re: query from newbie:how to read openoffice documents

2007-04-09 Thread Tom Schindl
POI is only for MS-Document formats. To read ODF-Files you should use the OO-API which can be accessed from many different languages. An example how to convert OpenOfficeDocuments to other formats can be found here:

Re: hi plsss help me out

2007-04-09 Thread Rajeshwar Mothe
Hi tahir thank u very much once again for u r suggetion but my requirement is i want to generate a MSword document from retrieving values from Database how i need to start could u please send aome sample code so that i can start please help me

using HSSFRow.getLastCellNum()

2007-04-09 Thread Levi Strope
Hello, In my code I'm using HSSFRow.getLastCellNum(), part of org.apache.poi.HSSF.usermodel to fetch the last cell number contained within the row I am currently on. I do this so I can iterate through each cell value and output it's contents. The description for this method is as follows:

Re: hi plsss help me out

2007-04-09 Thread Rajeshwar Mothe
hi sir My requirement is to generate a resume in MSWORD format using HWPF (POI) i retrieved values from Database and alredy displayed in JSP page called as resume.jsp now i want to display that data in a MSWORD using HWPF i am new to HWPF how i need to proceed and please send me sample

Re: hi plsss help me out

2007-04-09 Thread zahurul
There was a mistake on my previous mail. This is OK: import java.io.FileInputStream; import org.apache.poi.hwpf.usermodel.*; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.*; public class HWPF { public static void main(String[] args) throws Exception{ HWPFDocument