Online preview of Microsoft Office file without editing?

Hi everyone,

I have a nextcloud 11.0.2 stable installed. And I want my MS Office files(such as xlsx,docx) can be previewed in browser. There is no need for collabora, so I didn’t installed it.

I edited my config.php such as this:

  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\MP3',
6 => 'OC\\Preview\\TXT',
7 => 'OC\\Preview\\PDF',
8 => 'OC\\Preview\\MSOffice2003',
9 => 'OC\\Preview\\MSOffice2007',
10 => 'OC\\Preview\\MSOfficeDoc',
11 => 'OC\\Preview\\OpenDocument',
  ),

But still, my docx/xlsx file can only be downloaded, without preview.

I read this docs:https://docs.nextcloud.com/server/11/admin_manual/configuration_server/config_sample_php_parameters.html#previews, should I install OpenOffice in my nextcloud server or not?

Thanks.

Btw, in the docs https://docs.nextcloud.com/server/11/admin_manual/configuration_server/config_sample_php_parameters.html#previews, said:

Note
Troubleshooting steps for the MS Word previews are available at the …/configuration_files/collaborative_documents_configuration section of the Administrators Manual.

But I can not find this url in v11 docs. Any mistake?

Thanks.

would this also work whit the libreoffice Docker Container?
If yes, how can I link the Container to nextcloud https://hub.docker.com/r/libreoffice/online/
I am on a Synology Diskstation…

So I guess there’s no ability to do this, even on Nextcloud 15?