I am using python-pptx in my workflow as part of my test suite. One option that I would love to see added is the ability to save PowerPoints as PDFs. Currently I have an rough solution where I start a subprocess32 with the command
libreoffice --headless --invisible --convert-to pdf *.pptx
when LibreOffice is available. But from a cursory glance at the source, it appears it may be possible to export the presentation object as a PDF directly. I could use unoconv as well I believe, but it has a much smaller install base than LibreOffice.
I realize this is probably an edge use case, but I figured I would just throw the feature request out there.
I am using
python-pptxin my workflow as part of my test suite. One option that I would love to see added is the ability to save PowerPoints as PDFs. Currently I have an rough solution where I start asubprocess32with the commandlibreoffice --headless --invisible --convert-to pdf *.pptxwhen LibreOffice is available. But from a cursory glance at the source, it appears it may be possible to export the presentation object as a PDF directly. I could use
unoconvas well I believe, but it has a much smaller install base than LibreOffice.I realize this is probably an edge use case, but I figured I would just throw the feature request out there.