monperrus / ExpandAnimations

LibreOffice/OpenOffice.org extension to expand animations before exporting to PDF. Looking for maintainers.
https://github.com/monperrus/ExpandAnimations
GNU Lesser General Public License v3.0
230 stars 30 forks source link

Can thie extension be used in CmdLine with soffice.bin? #26

Open w01fer opened 5 years ago

w01fer commented 5 years ago

Can thie extension be used in CmdLine with soffice.bin?

monperrus commented 5 years ago

I don't know, I've never tried.

w01fer commented 5 years ago

any guiding idea about how to use extensions in command line?

Nikolasel commented 4 years ago

You can install and uninstall the extension with: unopkg add -s dist/ExpandAnimations-$(VERSION).oxt unopkg remove vnd.basicaddonbuilder.expandanimations.

And you can run the extension with the command: libreoffice --headless fileToExpand macro:///ExpandAnimations.ExpandAnimations.Main. Currently, the extension doesn't stop after generating the PDF file and you need to kill it with CTRL-C.

The executable soffice.bin should be similar to the libreoffice executable but I didn't test it.