Extension point htmlConversionBlacklistedMimeTypes
Documentation
@since 10.10
Allows to contribute the list of blacklisted mime types for HTML conversion.
By default, contributing a list merges its mime types with the existing ones. To remove a mime type, use enabled=false.
<extension point="htmlConversionBlacklistedMimeTypes" target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent">
<mimeTypes>
<mimeType>application/msword</mimeType>
<mimeType>application/rtf</mimeType>
<mimeType enabled="false">application/pdf</mimeType>
</mimeTypes>
</extension>
To override the whole list, use override="true".
<extension point="htmlConversionBlacklistedMimeTypes" target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent">
<mimeTypes override="true">
<mimeType>application/msword</mimeType>
</mimeTypes>
</extension>
Contribution Descriptors
- Class: org.nuxeo.ecm.diff.content.MimeTypesDescriptor
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="htmlConversionBlacklistedMimeTypes" target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent"> <mimeTypes> <!-- PDF --> <mimeType>application/pdf</mimeType> <!-- Office spreadsheet --> <mimeType>application/vnd.ms-excel</mimeType> <mimeType>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet </mimeType> <mimeType>application/vnd.sun.xml.calc</mimeType> <mimeType>application/vnd.sun.xml.calc.template</mimeType> <mimeType>application/vnd.oasis.opendocument.spreadsheet </mimeType> <mimeType>application/vnd.oasis.opendocument.spreadsheet-template </mimeType> <!-- Office presentation --> <mimeType>application/vnd.ms-powerpoint</mimeType> <mimeType>application/vnd.openxmlformats-officedocument.presentationml.presentation </mimeType> <mimeType>application/vnd.sun.xml.impress</mimeType> <mimeType>application/vnd.sun.xml.impress.template</mimeType> <mimeType>application/vnd.oasis.opendocument.presentation </mimeType> <mimeType>application/vnd.oasis.opendocument.presentation-template </mimeType> </mimeTypes> </extension>