import com.spire.doc.*;
public class WordToHtml {
public static void main(String[]args) {
Document doc = new Document(“sample.docx”);
doc.saveToFile(“ToHTML.html”,FileFormat.Html);
}
}
import com.spire.doc.*;
public class WordToHtml {
public static void main(String[]args) {
Document doc = new Document(“sample.docx”);
doc.saveToFile(“ToHTML.html”,FileFormat.Html);
}
}