OLE Renaming

I’m creating a docx with a handful of OLEs. It works well, however when the user opens the file and makes any changes then resaves it, the OLEs are renamed and modified. This is an issue because later I am generating hash values of the OLEs to check to see if the OLE document was modified. Attached is a before and after. Is there a way to force Apose to rename them?


@faith113 Unfortunately, there is no way to change internal names of OLE objects using Aspose.Words. If I understand correctly the OLE objects are renamed by MS Word, right? If so Aspose.Words cannot control this.

Correct, the OLE objects are being renamed (and hash values changed) by MS Word. I was hoping Aspose would be able to mimic whatever it is that Word is doing, like forcing some sort of compatibility or compression setting. It doesn’t sound like it can be done. Thank you.

1 Like