问题描述
我有我需要能够添加到res文件夹在我的应用程序,很多PowerPoint presentations。它们会占用大量的内存,如果我不把它们保存为XML,PDF或XPS。 PDF和android合不来很容易在所有所以我选择XML或XPS的路径。我需要这些能够查看和/或再编辑成一个位图。
I have many PowerPoint presentations that I need to be able to add to the res folder in my app. They will take up a lot of memory if I do not save them as XML, PDF, or XPS. PDF and android do not come together very easily at all so I choose the path of XML or XPS. I need these to be able to be viewed and/or then edited as a bitmap.
我不明白怎么一个PowerPoint XML是能/实施进行查看或绘制到屏幕上。我也不明白,我怎么会做同样的使用PowerPoint XPS,但只需要一个方法(XPS或XML)。我不知道,PDF已经慢慢变成不是一种选择,至于文件的复杂性和不存在的标准API观众的。
I do not understand how a PowerPoint XML is able/implemented to be viewed or drawn onto the screen. I also do not understand how I would do the same with PowerPoint XPS, but only one method(XPS or XML) is needed. I do know that PDF has slowly become not an option as to the complexity of the file and that there are no standard viewer API's.
所以基本上...
- 我需要显示/查看XML或XPS PP presentation作为机器人 位图
- 我可以使用XML和Java
- 我已经做了研究,但我还需要了解的基本因素进入为此实施
我会附上code以下,但大小是堆栈溢出太大。我会建议与测试PP和保存为PowerPoint XML格式,如果您需要。
I would attach code below but the size is too large for Stack Overflow. I would recommend testing with PP and save as PowerPoint XML format if you need to.
感谢你这么多的帮助。
推荐答案
我不认为有将是Android上的一个简单的方法,为您解析BinaryData是在PowerPoint XML文件present。
I don't think there is going to be an easy way on Android for you to parse the BinaryData that is present in a powerpoint XML file.
我想你会更好保存幻灯片页图像,这样你已经有他们在的东西,很容易使成位图对象,并编辑,如你所愿。
I think you'd be better off saving your pp slides as images, that way you already have them in something that is easy to make into a Bitmap object and edit as you wish.
这篇关于Android中查看PowerPoint XML作为位图或JPEG或PNG图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!