Free Support Forum - aspose.com

First Bullets with not the same style in PDF vs Word

Hello,


You’ll find in attachment two version of the file I am generating. One in PDF and one in docx.

As you can see, in docx the last list with bullets :

·
<span style=“font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:“Arial Narrow”,“sans-serif”;mso-fareast-font-family:“Arial Narrow”;
mso-bidi-font-family:“Arial Narrow””>fewfwefw <o:p></o:p>

· fwergerg

· gerge


It is correct but in the pdf the first bullet is in italic (I guess it is because of the text before that is in italic too)

Is there anywai to prevent this ?

Thanks,

Guillaume

Hi Guillaume,

Thanks for your query. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSNET-7006 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

Please use the following code snippet as a workaround.

Document doc = new Document(MyDir + "in.docx");

foreach (Aspose.Words.Lists.List list in doc.Lists)

{

list.ListLevels[0].Font.Italic = false;

}

doc.Save(MyDir + "AsposeOut.pdf");

We apologize for your inconvenience.

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


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