1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Displaying the contents of a document file (doc, docx, etc.)

Discussion in 'Programming/Internet' started by droopie, Oct 8, 2018.

  1. droopie

    droopie Guest

    I'm looking for a way to display the contents of an uploaded document file such as a .docx file.

    In Drupal 6 I used the iPaper module which did the trick as all I needed was api code to connect with the service, and the documents were able to be kept private.

    But for Drupal 7, I'm pretty sure the File entity (fieldable files) module should do the trick, but I'm not able to get it working for any files other than .txt.

    There are some Google viewer modules which I'm not sure what added functionality they have over the above module, but those don't appear to work correctly. One of them requires that files are public domain which doesn't work for this project due to privacy requirements.

    Some other modules like group docs viewer and ajax docs viewer charge a hefty monthly fee for displaying rendered files, but all I need is a simple open source docx viewer.

    What is the best way to proceed? Which modules are stable for production use?

    Best case would allow for user upload, file contents displayed under the actual file attachment, and the rendered document editable for the user.

    Note: i've gotten the google docs module to work but that doesn't allow for private files. google needs to access the file publicly in order to render. scribd field also works to some extent but has too many errors and bugs still. looking for a better, simpler solution.

    Login To add answer/comment
     

Share This Page