Solved

View word documents in browser on a webpage

Posted on 2013-05-26
9
296 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 108

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
 
LVL 83

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now