Please see files attached below
Bullet Issue.zip (11.9 KB)aspose result.zip (1.2 KB)
As shown in the following screenshot, your source Word document (Bullet Issue.docx) actually contains Bulleted List paragraphs.
And you can use the following Java code to instruct Aspose.Words to output all such list labels as HTML native elements i.e. export them as <ul>
and <li>
tags.
Document doc = new Document("E:\\Temp\\Bullet Issue\\Bullet Issue.docx");
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions(SaveFormat.HTML);
htmlSaveOptions.setPrettyFormat(true);
htmlSaveOptions.setExportListLabels(ExportListLabels.BY_HTML_TAGS);
doc.save("E:\\Temp\\Bullet Issue\\awjava-20.5.html", htmlSaveOptions);
Please let me know if I can be of any further assistance.
That helped to fix the issue. Thank you!