本文介绍了有没有任何Api在Android的ms办公室word(.doc / .docx)到(image / html / xml / pdf)转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让android应用程序,它应该采取 ms的Word文件 ie( .doc / .docx )文件作为输入,转换为pdf作为最终输出。
我在Android中搜索pdf转换,但我得到的输出是不正确的。我尝试与 jWordConvert(Qoppa软件库),它转换word到pdf非常好,但如果我们尝试在android它给出错误,

I am trying to make android application which should take ms word files i.e.(.doc/.docx) files as input and convert it into pdf as final output.I searched for pdf conversion in android but the output i got was not proper. i tried with jWordConvert(Qoppa software library),it converts word to pdf in java very well but if we try in android it giving error,

转换为dalvik格式失败,错误1

conversion to dalvik format failed with error 1.

c $ c> apache poi 库,但是如果我的word文件包含图像或表格,如果我们用apache poi尝试 apache tika 同样的结果。

also i tried with apache poi library but again it is not showing proper output if my word files contains images or tables..also if we tried with apache tika with apache poi, again same results.

Itext 也有,但它的主要用途是从images / html转换为pdf, out of expectation ..

Itext is also there but its main use is to convert from images/html to pdf, but again output is different from outr expectation..

所以我的请求是,有没有任何api应该支持Android应用程序的word到html / pdf /图像转换与正确的输出,如果我的字文件包含tyables,images等等。
也可以去JNI,有任何anather方法。

So my request is, Is there any api which should support android application for word to html/pdf/image conversion with proper output if my word file contains tyables, images etc.also can i go for JNI, is there any anather way to do it.

请回复。 。

推荐答案

是一个应用程序,它可以实现你想要实现的功能。

Here is an app which does what you want to realize.

如果应用程序商店中已有应用程序,对我来说很容易知道使用什么和如何使用...

If there is an app already in app store, for me is very easy to know what that use and how is using...

我希望它对你有帮助位!

I hope it helps for you a bit!

这篇关于有没有任何Api在Android的ms办公室word(.doc / .docx)到(image / html / xml / pdf)转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 08:31