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?
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:
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
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:
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
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