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

Free Support Forum - aspose.com

ListFormat.ListLevel.Font does not report bold attribute properly

If you load the attached doc and use the following code you’ll see that Aspose’s ListFormat.ListLevel.Font.Bold property does not reflect the fact that some of the list item numbers are bolded in Word. The code always reports bold to be false, even though Word displays the numbers as bolded.

ListMixing.zip (12.2 KB)

     Document doc = new Document(@"ListMixing.docx");
     var paras = doc.GetChildNodes(NodeType.Paragraph, true);
     foreach (var para in paras)
        Paragraph p = (Paragraph)para;
        if (p.IsListItem)
           Console.WriteLine("The numbering for this item has bold set to {0}", p.ListFormat.ListLevel.Font.Bold);


Thanks for your inquiry. We have tested the scenario and noticed the reported issue, so we have logged a ticket WORDSNET-15727 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.


The issues you have found earlier (filed as WORDSNET-15727) have been fixed in this Aspose.Words for .NET 17.10 update and this Aspose.Words for Java 17.10 update.