docx
docx copied to clipboard
Export to PDF?
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!
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
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
you can use libreoffice to convert to pdf
like this command
libreoffice --headless --convert-to pdf myfile.odt