如何将activex mfc控件保存到powerpoint 365(pptx文件扩展名)? [英] How to persist activex mfc control into powerpoint 365 (pptx file extension) ?

查看:110
本文介绍了如何将activex mfc控件保存到powerpoint 365(pptx文件扩展名)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我希望你做得好吗?



我有一个问题几年前我实现的mfc activex控件。

当我将它的数据粘贴到powerpoint上时,我可以像粘贴在winform上一样操作它,但问题是存储到pptx文件格式。当我重新加载pptx保存的文件时,它不包含通过IPersistStorage接口完成的持久数据。当我重新加载生成的ppt文件时,它有可用的数据。



Cna有人解释我在pptx文件格式中保留内容的新策略是什么?



非常感谢您提供各种信息。

祝您一切顺利。

MiQi。



我尝试了什么:



ppt仍在使用复合文件系统与pptx相比,可以通过将其扩展名更改为zip来解密。



它会转储像这样的dolfer结构:



|

| [Content_Types] .xml

|

+ ---_ rels

|

|

+ --- docProps

|

|

+ - --ppt

| + - activeX

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





如果IPersistStorage :: Save,有人如何从调用生成这个.bin文件。保存完成后,我看不到所有存储blob的存储位置。我在浏览网页时也看到了IPropertyBag界面,但它似乎不是整个存储数据持久性的合适候选者,结果产生了这个显然缺少的.bin文件/ activatex控件。



有人有想法吗?

非常感谢您提前

祝你好运,

MiQi



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

推荐答案

我不确定我是否理解你,但是......



PowerPoint应用2007的演示文稿(和更高)在 OpenXml格式 [< a href =https://docs.microsoft.com/en-us/office/open-xml/understanding-the-open-xml-file-formatstarget =_ blanktitle =New Window> ^ ]。这意味着您可以使用例如7-zip打开它(和查看)。



有关详细信息,请参阅:

PresentationML文档的结构(Open XML SDK) Microsoft Docs [ ^ ]

[MS-OE376]:嵌入式控制持久性二进制数据部分 [ ^ ]
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[^]


这篇关于如何将activex mfc控件保存到powerpoint 365(pptx文件扩展名)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆