Other: GroupDocs.Viewer for .NET

Maintained by Picture of Marketplace Team Marketplace Team
This block is powered by the GroupDocs document viewer .NET library and allows you to seamlessly embed and display documents of more than 45 formats right on your Moodle website.
4 sites
1 fans
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6
With this block installed on your Moodle website, you can embed and display PDF and Microsoft Office documents, Visio diagrams, CAD and raster images on any page within your website. Unlike the cloud-based block we released earlier, this version can be used in conjunction with the document viewer .NET library. This gives you a number of benefits, because you can store and process documents on your own servers. There is no need for API calls to GroupDocs servers. 

 1. Based on HTML5 technology, GroupDocs.Viewer for .NET converts documents to a combination of SVG, HTML and CSS. This enables native text rendering and ensures that fonts always look sharp even when zooming in/out of the document. It also allows users to search for, select and copy text to the clipboard right from the documents embedded to your Moodle web-pages. 
 2. End-users don't have to install any plugins or other software - documents can be viewed from any modern browser that supports HTML5. 
 3. The viewer comes with an easy-to-use interface, which allows users to turn pages like slides, quickly jump to any page within the document, preview pages with thumbnails, print and download documents right from a web-browser. 


With GroupDocs Document Viewer for .NET you can embed and display files with the following formats:
  • Portable Document Format: .pdf
  • Microsoft Word: .doc .docx .docm .dot .dotx .dotm
  • Microsoft Excel: .xls .xlsx .xlsm .xlsb .xml
  • Microsoft PowerPoint: .ppt .pptx .pps .ppsx
  • Microsoft Visio: .vsd .vss .vst .vdx .vsx .vtx .vsdx .vdw
  • Microsoft Project: .mpp .mpt
  • Microsoft Outlook: .msg .eml .emlx .mht
  • OpenDocument Formats: .odt .ott .ods .odp
  • Rich Text Format: .rtf
  • Plain Text Format: .txt
  • Comma-Separated Values: .csv
  • HyperText Markup Language: .htm .html .mht .mhtml
  • XML Paper Specification: .xps
  • AutoCAD Drawing File Format: .dxf
  • Image files: .bmp .gif .jpg .png .tiff
  • Electronic publication: .epub

Please note. To use this block without any restrictions, you need to purchase a license for the GroupDocs.Viewer for .NET library. If you haven't got one yet, please feel free to download a free evaluation copy from the GroupDocs website, or contact sales for a 30-day fully-functional trial.

Detailed plugin installation instructions can be found here


Screenshot #0


Picture of Marketplace Team
Marketplace Team (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Mon, 26 May 2014, 5:17 AM
    Thanks for sharing this plugin with the Moodle community. Some formal issues were detected and reported by our automated plugin checker tool. Please review all the plugin checker results and fix the issues mentioned, if possible. These changes are typically pretty easy to make but if you have any questions just let us know. For now, I am going to mark this plugin as needing more work. Once you get these formal issues resolved, please use the link “Schedule this plugin for re-approval” so that the plugin code can be fully reviewed and approved by my human colleagues.
  • Picture of Marketplace Team
    Mon, 16 Jun 2014, 1:30 PM
    We fixed all issues, please review this plugin again.
    Best regards
    GroupDocs Marketplace team
  • Picture of David Mudrák
    Fri, 20 Jun 2014, 4:40 AM
    Hi. Thanks for sharing this plugin with the Moodle community.

    It looks like this plugin requires a third-party subscription based service. Since I am unable to test the functionality of the
    plugin, might we be able to setup a quick demo so that I can see the plugin in action?

    I noticed that the recommended boilerplate was not used in the version.php file. The boilerplate is recommended at the beginning of
    each file and makes explicit the GPL license. You may want to review http://docs.moodle.org/dev/Coding_style#Files to learn more
    about the boilerplate comments.

    I noticed some places that should pay attention to. As far as I can see, your block's instance_config_save() method accepts HTTP
    parameter 'url' (optional) and prepends it to all URLs generated. I have strong suspicion that this might allow malicious JS code
    execution easily. Also, why do youo use PARAM_TEXT for it? I would expect PARAM_URL, if something.

    If I undestood the functionality of the plugin correctly, it all looks and feels as a repository plugin type for Moodle 2.x. Do you
    have any plans regarding the future update of the service towards this?

    It seems that your plugin requires special attention and local code customization to be properly installed. According to our policy,
    such plugins are put into the Other category here in the directory. I hope you would nbe ok with that.

    It is encouraged to follow Moodle’s coding style as outlined in: http://docs.moodle.org/dev/Coding_style and
    http://docs.moodle.org/dev/Coding The code checker plugin can be quite helpful in fine tuning your code and can be found at:
    https://moodle.org/plugins/view.php?plugin=local_codechecker You may wish to consider using that tool to further improve your

    For now, I am going to mark this plugin as needing more work until we get these issues resolved. Thanks for your patience with the
    review and approval process.
  • Picture of Marketplace Team
    Sat, 21 Jun 2014, 10:36 PM
    Hello David,

    Thank you for your review. We fixed all issues. Also we updated plugin's code by checking it with https://moodle.org/plugins/view.php?plugin=local_codechecker . As for HTTP parameter 'url' - this plugin is integration plugin for the 3rd party application (GroupDocs.Viewer for .NET) in to the Moodle project, user should enter URL of his installed GroupDocs.Viewer for .NET that this plugin can load JS libraries from it. All these JS libraries is required for the Viewer block build.

    You can check this pugin in action on our live demo here: http://plugins-qa.groupdocs.dynabic.com:81/my/index.php
    Please use this credentials to access:
    user: moodle
    pass: Test-1234

    Please review this plugin again.

    Best regards
    GroupDocs Marketplace team
  • Picture of David Mudrák
    Fri, 27 Jun 2014, 4:54 PM
    Thanks for providing the link to test the functionality of your block. I must admit I had troubles with it in my environment
    (Linux/Firefox) - the plugin keeps loading the content or does not load at all. Let me suggest to pay more attention to testing the
    functionality on wider range of users' environment.

    The link in your sentence "Detailed plugin installation instructions can be found here." at the page above is invalid.

    Can you please pay attention to validation warnings that display to you: "In your version.php you have specified $plugin->requires =
    2012062500, which corresponds to Moodle 2.3 and will not install on Moodle 2.0 that you chose in the form".

    You have legacy string file forgotten in lang/en_utf8/ that is not valid for Moodle 2.x versions any more.

    As noted above, your plugin requires special post-installation steps (Moodle theme modification). Per our policy, such plugins are
    put into the Other category.

    I was aware of the need for the URL parameter. The point of my note was that there was no validation for its value. This seems to be
    fixed now.

    I am going to approve this plugin now. You are cleared to land, welcome to the Plugins directory!
Please login to post comments