用于从 Microsoft PowerPoint 演示文稿中提取数据的 Cocoa API

发布于 2024-12-16 16:54:28 字数 358 浏览 4 评论 0原文

Cocoa(不是 COCOA-Touch)中是否有可用的 API 用于基于 MAC OS 的应用程序,可以从 Microsoft PowerPoint 演示文稿中提取数据? 我需要它用于基于 Mac OS X 的应用程序,在该应用程序中我需要阅读演示文稿的内容。

我需要分别提取幻灯片和模板。具体来说,我需要:

  1. 将幻灯片提取为图像。
  2. 将模板提取为单独的 PowerPoint 模板文件。
  3. 仅提取幻灯片中的文本。

我做了很多谷歌搜索,但只发现 Applescript 可以与它​​交互。但它打开演示文稿,然后只有它与演示文稿交互。

如果没有可用的 API,那么最好的方法是什么?

Is there any API available in Cocoa(not COCOA-Touch) for a MAC OS based app that can extract data from a Microsoft PowerPoint presentation?
I need it for a Mac OS X-based application in which I need to read the contents of a presentation.

I need to extract the slides and template separately. Specifically, I need to:

  1. Extract slides as images.
  2. Extract the template as a separate PowerPoint template file.
  3. Extract only the text in the slides.

I have done lot of googling, but found only that Applescript can interact with it. But it opens the presentation and then only it interacts with the presentation.

If there’s no API available, then what could be the best way to do this?

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

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

发布评论

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

评论(1

橘香 2024-12-23 16:54:28

所有 Microsoft Office 应用程序都有一个 AppleScript 界面,至少允许对文档的内部结构进行部分访问。我没有使用 PowerPoint 的经验,但 Excel 工作得很好。

您可以通过 google 搜索 Microsoft AppleScript Reference。

All Microsoft Office apps have an AppleScript interface that allows at least some access to the documents' inner structures. I have no experience with PowerPoint, but Excel works fine.

You can google for Microsoft AppleScript Reference.

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