-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.10
-
Fix Version/s: HOTFIX_10.10
-
Component/s: Thumbnail Service
-
Tags:
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