如何使任何文件格式(DOC,PPT,XLS)成Android的打印格式? [英] How to render any file format(doc,ppt,xls) into printable format in android?

查看:161
本文介绍了如何使任何文件格式(DOC,PPT,XLS)成Android的打印格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个andoid应用程序,需要打印一些documents.Documents可能会在不同的格式一样DOCX,PPT,XLS。现在,我该如何呈现,在打印格式等格式的Andr​​oid?

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆