Hello r035198x
The above code is unable to read openoffice.org documents i.e Open Document Text(.odt) format files.Can You pleas tell me how to read odt documents,I mean are there other APIs available for that?Please reply....
User Profile
Collapse
-
hi there,
After trying with a few code snippets I found the following code working,but how do I read tables in the document???
//CODE
FileInputStream fis=new FileInputStream (filename);
HWPFDocument doc=new HWPFDocument(fi s);
String str="";
Object[] textStack=doc.g etTextTable().g etTextPieces(). toArray();
for (int...Leave a comment:
-
Hi r035198x,
I have just joined this forum..
I am using POI for converting doc to txt...but it reads/wites only first line of the text....I don't know where its going wrong...Can u help me out with some code snippets?
Thanx rupanu...Leave a comment:
No activity results to display
Show More
Leave a comment: