如何使任何文件格式(DOC,PPT,XLS)成Android的打印格式? [英] How to render any file format(doc,ppt,xls) into printable format in android?
问题描述
我开发一个andoid应用程序,需要打印一些documents.Documents可能会在不同的格式一样DOCX,PPT,XLS。现在,我该如何呈现,在打印格式等格式的Android?
I am developing a andoid application which need to print some documents.Documents may be in different format like docx,ppt,xls. Now how can i render that other format in printable format in android ?
在此先感谢!
推荐答案
有关的发展,我认为你应该使用一些第三方库
或开放Office源
开发这类应用程序。
For development, I think you should use some third party library
or open office source
for developing such kind of application.
或者你也可以使用 Apache的doc4j开源项目
的发展。一些库以.so格式,所以你必须使用NDK(JNI)来构建它。
Or you can also use apache's doc4j open source project
for development. Some libraries are in .so format so you have to build it using NDK(JNI).
有关使用apache.poi <一读.doc文件的演示示例href="http://javamix.word$p$pss.com/2009/05/14/reading-data-from-the-doc-file-by-using-apache-poi-api/"相对=nofollow>通过使用Apache POI API 读取.doc文件数据
A demo example for reading .Doc file using apache.poi reading data from the .Doc file by using Apache POI api
这篇关于如何使任何文件格式(DOC,PPT,XLS)成Android的打印格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!