简体   繁体   English

在Objective-C中读取powerpoint pptx文件

[英]Reading powerpoint pptx file in Objective-C

I was asked to find a way to use pptx as input for a game using cocos2D on iphone. 我被要求找到一种方法来使用pptx作为在iphone上使用cocos2D的游戏的输入。 As far as I know pptx file use Office Open XML standard and should be fully readable, including informations on animations, in any programming language. 据我所知,pptx文件使用Office Open XML标准,应该是完全可读的,包括任何编程语言的动画信息。

However I only find examples/tutorial using docx files and I would like to know if such documentation exists for pptx files. 但是我只找到使用docx文件的示例/教程,我想知道pptx文件是否存在这样的文档。

I just spent two days on that topic, and I just can't find the strength to dive into Microsoft documentation. 我刚刚花了两天时间讨论这个话题,而我却找不到深入了解Microsoft文档的强度。

A .pptx file is just a ZIP file containing some images files and XML files. .pptx文件只是一个包含一些图像文件和XML文件的ZIP文件。 Wouter van Vugt's free e-book will help you understand the XML. Wouter van Vugt的免费电子书将帮助您理解XML。 Unfortunately the files contain a lot of boilerplate so it can take some time to find the bits you are interested in. 不幸的是,这些文件包含很多样板文件,因此可能需要一些时间才能找到您感兴趣的位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM