How to export properties of content control into output HTML using Java

Hi,

I am fetching the html of rich text sdt using the following code :

HtmlSaveOptions opts = new HtmlSaveOptions(SaveFormat.HTML);
opts.setPrettyFormat(true);
std.toString(opts);

but in the html that i get , i am not able to differentiate between different types of inline sdt. My paragraph has plain text sdt , combo box sdt and drop down list sdt. But the html only gives me tag and title attribute of sdt.

Is there any way in which i can the html which has can complete information of sdts.

Attaching document as well html from one of the rich text sdt.

sdt_html_issue.zip (12.1 KB)

@saurabh.arora

Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to HTML using MS Word, you will get the same output.

The information exported in output HTML for SDT is roundtrip information i.e DOCX to HTML and HTML to DOCX conversion. These are aw-* CSS properties of the corresponding HTML elements.

Could you please share your expected output HTML along with more detail about your requirement? We will then provide you more information about your query.