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 ?
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.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.