Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Everyone,

I hope you are doing well ?

I have an issue with the mfc activex control I implemented some years ago.
When I paste it with his data onto powerpoint, I can manipulate it like being pasted on a winform but the issue is the storage onto pptx file format. When I reload the pptx saved file, it does not contain the persisted data done via IPersistStorage interface. When I reload the ppt file generated, it has the data back available.

Cna somebody explain me what is the new strategy to persist the content inside the pptx file format ?

Thank you very much in advance for all kind of information.
All the best to you.
MiQi.

What I have tried:

ppt is still using the compound file system compared to pptx which may be decrypted by just changing his extension to zip.

It dumps a dolfer structure like that:

|
| [Content_Types].xml
|
+---_rels
|
|
+---docProps
|
|
+---ppt
|+-- activeX
activeX1.xml

activeX1.bin


Does somebody how this .bin file is generated from the invocation if IPersistStorage::Save. After the save completion, I do not see where all the storage blob has been stored. I also saw IPropertyBag interface while surfing the web but it does not seem to be the right candidate for the entire storage data persistency and in result generate this apparently missing .bin file / activatex control.

Does somebody have an idea ?
Thank you very much in advance
Best regards,
MiQi
Posted
Updated 21-Sep-18 7:09am
v2

1 solution

I'm not sure i understand you well, but...

A presentation of PowerPoint application 2007 (and higher) is in OpenXml format[^]. This means that you can open it (and view) using, for example, 7-zip.

For further details, please see:
Structure of a PresentationML document (Open XML SDK) | Microsoft Docs[^]
[MS-OE376]: Embedded Control Persistence Binary Data Part[^]
 
Share this answer
 
Comments
SuperMiQi 21-Sep-18 9:07am    
Hello Sir,

Thank you for your reply.
It is this kind of information I am looking for and which interface needs to be covered in the activeX control to apply the binary persistency. Currently a save action is invoked but nothing is stored in the pptx file under the ActiveX section.

Do you have an idea how the .bin file is generated ?

Thank you very much in advance.
Best regards
MiQi
Maciej Los 21-Sep-18 9:14am    
Sorry, but i have no idea how .bin file is generated.
Maybe this might help you: [MS-CFB]: Introduction[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900