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

Free Support Forum - aspose.com

Wrong font formatting for list item


In case a list item is numbered and the font for the number is not specified in Word (unknown font name, unknown font size, …), Word seems to apply the paragraph font on the number.

However, i cannot reproduce this behavior using your API because it returns wrong values.

In the attached example, titles have font “Calabria” with size 11pt. And the numbers of these titles use the same font properties.
Using your API on paragraphs containing titles i get the following values :
- paragraph.getListFormat().getListLevel().getFont().getName() returns “Time New Roman” .
- paragraph.getListFormat().getListLevel().getFont().getSize() returns 10 .

Is there a way to get correct values ?

Hi Jean-Pascal,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10219. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-10219) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan