Improve company productivity with a Business Account.Sign Up


View word documents in browser on a webpage

Posted on 2013-05-26
Medium Priority
Last Modified: 2013-06-11

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?

Question by:peps03

Expert Comment

ID: 39197871
Why don't you try

is a GNU licensed project

Author Comment

ID: 39197946
Thanks, but when trying to view docx, i get an error.
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.
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for 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.

Author Comment

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

Author Comment

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

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

Accepted Solution

peps03 earned 0 total points
ID: 39225497 works...
you have to add

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

to your htaccess!

Author Closing Comment

ID: 39237117
fixed it!

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
I recently worked on a Wordpress site that utilized the popular ContactForm7 ( plug-in that only sends an email and does not save data. The client wanted the data saved to a custom CRM database. This is my solution.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

608 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