Hi Aspose,
We have upgraded Aspose.Words from 13.11.0.0 to 15.8.1.0 and seen this bug. Here is the sample block of codes to demonstrate the issue:
paragraph.ParagraphFormat.Style = newStyle;
foreach (Run run in paragraph.Runs)
{
…
}
In earlier version (13.11), after assigning [newStyle] to [paragraph], all the runs in that paragraph will also be assigned to that styles (if it does not have any direct style). And the runs already have the style/font needed.
But in this upgraded version (15.8), the newStyle is properly assigned to the paragraph (for example the paragraph having font name = “arial”) but not applied for the runs (for example, the run.Font still shows “times new roman” instead of “arial”).
This is a blocking issue for our product upgrade/development. Please help ASAP.
Regards,
An@A