You can even start a macro of a specific document from a command line:
soffice path/to/test.docx macro://./standard.module1.mymacro
Voir extension : Writer2xhtml
sudo apt-get install libreoffice-l10n-fr hyphen-fr mythes-fr hunspell-fr-classical #myspell-fr