?
Solved

View word documents in browser on a webpage

Posted on 2013-05-26
9
Medium Priority
?
307 Views
Last Modified: 2013-06-11
Hi,

What is a good, reliable and preferably free tool or method to view word 2003-2007-2010 documents online on a webpage, like in an iframe?

Thanks!
0
Comment
Question by:peps03
9 Comments
 

Expert Comment

by:carlos_huggins
ID: 39197871
Why don't you try

http://view.samurajdata.se/

is a GNU licensed project
0
 

Author Comment

by:peps03
ID: 39197946
Thanks, but when trying to view docx, i get an error.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39197979
You may find that a docx is just a doc, but encoded in the form of a zip archive.  You might be able to unzip and treat the resulting file like a doc.  I have never done this so I do not have a teaching example, but it seems like it might be a promising thing to pursue.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39198034
No, it's not that simple.  I have a 'docx' that contains less than 1k of text but the 'docx' file is 49,118 bytes.  Looking at it in Filealyzer, it has a lot of 'word/????.xml' like 'word/document.xml' and 'word/theme/theme1.xml' followed by PK which is usually the signature for PKzip.  It's not just a single Zip file but apparently a lot of little sections containing all the usual Microsoft formatting info whether you need it or not.
0
 

Author Comment

by:peps03
ID: 39198049
Hmm the Google file-viewer also doesn't open docx. (Although it says it does support it). On the other hand, dropbox does have  a tool to view docx in the browser.
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 39199002
Here is a free tool for viewing docx in Firefox. This one can convert the file to html to if you wish. I can't find any cross browser solutions for you though.

http://www.labnol.org/software/open-docx-files-in-firefox-as-html/5827/
0
 

Author Comment

by:peps03
ID: 39201836
hmm thanks. really need cross-browser.

any idea why the google file viewer isn't opening docx while it says it should?
0
 

Accepted Solution

by:
peps03 earned 0 total points
ID: 39225497
https://docs.google.com/viewer works...
but..
you have to add

AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx

to your htaccess!
0
 

Author Closing Comment

by:peps03
ID: 39237117
fixed it!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question