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

Free Support Forum - aspose.com

Formatting is lost when invoking Aspose.Words.Document.UpdateFields()

Hi,


When invoking the method Aspose.Words.Document.UpdateFields(), some formatting is lost on my document. For example, entire paragraphs are removed.

This is happening with the latest version of Aspose.Words.dll (14.1.0.0)

This can be verified with the attached document and the piece of code below. Notice the text under the “Sagsfremstilling” section (1.1) is well formatted into separate paragraphs before invoking the code. Afterwards the paragraphs are lost and all text is displayed in one line.


var doc = new Aspose.Words.Document(“debugoutput.docx”);

doc.UpdateFields();

doc.Save(“debugoutput2.docx”);

Hi Joao,

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-9791. 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-9791) have been fixed in this .NET update and this Java update.


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