Andreea Chirica Maybe the following could help: https://extensions.xwiki.org/xwiki/bin/view/Extension/Office%20Macro#HConfiguration
Related: https://forum.xwiki.org/t/office-importer-application-image-issue/6605