Hi my question is given a file name can we create a word 2003 document using
poi. I created .doc files in java but when i use them in poi it gives error
as unable to read heder etc. here is the snippet
f = new File(filename);
try {
//dont replace files
//if (!f.exists()) {
f.createNewFile();
//}
} catch (Exception e) {
e.printStackTrace();
}
so now is there a way to do same with some poi class?? as the files created
by the above code is not readable by my program, whereas if i create file
mannually by ms word it works.
so can we create a new word file by a program using the poi api, and i
think that would be truncated or will be created so that i can further read
it in program and enter text in to it. please help!!
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/Can-we-create-a-word-2003-document-file-tp5710091.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]