在应用程序中创建 PDF/Word (Doc) 文件 [英] Create PDF / Word (Doc) file within app

查看:29
本文介绍了在应用程序中创建 PDF/Word (Doc) 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种明确的方法可以在应用程序中创建 PDF 或 MS Word Doc 文件并立即通过电子邮件发送(并且可能还存储它).

Is there a definitive method of creating either a PDF or a MS Word Doc file within the app and email it immediately (and possibly, also store it).

我已经尝试了很长时间并找到了 JAVA 库:apwlibrary 和 iText.但是他们都没有提供任何教程.

I have been trying for quite some time and have found out the JAVA libraries: apwlibrary and iText. But both of them dont provide any tutorials of sorts.

有人能指出我正确的方向吗?

Could anyone point me in the right direction?

想想看,是否可以使用在线PDF生成器,首先将数据发送到服务,然后检索结果并将其保存在手机上?

Come to think of it, is could an online PDF generator be used, first by sending the data to the service, then retrieve the result and save it on the phone?

推荐答案

我会推荐 apache fop http://xmlgraphics.apache.org/fop/您可以使用标准 FOP 生成 pdf.

I would recommend apache fop http://xmlgraphics.apache.org/fop/ you can use standard FOP to generate pdf.

这篇关于在应用程序中创建 PDF/Word (Doc) 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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