使用 Office-JS 在 Powerpoint 中锁定编辑控制

发布于 2025-01-14 04:42:30 字数 345 浏览 3 评论 0原文

我已阅读 Microsoft 有关 Powerpoint 插件的文档:( https://learn.microsoft.com/en-us/office/dev/add-ins/powerpoint),但我找不到以下用例的解决方案:

我需要内容控件可以插入图像、文本并为其设置标签以及阻止用户编辑控件的可能性。

您知道哪个控件可用于此用例或者 Powerpoint 是否支持此功能?

谢谢

I've read the documentation that Microsoft has about Powerpoint addins: (https://learn.microsoft.com/en-us/office/dev/add-ins/powerpoint), but I can't find a solution for the following usecase:

I need a content control that has the possibility to insert images, text and set tags to it as well as the possibility to block the user from editing the control.

Do you know which control can be used for this usecase or if the powerpoint supports this?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人事已非 2025-01-21 04:42:30

PowerPoint 没有内容控件。只有Word 可以。在 PowerPoint 中,图像和文本块都是“形状”。您可以通过使用 PowerPoint 特定对象模型中的形状和标签 API 以编程方式将形状添加到演示文稿并以编程方式标记它们。

PowerPoint doesn't have content controls. Only Word does. In PowerPoint, images, and text blocks are "shapes". You can programmatically add shapes to the presentation and programmatically tag them by using the Shapes and Tags APIs in the PowerPoint-specific object model.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文