开发者

AS3: Possible to read ppt file?

开发者 https://www.devze.com 2022-12-31 09:20 出处:网络
Is it possible to get the content of a ppt file with 开发者_Python百科as3? Possibliy similar to loading and reading an xml?Technically speaking, yes. You can load a PPT file to your SWF using a URLLoa

Is it possible to get the content of a ppt file with 开发者_Python百科as3? Possibliy similar to loading and reading an xml?


Technically speaking, yes. You can load a PPT file to your SWF using a URLLoader whose dataFormat is set to URLLoaderDataFormat.BINARY and write code to parse it based on the PPT binary file format released by Microsoft. In practice, I'd say that's not going to be an easy task.

Consider open sourcing your ActionScript API for parsing PPT once you're done with it ;-)


There's certainly no quick solution, like the XML and XMLList classes for XML, and so whilst it may be possible in theory if you write your own classes to read in the no-doubt far more complex PPT format, in practice it isn't.

0

精彩评论

暂无评论...
验证码 换一张
取 消