Hi,
After using UpdateFields() on a Word document using Aspose.Words, I noticed the file is corrupted.
Code:
Document doc = new Document(@".\test1.docx");
doc.UpdateFields();
doc.Save(@".\out.docx");
It seems that after updating fields, the xml structure of the embedded chart was unexpectedly changed and the Word document cannot be opened again.
I’ve attached my test files for your reference. Could you please help us take a look?
test.zip (230.2 KB)
It would also be very helpful if we could have some workaround to have the fields updated without affecting the chart.
Thanks,