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:, should I install OpenOffice in my nextcloud server or not?


Btw, in the docs, said:

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?


would this also work whit the libreoffice Docker Container?
If yes, how can I link the Container to nextcloud
I am on a Synology Diskstation…

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