I’m working on a project where the data will be stored in cloud storage, specifically Box. The documents are primarily in Microsoft Office formats like .docx and .pptx. My requirement is to convert these documents to PDF directly on our servers, which are running Linux.
We’ve explored Python libraries such as comtypes and docx2pdf, but these have hard dependencies on Microsoft Office, which is not available on our Linux environment. Additionally, we cannot use any solution that involves sharing the document with other cloud services like OneDrive.
Given these constraints, what are the viable options for converting Microsoft Office documents to PDF on a Linux server? Any help or guidance would be greatly appreciated.