Shapes are duplicated and moved

Hi,

When saving this document the shapes (cartography) are duplicated and moved. This problem is present when saving as HTML, HTMLFIXED and PDF

Tested in version 21.11

Note that grouping the shapes corrects the problem.

Can you look ?

element.zip (4.2 MB)

@ISIWARE,
We have tested the scenario and managed to reproduce the same issue at our side. The problem line of your code which causes the unexpected behavior is the one with document.UpdateFields() method.

For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET - 22978. 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-22978) have been fixed in this Aspose.Words for .NET 21.12 update also available on NuGet.