Skip to content

[19.0][ADD] dms_libreoffice_preview: server-side LibreOffice→PDF office preview#484

Open
dnplkndll wants to merge 2 commits into
OCA:19.0from
ledoent:19.0-add-dms_libreoffice_preview
Open

[19.0][ADD] dms_libreoffice_preview: server-side LibreOffice→PDF office preview#484
dnplkndll wants to merge 2 commits into
OCA:19.0from
ledoent:19.0-add-dms_libreoffice_preview

Conversation

@dnplkndll

@dnplkndll dnplkndll commented Jun 19, 2026

Copy link
Copy Markdown

Adds in-browser preview of office files (doc/docx/odt/xls/xlsx/ods/ppt/pptx/odp/rtf) in DMS by registering an office-mimetype handler (score 10) into the dms_preview_pane preview registry: the server converts the file to PDF via LibreOffice (cached as an ir.attachment, keyed on write_date, 60s soffice cap). Leaves score 20 free for a future dms_onlyoffice.

Depends on #483 (dms_preview_pane) and #475 (dms), pinned in test-requirements.txt until they land — the Detect unreleased dependencies red is that pin. Requires the libreoffice deb (external_dependencies). Draft for early review.

@OCA-git-bot OCA-git-bot added series:19.0 mod:dms_libreoffice_preview Module dms_libreoffice_preview labels Jun 19, 2026
@dnplkndll dnplkndll force-pushed the 19.0-add-dms_libreoffice_preview branch from 01f2dc8 to b46c7b3 Compare June 19, 2026 20:46
@dnplkndll dnplkndll force-pushed the 19.0-add-dms_libreoffice_preview branch from b46c7b3 to faf9c3e Compare June 19, 2026 21:26
@dnplkndll dnplkndll marked this pull request as ready for review June 19, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:dms_libreoffice_preview Module dms_libreoffice_preview series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants