Powerpoint 2007 - 插入动态数据
所以我发现Powerpoint 2007没有书签功能。所以我不能只是将动态数据插入演示文稿中。另外,没有自动启动事件处理程序,但我找到了一种通过编辑 XML 数据来实现的方法。现在可以了,我有一个按预期运行的自定义事件处理程序。
现在,我尝试通过添加插入的标签来解决无书签功能。由于标签有名称,我可以为 Caption 属性分配一个值。该值可以是动态数据。 这确实有效,耶!但是,此演示文稿具有自定义字体,并且字体嵌入至关重要。现在我发现 PowerPoint 2007 似乎不支持在标签上嵌入字体。按钮和文本框可能也不是。即典型的 Visual Studio 控件。
还有其他方法可以解决这个问题吗?普通文本占位符没有 ID。 但我还能瞄准他们吗?这只是我试图放置动态数据的幻灯片设计页脚中的一些文本。
so I've found that Powerpoint 2007 has no bookmark functionality. So I can't just insert dynamic data into a presentation. Also, there are no autostart event handler, but I found a way of doing it by editing the XML data. This now works, I've got a custom event handler that is run as expected.
Now, I tried to solve the no bookmark functionality by adding a label insted. Since a label has a name I can assign the Caption property a value. And that value can be dynamic data.
And this actually works, yay! BUT, this presentation has a custom font and font embedding is crucial. And now I've found that PowerPoint 2007 doesn't look to support font embedding on labels. And probably not buttons and textboxes as well. That is, the typical visual studio controls.
Are there any other ways of fixing this? A normal text placeholder doesn't have an ID.
But can I target them anyway? It's just some text in the footer of a slide design that I'm trying to put dynamic data.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我找到了如何在 PowerPoint 2007 中定位文本框。
现在的问题是如何自动运行它。新线程。
Ok, so I found out how to target textboxes in PowerPoint 2007.
The problem now is how to run this automatically. New thread for that.