Answer the question
In order to leave comments, you need to log in
How to convert office documents (doc/docx/xls/xlsx) to pdf in python under ubuntu?
There is a task: it is necessary to translate documents sent by the user (word or excel) into pdf on the server.
Please tell me some python libraries or separate console applications that can be used.
I tried unoconv, but the quality is terrible - formatting gets lost, fonts change.
I would like to get the same quality as when you do 'save as pdf' in Word or when you print to pdf.
Thanks
Answer the question
In order to leave comments, you need to log in
You can look towards a python script that works with a running Libre/Open Office instance: blog.swlogic.eu/2011/06/03/rabota-s-openoffice-lib...
UPD. Ehehe, the method implies the use of the same uno that is used in unoconv, if I understand correctly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question