ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.77k stars 320 forks source link

Preview of documents or files #1238

Open ghost opened 1 year ago

ghost commented 1 year ago

This issue is unique.

Your idea.

It is necessary to implement the preview of documents or files. both in icons and in the preview pane Captura de pantalla 2023-03-06 101020

and here too, make it possible to preview the documents Captura de pantalla 2023-03-06 102149

examples

5d53ad4b9475c7172 png_e1080

enable-thumbnail-preview-for-Word-excel-powerpoint_thumb thumbnail-preview-for-word-excel-powerpoint-file-explorer-5_thumb

spoorun commented 1 year ago

LibreOffice Openoffice Microsoft Office etc etc all create embedded thumbnails/previews for office files they create. ONLYOFFICE doesn't appear to :(

Tarek-Hasan commented 1 year ago

KDE desktop environment has thumbnails preview for most of the popular file formats to be shown in its file manager, Dolphin. Including .docx, .pptx, .xlsx, .pdf etc. And the libraries are for QT, which the OnlyOffice DesktopEditor uses. So it shouldn't be a problem to use these libraries to generate thumbnail for supported file types of OnlyOffice.

Links to source of the libraries used to generate thumbnails: Includes office file preview - https://invent.kde.org/network/kio-extras/-/tree/master/thumbnail Includes PDF file preview - https://invent.kde.org/graphics/kdegraphics-thumbnailers

Other PDF file preview libraries:

  1. Microsoft PowerToys File Explorer add-ons
  2. SumatraPDF Reader
Tarek-Hasan commented 1 year ago

While EPUB file is associated with OnlyOffice, it doesn't show EPUB icon, instead shows OnlyOffice icon. Also, with file preview enabled (I use other software to enable file preview) PDF & EPUB both doesn't show their file ext icon. EPUB shows nothing and PDF shows OnlyOffice icon.

Screenshot 2023-06-23 091818

LuckySpecialist commented 1 year ago

Hi @spoorun, @Tarek-Hasan According to your request, I have issued Bug 63226 in our internal tracker. Thanks for the feedback.