Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to read .doc, .docx, .xls files in android [duplicate]

I am trying to show the PDF & .DOC files in android. I am able to show PDF files, but I have problem to show the .DOC, .DOCX, .PPT and .xls files. With the help of WORD-EXTRACTOR we can fetch the text of the doc file but the problem is it only gives text not images from .doc file.

I searched to convert the doc file to PDF file but didn't succeed. Is it possible to convert the .doc files to PDF on device ?

If we want to show the .doc or .docx document in the android devices so which library is useful to do so? Any suggestions?

like image 611
Wolverine Avatar asked Apr 02 '12 10:04

Wolverine


People also ask

How can I view docx files on Android?

Using Microsoft Word for Android to Open Doc/Docx FilesGrab the Microsoft Word app on the Play Store. Once the app finishes the installation process, tap the '. doc' or '. docx' file on your phone, then select Word from the list of apps available.


1 Answers

i suggest you do

doc to html
html to pdf

Convert Word doc to HTML programmatically in Java

theres no successful pure java "doc to pdf" but there are good "doc to html" and "html to pdf" ones

like image 157
kommradHomer Avatar answered Sep 22 '22 12:09

kommradHomer