Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-664

Unable to preview RTF files with NEV

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: arender-2.3.2
    • Component/s: ARender

      Description

      NEV does not show a preview for RTF files. The following came from Matt/Arondor team:

      I received this answer from arondor:
      I found a workaround that can tell rendition to use libreoffice for RTFs

      you must have this configuration in the application-security.yml file of the converter:

      mime:
        type:
          msoffice:
            word: application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-word.document.macroEnabled.12,application/vnd.openxmlformats-officedocument.wordprocessingml.template,application/vnd.ms-word.template.macroEnabled.12
            excel: application/msexcel,application/vnd.ms-excel,application/x-ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel.sheet.macroEnabled.12,application/vnd.openxmlformats-officedocument.spreadsheetml.template,application/vnd.ms-excel.template.macroEnabled.12
            powerpoint: application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.ms-powerpoint.presentation.macroEnabled.12,application/vnd.openxmlformats-officedocument.presentationml.template,application/vnd.ms-powerpoint.template.macroEnabled.12
            project: application/vnd.ms-project
            visio: application/visio,application/x-visio,application/vnd.visio,application/vnd.ms-visio,application/visio.drawing,application/vsd,application/x-vsd,image/x-vsd,zz-application/zz-winassoc-vsd
            publisher: application/x-mspublisher,application/vnd.ms-publisher
          libreoffice:
            text: application/vnd.oasis.opendocument.text,text/rtf
            sheet: application/vnd.oasis.opendocument.spreadsheet
            presentation: application/vnd.oasis.opendocument.presentation
            graphics: application/vnd.oasis.opendocument.graphics

       

      I just added txt/rtf in the libreoffice part. Originally it is in the msoffice part

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: