如何将activex mfc控件保存到powerpoint 365(pptx文件扩展名)?

编程入门 行业动态 更新时间:2024-10-10 23:20:17
本文介绍了如何将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格式 [ ^ ]。这意味着您可以使用例如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文件扩展名)?

本文发布于:2023-10-31 10:07:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545767.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   如何将   文件扩展名   activex   mfc

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!