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");
doc.UpdateListLabels();
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);
}
}