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

Free Support Forum - aspose.com

Unique Shape Identification Is Duplicated

Please browse the following documents.
第一单元第四课时.pptx.zip (816.4 KB)
We found that the unique identification of the shape was duplicated, as shown in the following figure.
snapshot1.png (40.4 KB)
snapshot2.png (40.4 KB)
snapshot3.png (40.4 KB)
snapshot4.png (40.4 KB)
snapshot5.png (40.5 KB)
Hopefully, you can give some attention and guidance on this issue.

Thank you for reporting the issue.

I’ve reproduced the problem with identification of the shapes and added a ticket with ID SLIDESJAVA-38911 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when the issue is resolved.

It would be great if you could share the following additional information:

  • OS version on which the code was executed
  • JDK version in your app

We will then also test a solution in an environment similar to yours.

JVM: OpenJDK 64-Bit Server VM (17.0.1+12-39, mixed mode, emulated-client, sharing)
Java: version 17.0.1, vendor Oracle Corporation
OS: macOS 12.6
SDK: 22.8

Thank you for the additional information. I’ve forwarded it to our developers.

Thank you for your reply and attention.

The problem has been confirmed. As a workaround, you can try getOfficeInteropShapeId method.




Our developers have investigated the case. OfficeInteropShapeId is a unique identifier (we will fix the documentation later). This ID can be used to assist in uniquely identifying this object so that it can be referred to by other parts of the document.

UniqueId is an internal (programmable) identifier of the object and can be reassigned by the user to use it in internal applications or PowerPoint Add-ins. Since this parameter can be installed by the user (and in this very presentation this is take place), this identifier is not unique.

Thank you very much, this method solved our problem.

We are glad to know that the issue has been resolved on your end. Thank you for using Aspose.Slides.