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

Free Support Forum - aspose.com

UpdateFields made field text bold unexpectedly using Aspose.Words

Hi,

When running UpdateFields() on a document, I noticed the field text in the footer was refreshed in bold even if the field was not in bold and the field style is set to be preserved.

Code:
var document = new Document(“test.docx”);
document.UpdateFields();
document.Save(“testout.docx”);

I’ve attached the test and output file for your reference. You can see the field in the footer of original document is not in bold but in the output document it is bold.

Could you please take a look into this?

Thanks,

test.zip (23.4 KB)

@ServerSide527,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15857. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi, Tahir. I have the same issue when I updateFields() in aspose I see the text to be in bold after save.
Any solution work around for it?

@kiran5388 Unfortunately, the issue is not resolved yet. Could you please attach your input, output document and code that will allow us to reproduce the problem? We will check whether you have encountered the same problem.