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.