Hello, i'm trying to make a simple Java program to open an existing word-document, change something and save it as .html-file.
The part which is not working is to save it as .html . The problem is, i got the html-file but it's only a renamed doc-file. So not really a .html-file which I can work with.
This is what I found with Google:
Object oWordBasic = Dispatch.call(oWord, "WordBasic").getDispatch();
Dispatch.call((Dispatch) oWordBasic, "FileSaveAs", path);
What I have to do, to get a html-file as output?
Thank you in advance.