ONLYOFFICE

Install ONLYOFFICE Desktop Editors from Flathub. Microsoft Office OOXML formats (.docx, .xlsx, and .pptx) are the primary interoperability target.

ansible-playbook -i inventory -K playbooks/lab-stack.yml --tags onlyoffice

The onlyoffice role installs the org.onlyoffice.desktopeditors Flatpak. LibreOffice may remain installed alongside ONLYOFFICE; this role does not remove it. The default-applications role associates ONLYOFFICE with Word, Excel, PowerPoint, OpenDocument, RTF, and CSV files.

✅ Check

flatpak info org.onlyoffice.desktopeditors
xdg-mime query default application/vnd.openxmlformats-officedocument.wordprocessingml.document

ONLYOFFICE is preferred because it generally provides higher fidelity with Microsoft Office’s OOXML formats (.docx, .xlsx, .pptx), especially for complex formatting and collaborative document exchange. LibreOffice is more feature-rich in some areas and strongly supports open formats, but conversions to and from Microsoft Office documents are more likely to introduce layout or formatting differences. Both applications may coexist when their different strengths are useful.