Allow reports preview
Closes #14868
With the proposed development, if a file can be previewed it will be displayed; if not, it will continue with the old behavior and be downloaded. Additionally, instead of showing unreadable text in non-previewable files with the 'document' widget, the text 'No preview' is displayed.
Edited by José Antonio Díaz Miralles
