Hallo,
I’m trying to save word document to html file (see attached files):
…
Document thisDoc = new Document(“doc.docx”);
thisDoc.acceptAllRevisions();
HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.HTML);
options.setExportXhtmlTransitional(true);
thisDoc.getSaveOptions().setExportImagesFolder(docsPath);
String tempFilePathThis = “outFile.html”;
FileOutputStream thisOut = new FileOutputStream(tempFilePathThis);
thisDoc.save(thisOut, options);
…
Word document contains some Lists. At the result I have html file where lists converted to mix of
and
- tags and numbers of items are completely differs wrom word ducument.
Is it possible to use only and tags for save options?
I’m using Aspose Words for Java 11.4.0
Thanks.