Hello, use the aspose. wrod. java package To convert the HTML file inTo a wrod table.
The data lines and table headers are incorrect, and the code is as follows:
Document Doc = new Document("E:\\测试文档\\1.html");
Doc.get…...Document doc = new Document("E:\\测试文档\\1.html"); doc.getCompatibilityOpti()...optimizeFor(MsWordVersion.WORD_2019); doc.save("E:\\测试文档\\1.docx", SaveFormat...