Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30021

Add support of MS Office Macros and iWork formats for thumbnail generation

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10
    • Component/s: Thumbnail Service

      Description

      Excel and Word macros, as iWork formats (numbers, keynote, etc) are supported by LibreOffice, so they should be added to the definition of the converters anyToThumbnail and any2pdf

      It will also prevent from having warnings in the logs like

      2020-12-30T19:24:32,042 WARN  [ThumbnailDocumentFactory] Cannot compute document thumbnail
      org.nuxeo.ecm.core.convert.api.ConversionException: application/vnd.apple.numbers mime type not supported by anyToThumbnail converter
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:323) ~[nuxeo-core-convert-10.10-HF34.jar:?]
      	at org.nuxeo.ecm.platform.thumbnail.factories.ThumbnailDocumentFactory.computeThumbnail(ThumbnailDocumentFactory.java:92) ~[nuxeo-thumbnail-10.10-HF37.jar:?]
      	at org.nuxeo.ecm.core.api.thumbnail.ThumbnailServiceImpl.computeThumbnail(ThumbnailServiceImpl.java:99) ~[nuxeo-core-api-10.10-HF37.jar:?]
      

       

      Suggested solution: add these lines

            <sourceMimeType>application/vnd.apple.iwork</sourceMimeType>
            <sourceMimeType>application/vnd.apple.pages</sourceMimeType>
            <sourceMimeType>application/vnd.apple.numbers</sourceMimeType>
            <sourceMimeType>application/vnd.apple.keynote</sourceMimeType>
            <sourceMimeType>application/vnd.ms-excel.sheet.macroEnabled.12</sourceMimeType>
            <sourceMimeType>application/vnd.ms-word.document.macroEnabled.12</sourceMimeType>
            <sourceMimeType>application/vnd.ms-powerpoint.presentation.macroEnabled.12</sourceMimeType>
      

      to

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.