Converting DOCX with ordered list to HTML without CSS

Hi,

Aspose converts DOCX with ordered list to HTML correctly. However, it uses CSS to generate numeration in a sublevel, for example, 3.1, 3.2 and 3.3.
Is it possible to generate sublevels without CSS?

Please see attached the files to help you with this topic.files.zip (10.8 KB)

@cpatricio76

Could you please ZIP and attach your expected output HTML for your DOCX here for our reference? We will then provide you more information on it.

@tahir.manzoor
I am not an expert in user interface, but it could be something like in the file attached here.
In other words, remove the css file that generate the numbers for the sublevels and put the numbers in the html.

expected.zip (567 Bytes)

@cpatricio76

Please use the following code example to get the desired output. Hope this helps you.

Document doc = new Document(MyDir + "TestDocxToHTML.2html.docx");
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.PrettyFormat = true;
htmlSaveOptions.ExportListLabels = ExportListLabels.AsInlineText;
doc.Save(MyDir + "20.1.html", htmlSaveOptions);

@tahir.manzoor
That is what I was looking for. Thank you.