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

Free Support Forum - aspose.com

Issue with table as list item

Hi,

I have an issue with table as list item in word document. I use InsertHtml to build word document. Bullet or number is not shown up in both word and pdf documents, when table is there in the list as list item. Please check the content in attached document to know the problem.

Please let me know the solution for this.

Thanks,

Sowjanya R

Hello,

Thanks for the inquiry. I cannot reproduce the problem on my side using the latest version of Aspose.Words. It seems you are using an old version of Aspose.Words. The latest version of Aspose.Words is 10.4.0; you can download this version from here:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/category1188.aspx

I have used following code for testing .Output documents are also attached.

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

string html = "

  1. List item 2
  2. List item 3
";

builder.InsertHtml(html)

<span style=“font-size:12.0pt;line-height:115%;font-family:“Times New Roman”,“serif”;
mso-fareast-font-family:“Times New Roman”;color:#333333;background:white;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>Best
Regards,


<span style=“font-size:12.0pt;line-height:115%;font-family:“Times New Roman”,“serif”;
mso-fareast-font-family:“Times New Roman”;color:#333333;background:white;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>Nabeel
Ahmad

Yes, I am using old version of Aspose(9.5). Thanks for your response.