1.11M Members

Open doc file same as view as html in gmail

 
0
 

Hi,

I want to open user's uploaded .doc,.docx,.txt or .pdf as html (open in browser)

I can open pdf without doing any extra coding. but i can't open other formates.

I want to open files when user click on the link "Show File" at that time file will be open in browser.(same as attachment can view in browser in gmail using view as html option)

Please help me to sort out this problem.

Thanks in advance. :)

 
0
 

I haven't found a way to open a Word doc from your program and consistently retain all of the formatting:

You can open PDF, Powerpoint and TIFF files using an embedded Google Docs Viewer

There are a number of ways to open spreadsheet files.

There are a couple of utilities that will extract text from your Word document but this isn't that same as a reader to display the original document.

 
0
 

Hi,

Thanks for reply.

yes i know about google docs but my files formate is .txt also.

and you are right that we can't display the .doc file with formating.

but if its possible without formatting then I want to show it without formating

same as gmail attachment .doc and .txt opens

if you have any idea related to that. then please guide me to solve this problem.


Thanks

 
0
 

thanks for the link.but its not work for me.

so i got another solution for the same. :)

Question Answered as of 3 Years Ago by chrishea
 
0
 

Can you please post how you have solved this issue?

 
0
 

Yes. I used Scribd api for convert docs into html like version.

I hope this helps you. :)

 
0
 

Thank You. I will try to do the same.

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: