We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Docx to HTML conversion issue with text position after Bullet symbols using Java

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.

Hi Vyacheslav,

Thanks for your query. I have managed to reproduce the same problem at my end. I have logged this issue as WORDSNET-6493 in our issue tracking system. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-6493) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.