Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create PDF / Word (Doc) file within app

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).

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?

EDIT: 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?

like image 757
Siddharth Lele Avatar asked Dec 13 '10 14:12

Siddharth Lele


People also ask

Can you save as PDF in Word app?

Save as PDF on Microsoft Word for Android Step 1: Tap on the three-dot menu in the top-right corner of the app and then click on print. Step 2: The Save as PDF option will show up in the top-left corner if you don't have a printer connected to your phone.

How do I convert a Word document to PDF on my phone?

Click on the menu and choose to print. 4. Use Save as PDF option to convert word file to PDF.


1 Answers

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

like image 89
HamoriZ Avatar answered Nov 02 '22 00:11

HamoriZ