Excel Previews

Questions, comments, discussions. Over time certain topics might be moved to their own category.
Post Reply
Posts: 15
Joined: Wed Oct 03, 2018 3:54 pm

Excel Previews

Post by FlightdeckRob » Thu Nov 22, 2018 5:03 pm


I'm slowly setting up a production version of Mayan and everything is going pretty smoothly (aside from a few docker errors in the Issues or Errors forum).

I hit my first roadblock just now when I uploaded an Excel 2016 file and instead of showing up like it does in Excel the preview shows each page stretching sideways onto a second page. My 5 page document becomes 10 and users can no longer print directly from Mayan or even use the document directly in Mayan because pages are split strangely and it seems some of the information gets lost.

The other weird thing I noticed is that there's no "Contents" in the document despite having big chunks of standard text all around it.

Anyone know what might be causing these issues? Docker-compose install so it should have libreoffice installed from what I can tell.



User avatar
Posts: 284
Joined: Tue Aug 21, 2018 3:28 am

Re: Excel Previews

Post by rosarior » Sun May 19, 2019 8:30 pm

LibreOffice is included in the Docker image, no need to install it outside. Version 3.2 beta 1 released last week adds better office document rendering, give it a try using an isolated installation to see. We might add additional settings in the future to customize the rendering like orientation for office documents.

However with Microsoft files there is always the problem of standards as their file formats are subsets of standards files and not compatible on purpose. It is part of their commercial strategy and a reason we would never be able to support Microsoft products or files a 100%. Problems rendering Microsoft or proprietary files are not considered bugs or issues and solved on a best-effort basis.

* https://en.wikipedia.org/wiki/Embrace,_ ... extinguish
* "Missing content with Internet Explorer": https://gitlab.com/mayan-edms/mayan-edms/issues/581
* "Remove Internet Explorer specific markup": https://gitlab.com/mayan-edms/mayan-edm ... 3da6ee6911
* https://www.oasis-open.org/committees/t ... rev=office

Post Reply