Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
w01fer opened this issue Mar 13, 2019 · 3 comments
Open

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

w01fer opened this issue Mar 13, 2019 · 3 comments

Comments

@w01fer
Copy link

w01fer commented Mar 13, 2019

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

@monperrus
Copy link
Owner

monperrus commented Mar 13, 2019 via email

@w01fer
Copy link
Author

w01fer commented Mar 14, 2019

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

@Nikolasel
Copy link
Contributor

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:https:///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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants