docx icon indicating copy to clipboard operation
docx copied to clipboard

Export to PDF?

Open the-hotmann opened this issue 1 year ago • 3 comments

Hi Ijust wanted to use your library, but noticed, after I replaced the variables/placeholders I can not export it to PDF. If this package does not provide this, is there another package, that is able to do so?

If so, is it possible to to so stateless? As I dont ever want to store the file, just to read and delete it again. So would be cool if you would add the the option to export the DOCX as PDF.

Thanks in advance!

the-hotmann avatar Jul 18 '23 17:07 the-hotmann

I have the same requirement, It'd be great if this feature to convert docx to pdf become open-source. Currently the only option is to use google Docs api

ksuraj112 avatar Dec 21 '23 07:12 ksuraj112

It's something complex and heavy for this tool. I do this with myself. This link may help you. https://gotenberg.dev/docs/routes#html-file-into-pdf-route

hhhcj avatar Mar 04 '24 08:03 hhhcj

you can use libreoffice to convert to pdf like this command libreoffice --headless --convert-to pdf myfile.odt

mbahsomo avatar May 07 '24 03:05 mbahsomo